2009-01-19 01:38:17 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 2009/01/19 00:38:17 christos Exp $
|
2001-03-18 23:57:08 +01:00
|
|
|
#
|
2000-07-03 05:50:11 +02:00
|
|
|
|
2009-01-19 01:38:17 +01:00
|
|
|
DISTNAME= apache-ant-1.7.1
|
|
|
|
#PKGREVISION= 1
|
2003-08-23 17:09:51 +02:00
|
|
|
CATEGORIES= devel java
|
2004-03-29 19:28:33 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/}
|
2003-09-07 11:17:28 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-03-29 19:28:33 +02:00
|
|
|
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
|
2000-07-03 05:50:11 +02:00
|
|
|
|
2005-09-04 00:59:25 +02:00
|
|
|
MAINTAINER= tonio@NetBSD.org
|
2003-03-22 03:18:39 +01:00
|
|
|
HOMEPAGE= http://ant.apache.org/
|
2007-02-15 15:20:54 +01:00
|
|
|
COMMENT= Apache Project's Java-Based make(1) replacement
|
2000-07-03 05:50:11 +02:00
|
|
|
|
2003-06-03 19:00:08 +02:00
|
|
|
# Up to version 1.5.1 inclusive this was known as "jakarta-ant".
|
2007-02-15 15:20:54 +01:00
|
|
|
CONFLICTS= jakarta-ant>=0
|
2003-06-03 19:00:08 +02:00
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-04-16 17:54:15 +02:00
|
|
|
USE_JAVA= run
|
|
|
|
USE_JAVA2= yes
|
2008-05-25 23:42:20 +02:00
|
|
|
USE_TOOLS+= pax
|
2005-09-04 00:59:25 +02:00
|
|
|
NO_BUILD= yes
|
2002-10-18 22:58:31 +02:00
|
|
|
|
2007-02-15 15:20:54 +01:00
|
|
|
SUBST_CLASSES+= ant
|
|
|
|
SUBST_FILES.ant= bin/ant
|
|
|
|
SUBST_STAGE.ant= pre-configure
|
|
|
|
SUBST_SED.ant= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
|
|
|
|
SUBST_SED.ant+= -e 's,@PREFIX@,${PREFIX},g'
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin lib/java/ant share/doc/java/ant
|
2000-07-03 05:50:11 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/ant ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${DESTDIR}${PREFIX}/lib/java/ant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/ant-*.jar ${DESTDIR}${PREFIX}/lib/java/ant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/xercesImpl.jar ${DESTDIR}${PREFIX}/lib/java/ant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/xml-apis.jar ${DESTDIR}${PREFIX}/lib/java/ant
|
|
|
|
cd ${WRKSRC}/docs && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/java/ant
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/java/ant
|
2000-07-03 05:50:11 +02:00
|
|
|
|
2002-12-26 21:52:09 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2000-07-03 05:50:11 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|