2013-09-20 19:03:26 +02:00
|
|
|
# Created by: Ernst de Haan <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$
|
|
|
|
|
2003-03-31 14:09:18 +02:00
|
|
|
PORTNAME= apache-ant
|
2018-03-07 15:00:28 +01:00
|
|
|
DISTVERSION= 1.10.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
|
2015-05-11 20:34:57 +02:00
|
|
|
MASTER_SITES= APACHE/ant/binaries/:bin \
|
2010-11-29 17:09:33 +01:00
|
|
|
LOCAL/hq:man
|
2003-09-25 11:40:14 +02:00
|
|
|
DISTFILES= ${ANT_DISTFILE}:bin \
|
|
|
|
${MANPAGE_DISTFILE}:man
|
2004-04-03 13:30:54 +02: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 05:19:56 +02:00
|
|
|
|
2004-12-03 17:25:39 +01:00
|
|
|
MAINTAINER= java@FreeBSD.org
|
2003-03-31 14:09:18 +02: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 05:19:56 +02:00
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2010-11-29 17:09:33 +01:00
|
|
|
|
2014-01-08 21:39:22 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2018-03-07 15:00:28 +01:00
|
|
|
ANT_DISTFILE= ${PORTNAME}-${DISTVERSION}-bin.tar.bz2
|
2003-09-25 11:40:14 +02:00
|
|
|
MANPAGE_DISTFILE= ${PORTNAME}-manpage-${MANPAGE_VERSION}.tgz
|
|
|
|
MANPAGE_VERSION= 20030908
|
2014-04-04 21:42:32 +02:00
|
|
|
USES= tar:bzip2
|
2005-10-23 14:07:52 +02:00
|
|
|
USE_JAVA= yes
|
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
|
|
|
|
2016-08-24 08:04:30 +02:00
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
2006-09-06 23:52:18 +02:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
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
|
|
|
|
2014-01-08 21:39:22 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2018-03-07 15:00:28 +01:00
|
|
|
DISTFILES+= ${PORTNAME}-${DISTVERSION}-manual.tar.bz2:doc
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES+= APACHE/ant/manual/:doc
|
2010-11-29 17:09:33 +01:00
|
|
|
PORTDOCS= *
|
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
|
|
|
.endif
|
2006-09-06 23:52:18 +02:00
|
|
|
|
2003-09-25 11:40:14 +02:00
|
|
|
MANPAGE_SUBDIR= apache-ant-manpage
|
|
|
|
MANPAGE_WRKSRC= ${WRKSRC}/${MANPAGE_SUBDIR}
|
|
|
|
|
2005-10-10 16:38:42 +02:00
|
|
|
SUB_FILES= ant.sh
|
2001-08-26 07:37:03 +02:00
|
|
|
|
2003-09-25 11:40:14 +02: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 05:19:56 +02:00
|
|
|
do-install:
|
2005-10-10 16:38:42 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing scripts..."
|
2014-01-08 21:39:22 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/ant.sh ${STAGEDIR}${PREFIX}/bin/ant
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${STAGEDIR}${DATADIR}/bin/
|
2005-10-10 16:38:42 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-04-13 13:35:48 +02:00
|
|
|
|
2006-09-06 23:52:18 +02:00
|
|
|
.for d in etc lib
|
|
|
|
@${ECHO_MSG} -n ">> Installing data directory '${d}'..."
|
2014-01-08 21:39:22 +01:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}/
|
2005-10-10 16:38:42 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2006-09-06 23:52:18 +02:00
|
|
|
.endfor
|
2002-04-13 13:35:48 +02:00
|
|
|
|
2005-10-10 16:38:42 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing manpages..."
|
2014-01-08 21:39:22 +01:00
|
|
|
@${INSTALL_MAN} ${MANPAGE_WRKSRC}/ant.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
@${INSTALL_MAN} ${MANPAGE_WRKSRC}/build.xml.5 ${STAGEDIR}${PREFIX}/man/man5
|
2005-10-10 16:38:42 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2003-09-25 11:40:14 +02:00
|
|
|
|
2014-01-08 21:39:22 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-09-06 23:52:18 +02:00
|
|
|
|
|
|
|
@${ECHO_MSG} -n ">> Installing readme files..."
|
2014-01-08 21:39:22 +01:00
|
|
|
@${INSTALL_DATA} ${READMES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2006-09-06 23:52:18 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
|
|
|
|
@${ECHO_MSG} -n ">> Installing documentation files..."
|
2014-01-08 21:39:22 +01:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR}/
|
2005-10-10 16:38:42 +02: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 05:19:56 +02:00
|
|
|
.endif
|
2002-04-13 13:35:48 +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
|
|
|
.include <bsd.port.mk>
|