diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2003-09-25 09:40:14 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2003-09-25 09:40:14 +0000 |
commit | 221073a0ff9a7ddcd234b6aa4c154113adb234b5 (patch) | |
tree | 52b540df7163807e1cb0805457f0094a13959454 /devel/apache-ant | |
parent | 33c4cbf874fd63bd9bf8a462378f83eb69d4c491 (diff) | |
download | ports-221073a0ff9a7ddcd234b6aa4c154113adb234b5.tar.gz ports-221073a0ff9a7ddcd234b6aa4c154113adb234b5.zip |
Notes
Diffstat (limited to 'devel/apache-ant')
-rw-r--r-- | devel/apache-ant/Makefile | 33 | ||||
-rw-r--r-- | devel/apache-ant/distinfo | 1 |
2 files changed, 29 insertions, 5 deletions
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile index 4620366ea9aa..0e1221eaf30d 100644 --- a/devel/apache-ant/Makefile +++ b/devel/apache-ant/Makefile @@ -7,16 +7,23 @@ PORTNAME= apache-ant PORTVERSION= 1.5.4 +PORTREVISION= 1 CATEGORIES= devel java -MASTER_SITES= http://apache.mirror.trueserver.nl/dist/ant/binaries/ \ - http://apache.proserve.nl/dist/ant/binaries/ \ - http://apache.cs.uu.nl/dist/ant/binaries/ \ - http://dist.apache.easynet.nl/ant/binaries/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-bin +MASTER_SITES= http://apache.mirror.trueserver.nl/dist/ant/binaries/:bin \ + http://apache.proserve.nl/dist/ant/binaries/:bin \ + http://apache.cs.uu.nl/dist/ant/binaries/:bin \ + http://dist.apache.easynet.nl/ant/binaries/:bin \ + http://www.esil.univ-mrs.fr/~hquiroz/:man +DISTFILES= ${ANT_DISTFILE}:bin \ + ${MANPAGE_DISTFILE}:man MAINTAINER= znerd@FreeBSD.org COMMENT= Java- and XML-based build tool, conceptually similar to make +ANT_DISTFILE= ${PORTNAME}-${PORTVERSION}-bin.tar.bz2 +MANPAGE_DISTFILE= ${PORTNAME}-manpage-${MANPAGE_VERSION}.tgz +MANPAGE_VERSION= 20030908 +EXTRACT_ONLY= ${ANT_DISTFILE} USE_BZIP2= yes USE_JAVA= 1.2+ @@ -32,6 +39,12 @@ DATADIRS+= docs .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +MANPAGE_SUBDIR= apache-ant-manpage +MANPAGE_WRKSRC= ${WRKSRC}/${MANPAGE_SUBDIR} + +MAN1= ant.1 +MAN5= build.xml.5 + do-patch: @${CP} ${FILESDIR}/ant ${WRKSRC}/bin/ant @@ -50,6 +63,9 @@ post-patch: @${RM} -f ${WRKSRC}/lib/parser.jar @${ECHO_CMD} " [ DONE ]" +post-extract: + @${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${MANPAGE_DISTFILE} + do-install: @${ECHO_CMD} -n ">> Creating destination directory..." @${MKDIR} ${PORTDESTDIR}/bin @@ -67,6 +83,13 @@ do-install: ${INSTALL_DATA} ${READMES} ${PORTDESTDIR}; @${ECHO_CMD} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_CMD} ">> Installing manpages..." + @${INSTALL_MAN} ${MANPAGE_WRKSRC}/ant.1 ${PREFIX}/man/man1 + @${INSTALL_MAN} ${MANPAGE_WRKSRC}/build.xml.5 ${PREFIX}/man/man5 + @${ECHO_CMD} " [ DONE ]" +.endif + .if defined(DATADIRS) .for DIR in ${DATADIRS} @${ECHO_CMD} -n ">> Installing data directory '${DIR}'..." diff --git a/devel/apache-ant/distinfo b/devel/apache-ant/distinfo index 98f2cdacd713..c832dca619bf 100644 --- a/devel/apache-ant/distinfo +++ b/devel/apache-ant/distinfo @@ -1 +1,2 @@ MD5 (apache-ant-1.5.4-bin.tar.bz2) = 119e50005233700adee54bfe9e997710 +MD5 (apache-ant-manpage-20030908.tgz) = 1fe1fdab6cce4def62005d67d929a9c9 |