Update to 2.0 final release
BTW, the main executable has been renamed: 'm2' -> 'mvn'
This commit is contained in:
parent
361dfaccdd
commit
76ac703e0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146476
2 changed files with 8 additions and 7 deletions
|
@ -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 | \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue