2001-02-17 18:31:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2001/02/17 17:37:57 wiz Exp $
|
2000-05-27 00:51:40 +02:00
|
|
|
#
|
|
|
|
# Note: we currently use the pre-built (-bin) distribution of Xerces-J,
|
|
|
|
# because although Xerces runs fine under JDK 1.1, JDK 1.2 or greater is
|
|
|
|
# required to build it.
|
|
|
|
|
2000-10-20 01:01:29 +02:00
|
|
|
DISTNAME= Xerces-J-bin.1.2.0
|
|
|
|
PKGNAME= xerces-j-1.2.0
|
2000-05-27 00:51:40 +02:00
|
|
|
CATEGORIES= textproc www
|
|
|
|
MASTER_SITES= http://xml.apache.org/dist/xerces-j/
|
|
|
|
|
|
|
|
MAINTAINER= jwise@netbsd.org
|
|
|
|
HOMEPAGE= http://xml.apache.org/xerces-j/
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= the Apache Project's validating XML parser with DOM and SAX support
|
2000-05-27 00:51:40 +02:00
|
|
|
|
|
|
|
NO_PATCH=
|
|
|
|
NO_CONFIGURE=
|
|
|
|
NO_BUILD=
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
|
2000-10-20 01:01:29 +02:00
|
|
|
WRKSRC= ${WRKDIR}/xerces-1_2_0
|
2000-05-27 00:51:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2000-05-30 18:08:58 +02:00
|
|
|
${MKDIR} ${PREFIX}/lib/java
|
2000-05-30 22:38:07 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xerces.jar ${PREFIX}/lib/java
|
2000-05-27 00:51:40 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/java/xerces
|
|
|
|
cd ${WRKSRC}/docs ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/java/xerces ; ${GTAR} pvxf - )
|
2000-06-22 16:28:51 +02:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/java/xerces
|
2000-05-27 00:51:40 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/java/xerces
|
2000-05-30 22:38:07 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xercesSamples.jar ${PREFIX}/share/examples/java/xerces
|
2000-05-27 00:51:40 +02:00
|
|
|
cd ${WRKSRC}/data ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/examples/java/xerces ; ${GTAR} pvxf - )
|
2000-06-22 16:28:51 +02:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/java/xerces
|
2000-05-27 00:51:40 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|