diff options
author | znerd <znerd@FreeBSD.org> | 2003-09-25 09:40:14 +0000 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2003-09-25 09:40:14 +0000 |
commit | 1b6d9b5321c88ec936618ac083258fdfe5719ceb (patch) | |
tree | ba39d2651d8318f9a52bfe4f95749e2622180e38 /devel/apache-ant | |
parent | 9446d03ca1ab9b5d808d0f65dfa1245698dd2967 (diff) | |
download | FreeBSD-ports-1b6d9b5321c88ec936618ac083258fdfe5719ceb.zip FreeBSD-ports-1b6d9b5321c88ec936618ac083258fdfe5719ceb.tar.gz |
Now installs man page for Ant.
Bumped PORTREVISION.
PR: 44335
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
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 4620366..0e1221e 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 98f2cda..c832dca 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 |