Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 13:40:28 -0700 (PDT)
From:      Rui Lopes <rui@ruilopes.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/58339: New port: devel/maven for http://maven.apache.org/
Message-ID:  <200310212040.h9LKeS3H042712@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/58339; it has been noted by GNATS.

From: Rui Lopes <rui@ruilopes.com>
To: freebsd-gnats-submit@FreeBSD.org, rui@ruilopes.com
Cc:  
Subject: Re: ports/58339: New port: devel/maven for http://maven.apache.org/
Date: Tue, 21 Oct 2003 21:36:47 +0100

 --=-CKdNTxF5U/sd9LAzr9xO
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 Please use this Makefile instead.  This one sets the correct owners and
 permissions of the installed files.  Thx Marcus!
 
 --=-CKdNTxF5U/sd9LAzr9xO
 Content-Disposition: attachment; filename=Makefile
 Content-Type: text/x-makefile; name=Makefile; charset=
 Content-Transfer-Encoding: 7bit
 
 # New ports collection makefile for:	maven
 # Date created:				17 October 2003
 # Whom:					Rui Lopes <rui@ruilopes.com>
 #
 # $FreeBSD$
 #
 
 PORTNAME=	maven
 PORTVERSION=	1.0.r1
 CATEGORIES=	devel java
 MASTER_SITES=	http://nagoya.apache.org/mirror/%SUBDIR%/binaries/
 MASTER_SITE_SUBDIR=	${PORTNAME}
 DISTNAME=	${PORTNAME}-1.0-rc1
 
 MAINTAINER=	rui@ruilopes.com
 COMMENT=	Java project management and project comprehension tool
 
 USE_JAVA=	1.3+
 NO_BUILD=	YES
 DIR=		share/java/maven
 PLIST_SUB=	DIR=${DIR}
 
 do-install:
 	@cd ${WRKSRC} && ${FIND} . \! -name '*.bat' \! -name repository \
 	           | cpio -pdu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${DIR}
 	${CHMOD} -R ${LIBMODE} ${PREFIX}/${DIR}
 	${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/${DIR}/bin
 	${CHMOD} -R ${BINMODE} ${PREFIX}/${DIR}/bin
 	${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${DIR}/bin/*.conf
 	${CHMOD} ${SHAREMODE} ${PREFIX}/${DIR}/bin/*.conf
 	${FIND} ${PREFIX}/${DIR} -type d | ${XARGS} ${CHMOD} +rx
 	${LN} -fs ${PREFIX}/${DIR}/bin/maven ${PREFIX}/bin
 	@${CAT} ${PKGDIR}/pkg-message
 
 # This target is only meant to be used by the port maintainer.
 x-generate-plist:
 	(/usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist ${PREFIX}|sed -E 's,^share/nls/.+$$,,g;s,${DIR},%%DIR%%,g'|tr -s '\n') > temp-pkg-plist
 
 .include <bsd.port.mk>
 
 --=-CKdNTxF5U/sd9LAzr9xO--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310212040.h9LKeS3H042712>