2003-03-31 12:09:18 +00:00
|
|
|
# New ports collection makefile for: apache-ant
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
# Date created: 21 February 2001
|
2001-11-27 15:02:29 +00:00
|
|
|
# Whom: znerd@FreeBSD.org
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-03-31 12:09:18 +00:00
|
|
|
PORTNAME= apache-ant
|
2005-07-11 01:31:20 +00:00
|
|
|
PORTVERSION= 1.6.5
|
2005-10-10 14:38:42 +00:00
|
|
|
PORTREVISION= 1
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
CATEGORIES= devel java
|
2004-07-26 18:43:30 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:bin,} \
|
2005-10-11 16:36:30 +00:00
|
|
|
${MASTER_SITE_LOCAL:S,%SUBDIR%/,hq/:man,} \
|
2003-09-25 09:40:14 +00:00
|
|
|
http://www.esil.univ-mrs.fr/~hquiroz/:man
|
|
|
|
DISTFILES= ${ANT_DISTFILE}:bin \
|
|
|
|
${MANPAGE_DISTFILE}:man
|
2004-04-03 11:30:54 +00:00
|
|
|
EXTRACT_ONLY= ${ANT_DISTFILE}
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
2004-12-03 16:25:39 +00:00
|
|
|
MAINTAINER= java@FreeBSD.org
|
2003-03-31 12:09:18 +00:00
|
|
|
COMMENT= Java- and XML-based build tool, conceptually similar to make
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
2004-04-03 11:30:54 +00:00
|
|
|
RUN_DEPENDS= classpath:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
2003-09-25 09:40:14 +00:00
|
|
|
ANT_DISTFILE= ${PORTNAME}-${PORTVERSION}-bin.tar.bz2
|
|
|
|
MANPAGE_DISTFILE= ${PORTNAME}-manpage-${MANPAGE_VERSION}.tgz
|
|
|
|
MANPAGE_VERSION= 20030908
|
2003-03-31 12:09:18 +00:00
|
|
|
USE_BZIP2= yes
|
2005-10-23 12:07:52 +00:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
|
|
|
NO_BUILD= YES
|
2003-04-16 06:42:16 +00:00
|
|
|
PORTDESTDIR= ${PREFIX}/ant
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
2001-09-13 11:33:10 +00:00
|
|
|
READMES= LICENSE README WHATSNEW
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
2003-11-20 00:24:02 +00:00
|
|
|
DATADIRS= lib etc
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
DATADIRS+= docs
|
|
|
|
.endif
|
2003-08-14 13:12:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
|
2003-09-25 09:40:14 +00:00
|
|
|
MANPAGE_SUBDIR= apache-ant-manpage
|
|
|
|
MANPAGE_WRKSRC= ${WRKSRC}/${MANPAGE_SUBDIR}
|
|
|
|
|
|
|
|
MAN1= ant.1
|
|
|
|
MAN5= build.xml.5
|
|
|
|
|
2005-10-10 14:38:42 +00:00
|
|
|
SUB_FILES= ant.sh
|
|
|
|
SUB_LIST= ANT_HOME=${PORTDESTDIR}
|
2001-08-26 05:37:03 +00:00
|
|
|
|
2003-09-25 09:40:14 +00:00
|
|
|
post-extract:
|
|
|
|
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${MANPAGE_DISTFILE}
|
|
|
|
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
do-install:
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} -n ">> Creating destination directory..."
|
2003-02-28 08:48:13 +00:00
|
|
|
@${MKDIR} ${PORTDESTDIR}/bin
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-04-13 11:35:48 +00:00
|
|
|
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing scripts..."
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/ant.sh ${PREFIX}/bin/ant
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PORTDESTDIR}/bin/
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-04-13 11:35:48 +00:00
|
|
|
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing readme files..."
|
|
|
|
@${INSTALL_DATA} ${READMES:S|^|${WRKSRC}/|} ${PORTDESTDIR}
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-04-13 11:35:48 +00:00
|
|
|
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing manpages..."
|
|
|
|
@${INSTALL_MAN} ${MANPAGE_WRKSRC}/ant.1 ${MAN1PREFIX}/man/man1
|
|
|
|
@${INSTALL_MAN} ${MANPAGE_WRKSRC}/build.xml.5 ${MAN5PREFIX}/man/man5
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2003-09-25 09:40:14 +00:00
|
|
|
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
.if defined(DATADIRS)
|
|
|
|
.for DIR in ${DATADIRS}
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing data directory '${DIR}'..."
|
2002-04-13 11:35:48 +00:00
|
|
|
@cd ${INSTALL_WRKSRC}; \
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
${FIND} ${DIR} -type d -exec ${MKDIR} ${PORTDESTDIR}/\{} \; ;\
|
|
|
|
${FIND} ${DIR} -type f -exec ${INSTALL_DATA} \{} ${PORTDESTDIR}/\{} \;
|
2005-10-10 14:38:42 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
2002-04-13 11:35:48 +00:00
|
|
|
|
Add Ant-1.3, a Java based build tool, from Jakarta Project.
Among four submissions, this commit based on the port sent by
Ernst de Haan <ernst@jollem.com> at ports/24291.
PR: 21435, 23368, 24291
Submitted by: Leo Kim <leo@florida.sarang.net>,
Dave Glowacki <dglo@ssec.wisc.edu>,
Sean Blakey <sean@beastie.bellevue.virtualtek.com>,
Ernst de Haan <ernst@jollem.com>
Also thanks to: Palle Girgensohn <girgen@partitur.se>,
Richard Stockley <rws@procopia.demon.co.uk>,
Kees Jan Koster <kjkoster@kjkoster.org>
2001-04-03 03:19:56 +00:00
|
|
|
.include <bsd.port.mk>
|