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 05:19:56 +02:00
|
|
|
# New ports collection makefile for: jakarta-ant
|
|
|
|
# Date created: 21 February 2001
|
2001-11-27 16:02:29 +01: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 05:19:56 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jakarta-ant
|
2001-10-24 17:01:07 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2002-04-13 13:35:48 +02: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 05:19:56 +02:00
|
|
|
CATEGORIES= devel java
|
2001-10-24 17:01:07 +02:00
|
|
|
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/ \
|
2001-11-27 16:02:29 +01:00
|
|
|
http://www.metaverse.nl/~ernst/
|
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 05:19:56 +02:00
|
|
|
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME}-optional.jar
|
|
|
|
DIST_SUBDIR= jakarta
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}-bin${EXTRACT_SUFX}
|
|
|
|
|
2001-11-27 16:02:29 +01:00
|
|
|
MAINTAINER= 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 05:19:56 +02:00
|
|
|
|
2002-04-13 13:35:48 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/java/classes/crimson.jar:${PORTSDIR}/textproc/crimson
|
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 05:19:56 +02:00
|
|
|
|
2002-04-13 13:35:48 +02:00
|
|
|
USE_JAVA= 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 05:19:56 +02:00
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
ANT_SUBDIR= ${DISTNAME}
|
|
|
|
PORTDESTDIR= ${PREFIX}/share/java/${ANT_SUBDIR}
|
2001-09-13 13:33:10 +02:00
|
|
|
PLIST_SUB+= T=${PORTDESTDIR:S/^${PREFIX}\///}
|
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 05:19:56 +02:00
|
|
|
|
2001-09-13 13:33:10 +02: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 05:19:56 +02:00
|
|
|
SCRIPTS= bin/ant bin/antRun bin/runant.pl
|
|
|
|
|
|
|
|
DATADIRS= lib
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
DATADIRS+= docs
|
|
|
|
.endif
|
|
|
|
|
2001-08-26 07:37:03 +02:00
|
|
|
post-patch:
|
2002-04-13 13:35:48 +02:00
|
|
|
@${ECHO_CMD} -n ">> Customizing ant shell script..."
|
|
|
|
@${SED} \
|
|
|
|
-e "/%%JAVA%%/s//${JAVA:S/\//\\\//g}/g" \
|
|
|
|
-e "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/g" \
|
|
|
|
${WRKSRC}/bin/ant > ${WRKDIR}/ant
|
|
|
|
@${MV} ${WRKDIR}/ant ${WRKSRC}/bin/ant
|
|
|
|
@${ECHO_CMD} " [ DONE ]"
|
|
|
|
|
|
|
|
@${ECHO_CMD} -n ">> Removing unneeded files..."
|
|
|
|
@${RM} -f ${WRKSRC}/lib/parser.jar
|
|
|
|
@${ECHO_CMD} " [ DONE ]"
|
2001-08-26 07:37:03 +02: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 05:19:56 +02:00
|
|
|
do-install:
|
2002-04-13 13:35:48 +02:00
|
|
|
@${ECHO_CMD} -n ">> Creating destination directory..."
|
|
|
|
@${MKDIR} ${PORTDESTDIR}/bin ${PORTDESTDIR}/lib
|
|
|
|
@${ECHO_CMD} " [ DONE ]"
|
|
|
|
|
|
|
|
@${ECHO_CMD} -n ">> Installing scripts..."
|
|
|
|
@cd ${INSTALL_WRKSRC}; \
|
|
|
|
${INSTALL_SCRIPT} ${SCRIPTS} ${PORTDESTDIR}/bin;
|
|
|
|
@${LN} -sf ${PORTDESTDIR}/bin/ant ${PREFIX}/bin
|
|
|
|
@${ECHO_CMD} " [ DONE ]"
|
|
|
|
|
|
|
|
@${ECHO_CMD} -n ">> Installing readme files..."
|
|
|
|
@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 05:19:56 +02:00
|
|
|
${INSTALL_DATA} ${READMES} ${PORTDESTDIR};
|
2002-04-13 13:35:48 +02:00
|
|
|
@${ECHO_CMD} " [ 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 05:19:56 +02:00
|
|
|
.if defined(DATADIRS)
|
|
|
|
.for DIR in ${DATADIRS}
|
2002-04-13 13:35:48 +02:00
|
|
|
@${ECHO_CMD} -n ">> Installing data directory '${DIR}'..."
|
|
|
|
@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 05:19:56 +02:00
|
|
|
${FIND} ${DIR} -type d -exec ${MKDIR} ${PORTDESTDIR}/\{} \; ;\
|
|
|
|
${FIND} ${DIR} -type f -exec ${INSTALL_DATA} \{} ${PORTDESTDIR}/\{} \;
|
2002-04-13 13:35:48 +02:00
|
|
|
@${ECHO_CMD} " [ 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 05:19:56 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
2002-04-13 13:35:48 +02:00
|
|
|
|
|
|
|
@${ECHO_CMD} -n ">> Installing additional JAR files..."
|
|
|
|
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar
|
|
|
|
@${LN} -sf ${LOCALBASE}/share/java/classes/jaxp.jar ${PORTDESTDIR}/lib
|
|
|
|
@${LN} -sf ${LOCALBASE}/share/java/classes/crimson.jar ${PORTDESTDIR}/lib
|
|
|
|
@${ECHO_CMD} " [ 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 05:19:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|