aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2006-04-04 16:08:47 +0800
committerhq <hq@FreeBSD.org>2006-04-04 16:08:47 +0800
commit527291e16b36b74c175c04690f58dbd2842d72c0 (patch)
treefbd2552b0a799b08ee445e24c34f577dc59feb5d /devel
parentf33911b01b221952a23148a23e455ee5fc7e215f (diff)
downloadfreebsd-ports-gnome-527291e16b36b74c175c04690f58dbd2842d72c0.tar.gz
freebsd-ports-gnome-527291e16b36b74c175c04690f58dbd2842d72c0.tar.zst
freebsd-ports-gnome-527291e16b36b74c175c04690f58dbd2842d72c0.zip
- Transfer maintainership
- Automatically set MAVEN_HOME [1] PR: 95174 Submitted by: Jean-Baptiste Quenot <jbq@caraldi.com> (new maintainer) [1] Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/maven/Makefile7
-rw-r--r--devel/maven/files/patch-maven-home10
-rw-r--r--devel/maven/pkg-message4
3 files changed, 16 insertions, 5 deletions
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