aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-10-27 20:46:38 +0800
committerhq <hq@FreeBSD.org>2005-10-27 20:46:38 +0800
commit2b8ab6f4fdf9c548dd94d82823007fe4e841b34d (patch)
tree14f2f0fd938717f23cdc03f35dbea0eea9aec6e8
parentd9b7d6d30af65c47ab47df539c2402c032f7e6fd (diff)
downloadfreebsd-ports-gnome-2b8ab6f4fdf9c548dd94d82823007fe4e841b34d.tar.gz
freebsd-ports-gnome-2b8ab6f4fdf9c548dd94d82823007fe4e841b34d.tar.zst
freebsd-ports-gnome-2b8ab6f4fdf9c548dd94d82823007fe4e841b34d.zip
Update to 2.0 final release
BTW, the main executable has been renamed: 'm2' -> 'mvn'
-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