From 527291e16b36b74c175c04690f58dbd2842d72c0 Mon Sep 17 00:00:00 2001 From: hq Date: Tue, 4 Apr 2006 08:08:47 +0000 Subject: - Transfer maintainership - Automatically set MAVEN_HOME [1] PR: 95174 Submitted by: Jean-Baptiste Quenot (new maintainer) [1] Approved by: maintainer --- devel/maven/Makefile | 7 +++++-- devel/maven/files/patch-maven-home | 10 ++++++++++ devel/maven/pkg-message | 4 +--- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 devel/maven/files/patch-maven-home (limited to 'devel/maven') diff --git a/devel/maven/Makefile b/devel/maven/Makefile index 9fb39a451e85..49c7d0e6e9f8 100644 --- a/devel/maven/Makefile +++ b/devel/maven/Makefile @@ -11,7 +11,7 @@ CATEGORIES= devel java 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 @@ JAVA_VERSION= 1.3+ 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 --git a/devel/maven/files/patch-maven-home b/devel/maven/files/patch-maven-home new file mode 100644 index 000000000000..d57e7cdbcd9e --- /dev/null +++ b/devel/maven/files/patch-maven-home @@ -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 --git a/devel/maven/pkg-message b/devel/maven/pkg-message index e14ae92463c8..6fc376fecdd4 100644 --- a/devel/maven/pkg-message +++ b/devel/maven/pkg-message @@ -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 -- cgit on value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Use the new MASTER_SITES macromat2008-03-311-2/+1
* - Update to 0.15miwi2008-03-212-4/+4
* - Update to 0.14miwi2007-12-122-4/+4
* Update to 0.13mat2007-03-132-4/+4
* - Update to 0.12miwi2007-03-042-14/+8
* - update to 0.11leeym2006-11-042-6/+5
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-6/+6
* - Add SHA256pav2005-11-261-0/+1
* search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-221-1/+1
* Update to 0.10.tobez2005-05-242-3/+3
* Update to 0.09mat2005-03-093-3/+4
* Update to 0.08. Require 5.6 or 5.8, since one of its dependencies doestobez2005-03-032-8/+6
* Update to 0.07mat2005-01-082-3/+12