aboutsummaryrefslogtreecommitdiff
path: root/devel/maven2
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-10-27 12:46:38 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-10-27 12:46:38 +0000
commit76ac703e0a4ab033844997239a70688e6bb39618 (patch)
tree763e3dd8faaab7e454ea656796a86edef96418cb /devel/maven2
parent361dfaccdd1f72e4f97bc3003fc6f8094eaeea5a (diff)
downloadports-76ac703e0a4ab033844997239a70688e6bb39618.tar.gz
ports-76ac703e0a4ab033844997239a70688e6bb39618.zip
Notes
Diffstat (limited to 'devel/maven2')
-rw-r--r--devel/maven2/Makefile11
-rw-r--r--devel/maven2/distinfo4
2 files changed, 8 insertions, 7 deletions
diff --git a/devel/maven2/Makefile b/devel/maven2/Makefile
index 12e2290b46fc..0e3b04117574 100644
--- a/devel/maven2/Makefile
+++ b/devel/maven2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= maven2
-DISTVERSION= 2.0-beta-3
+DISTVERSION= 2.0
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= maven/binaries
@@ -28,12 +28,13 @@ post-extract:
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
- cd ${WRKSRC} && ${FIND} . -type f -not -name "m2" -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
- ${INSTALL_SCRIPT} ${WRKDIR}/m2.sh ${DATADIR}/bin/m2
- ${LN} -fs ${DATADIR}/bin/m2 ${PREFIX}/bin/m2
+ cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+ ${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${DATADIR}/bin/
+ ${INSTALL_SCRIPT} ${WRKDIR}/m2.sh ${DATADIR}/bin/mvn
+ ${LN} -fs ${DATADIR}/bin/mvn ${PREFIX}/bin/mvn
post-install:
- @${ECHO_CMD} 'bin/m2' >> ${TMPPLIST}
+ @${ECHO_CMD} 'bin/mvn' >> ${TMPPLIST}
@${FIND} -s ${WRKSRC} -not -type d 2>/dev/null | \
${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -s -d ${WRKSRC} -type d 2>/dev/null | \
diff --git a/devel/maven2/distinfo b/devel/maven2/distinfo
index 4c6e36415789..b709a6d34af1 100644
--- a/devel/maven2/distinfo
+++ b/devel/maven2/distinfo
@@ -1,2 +1,2 @@
-MD5 (maven-2.0-beta-3-bin.tar.gz) = 46815b7bcbc43c4cb77e42338ea3a3b2
-SIZE (maven-2.0-beta-3-bin.tar.gz) = 1123317
+MD5 (maven-2.0-bin.tar.gz) = ec2c06ddb7191ac809ce274a02e4b9b2
+SIZE (maven-2.0-bin.tar.gz) = 1167211