pkgsrc/devel/apache-ant/Makefile
recht 02a2b8253c update to apache-ant-1.6.2
Ant 1.6.2 fixes a large number of bugs and adds a number of features which
were asked for by users on Bugzilla.

Important changes (for a complete list see the included WHATSNEW document):

Changes that could break older environments:
--------------------------------------------

* The import task used the canonical version of a file path. This
  has been changed to use the absolute path. Bugzilla 28505.

* ant-xalan2.jar has been removed since the only class contained in it
  didn't depend on Xalan-J 2 at all.  Its sole dependency has always
  been TraX and so it has been merged into ant-trax.jar.

* All exceptions thrown by tasks are now wrapped in a buildexception
  giving the location in the buildfile of the task.

* Nested elements for namespaced tasks and types may belong to the
  Ant default namespace as well as the task's or type's namespace.

* <junitreport> will very likely no longer work with Xalan-J 1.

  Note that Xalan-J 1 has been deprecated for a very long time and we
  highly recommend that you upgrade.

  If you really need to continue using Xalan-J 1, please copy the
  junit-frames-xalan1.xsl from the distribution's etc directory as
  junit-frames.xsl into a new directory and use the task's styledir
  attribute to point to.  This is the last version of the XSLT
  stylesheet that is expected to be compatible with Xalan-J 1.
2004-08-04 08:49:09 +00:00

48 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2004/08/04 08:49:09 recht Exp $
#
# NOTE: if you are depending on ant from another package, please be aware that
# the ant team has CHANGED the version numbering scheme. A previous version
# of ant was 3.1. Do NOT use dependency patterns such as >=1.3 which could pick
# up this version by mistake.
DISTNAME= apache-ant-1.6.2
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/}
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://ant.apache.org/
COMMENT= "Apache Project's Java-Based make(1) replacement"
DEPENDS+= crimson>=1.1.3:../../textproc/crimson
# Up to version 1.5.1 inclusive this was known as "jakarta-ant".
CONFLICTS= jakarta-ant*
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_BUILDLINK3= # defined
USE_JAVA= run
USE_JAVA2= yes
EXTRACT_CMD_OPTS.zip= -Caq
do-build:
${SED} -e 's,@PREFIX@,${PREFIX},g' \
-e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g' \
< ${FILESDIR}/ant > ${WRKDIR}/ant
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/ant ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
${INSTALL_DATA_DIR} ${PREFIX}/lib/java/ant
${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${PREFIX}/lib/java/ant
${INSTALL_DATA} ${WRKSRC}/lib/ant-nodeps.jar ${PREFIX}/lib/java/ant
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/ant
cd ${WRKSRC}/docs && ${PAX} -rw -pmp * ${PREFIX}/share/doc/java/ant
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/java/ant
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/java/ant
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"