2005-09-25 05:22:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2005/09/25 09:22:49 espie Exp $
|
2004-01-03 08:40:03 -05:00
|
|
|
|
|
|
|
COMMENT= "java equivalent to make"
|
|
|
|
|
2005-08-09 10:37:58 -04:00
|
|
|
DISTNAME= apache-ant-1.6.5
|
2005-09-25 05:22:49 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-01-03 08:40:03 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://ant.apache.org/
|
|
|
|
|
2005-06-17 15:17:41 -04:00
|
|
|
MAINTAINER= Kurt Miller <kurt@openbsd.org>
|
2004-01-03 08:40:03 -05:00
|
|
|
|
2004-08-10 18:00:36 -04:00
|
|
|
# Apache Software License 2.0 &
|
|
|
|
# W3C Consortium License (August 14 1998)
|
2004-01-03 08:40:03 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/} \
|
|
|
|
http://archive.apache.org/dist/ant/binaries/
|
|
|
|
|
|
|
|
EXTRACT_SUFX= -bin.tar.gz
|
|
|
|
|
2005-06-17 15:17:41 -04:00
|
|
|
MODULES= java
|
|
|
|
MODJAVA_VER= 1.3+
|
|
|
|
|
2004-01-03 08:40:03 -05:00
|
|
|
BUILD_DEPENDS= ::archivers/gtar
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
|
|
|
|
ANTDOCS= ${PREFIX}/share/doc/java/ant
|
2004-08-10 18:00:36 -04:00
|
|
|
TXT= README WHATSNEW LICENSE NOTICE LICENSE.dom LICENSE.sax LICENSE.xerces
|
2004-01-03 08:40:03 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKDIST}/bin; \
|
2005-08-09 10:37:58 -04:00
|
|
|
perl -pi -e 's|_antlibs_|${TRUEPREFIX}/lib/java/ant|;' \
|
|
|
|
ant runant.pl; \
|
2004-01-03 08:40:03 -05:00
|
|
|
${INSTALL_SCRIPT} ant antRun runant.pl ${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA_DIR} ${ANTDOCS}
|
|
|
|
@cp -Rp ${WRKDIST}/docs/* ${ANTDOCS}
|
2005-09-25 05:22:49 -04:00
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${ANTDOCS}
|
2004-01-03 08:40:03 -05:00
|
|
|
@cd ${WRKDIST} && ${INSTALL_DATA} ${TXT} ${ANTDOCS}
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/java/ant
|
|
|
|
@cd ${WRKDIST}/lib && ${INSTALL_DATA} *.jar ${PREFIX}/lib/java/ant
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|