Date: Sat, 1 Apr 2006 00:03:27 +0100 (WEST) From: Rui Lopes <rgl@ruilopes.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jbq@caraldi.com Subject: ports/95174: Update port: devel/maven transfer maintainer Message-ID: <20060331230327.6264045024@firebird.clustercube.com> Resent-Message-ID: <200603312310.k2VNAIJt085676@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95174 >Category: ports >Synopsis: Update port: devel/maven transfer maintainer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 31 23:10:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rui Lopes >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: >Environment: >Description: * Transfer maintainer to Jean-Baptiste Quenot <jbq@caraldi.com> * Automatically set MAVEN_HOME (patch from Jean-Baptiste Quenot) >How-To-Repeat: >Fix: --- 20060401-freebsd-maven-home begins here --- diff -ruN /usr/ports/devel/maven/Makefile ./Makefile --- /usr/ports/devel/maven/Makefile Fri Feb 25 00:02:09 2005 +++ ./Makefile Sat Apr 1 00:31:53 2006 @@ -11,7 +11,7 @@ MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= ${PORTNAME}/binaries -MAINTAINER= rui@ruilopes.com +MAINTAINER= jbq@caraldi.com COMMENT= Java project management and project comprehension tool USE_BZIP2= yes @@ -20,9 +20,12 @@ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message +SUBSTITUTIONS= -e 's,%%DATADIR%%,${DATADIR},g' +REINPLACE_FILES= ${WRKSRC}/bin/maven post-configure: - @${SED} -e 's,%%DATADIR%%,${DATADIR},g' pkg-message > ${PKGMESSAGE} + @${SED} ${SUBSTITUTIONS} pkg-message > ${PKGMESSAGE} + @${REINPLACE_CMD} ${SUBSTITUTIONS} ${REINPLACE_FILES} BINFILES= install_repo.sh maven DIRECTORIES= lib lib/endorsed plugins diff -ruN /usr/ports/devel/maven/files/patch-maven-home ./files/patch-maven-home --- /usr/ports/devel/maven/files/patch-maven-home Thu Jan 1 01:00:00 1970 +++ ./files/patch-maven-home Sat Apr 1 00:08:17 2006 @@ -0,0 +1,10 @@ +--- bin/maven.orig Tue Dec 7 12:13:46 2004 ++++ bin/maven Sat Apr 1 00:07:23 2006 +@@ -19,6 +19,7 @@ + # reserved. + + FOREHEAD_VERSION=1.0-beta-5 ++MAVEN_HOME=%%DATADIR%% + + if [ -z "$MAVEN_OPTS" ] ; then + MAVEN_OPTS="-Xmx256m" diff -ruN /usr/ports/devel/maven/pkg-message ./pkg-message --- /usr/ports/devel/maven/pkg-message Sun Aug 8 01:46:37 2004 +++ ./pkg-message Sat Apr 1 00:27:36 2006 @@ -1,9 +1,7 @@ -To work with Maven you need to set the following environment variables: +To work with Maven you need to set the following environment variable: * JAVA_HOME Set it to the base directory of your java installation. - * MAVEN_HOME - Set it to ``%%DATADIR%%''. Then, you should initialize your repository with: %%DATADIR%%/bin/install_repo.sh ~/.maven/repository --- 20060401-freebsd-maven-home ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060331230327.6264045024>