summaryrefslogtreecommitdiff
path: root/textproc/xerces-j
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-18 21:36:53 +0000
committerjlam <jlam@pkgsrc.org>2002-10-18 21:36:53 +0000
commit1d0f03cd4454f7ded36bee148c5c0726fc0b3737 (patch)
tree97859b97e5ce7ff66fdb23d39cd9cf35a3255fce /textproc/xerces-j
parentbaebf7f3d4b9d2de52f39721c1168cdd0b6de057 (diff)
downloadpkgsrc-1d0f03cd4454f7ded36bee148c5c0726fc0b3737.tar.gz
Trivially use buildlink2 and use java.mk.
Diffstat (limited to 'textproc/xerces-j')
-rw-r--r--textproc/xerces-j/Makefile7
-rw-r--r--textproc/xerces-j/PLIST3
2 files changed, 6 insertions, 4 deletions
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
index 887f7492613..6c1b627bf72 100644
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/07/29 22:23:28 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2002/10/18 21:36:53 jlam Exp $
#
# 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
@@ -13,12 +13,12 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://xml.apache.org/xerces-j/
COMMENT= the Apache Project's validating XML parser with DOM and SAX support
+USE_JAVA= run
+USE_BUILDLINK2=
NO_PATCH=
NO_CONFIGURE=
NO_BUILD=
-USE_JAVA= run
-
WRKSRC= ${WRKDIR}/xerces-1_2_0
do-install:
@@ -30,4 +30,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/xercesSamples.jar ${PREFIX}/share/examples/java/xerces
cd ${WRKSRC}/data && ${PAX} -rwpp . ${PREFIX}/share/examples/java/xerces
+.include "../../mk/java.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/xerces-j/PLIST b/textproc/xerces-j/PLIST
index d87e1edb258..33b04d89024 100644
--- a/textproc/xerces-j/PLIST
+++ b/textproc/xerces-j/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:18 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/10/18 21:36:53 jlam Exp $
lib/java/xerces.jar
share/doc/java/xerces/apiDocs/allclasses-frame.html
share/doc/java/xerces/apiDocs/deprecated-list.html
@@ -570,3 +570,4 @@ share/examples/java/xerces/xercesSamples.jar
@dirrm share/doc/java/xerces/apiDocs/index-files
@dirrm share/doc/java/xerces/apiDocs
@dirrm share/doc/java/xerces
+@unexec ${RMDIR} %D/lib/java 2>/dev/null || ${TRUE}