2006-02-06 15:09:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2006/02/06 14:09:22 tonio Exp $
|
2002-04-13 22:58:53 +02:00
|
|
|
#
|
|
|
|
# We use the binary distribution of crimson because otherwise we
|
2003-06-03 19:02:44 +02:00
|
|
|
# have a bootstrap-loop between apache-ant and crimson, each of which
|
2002-04-13 22:58:53 +02:00
|
|
|
# uses the other.
|
|
|
|
|
2006-02-06 15:09:22 +01:00
|
|
|
DISTNAME= crimson-1.1.3-bin
|
|
|
|
PKGNAME= ${DISTNAME:S/-bin//}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2002-04-13 22:58:53 +02:00
|
|
|
CATEGORIES= textproc www
|
|
|
|
MASTER_SITES= http://xml.apache.org/dist/crimson/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jwise@NetBSD.org
|
2002-04-13 22:58:53 +02:00
|
|
|
HOMEPAGE= http://xml.apache.org/crimson/
|
|
|
|
COMMENT= Apache.org implementation of JAXP, SAX, and DOM
|
|
|
|
|
2004-03-30 20:32:32 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2002-07-30 00:23:25 +02:00
|
|
|
USE_JAVA= run
|
2004-07-07 13:39:30 +02:00
|
|
|
USE_JAVA2= yes
|
2005-09-28 22:52:18 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
2002-04-13 22:58:53 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/crimson.jar ${PREFIX}/lib/java
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/crimson
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC}/docs && ${PAX} -rw -pp * ${PREFIX}/share/doc/java/crimson
|
2002-04-13 22:58:53 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/crimson
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC}/examples && ${PAX} -rw -pp * ${PREFIX}/share/examples/java/crimson
|
2002-04-13 22:58:53 +02:00
|
|
|
|
2002-12-26 21:52:09 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2002-04-13 22:58:53 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|