summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2000-05-30 16:08:58 +0000
committerjwise <jwise@pkgsrc.org>2000-05-30 16:08:58 +0000
commit21e9d02184b52ae16fb6eca0f6c2cbf187a55016 (patch)
tree394183aa4dc2e93cc70a3bda7aff5db62f66be5a
parentf2a61838b652afafa2b2295b784827c668b074d8 (diff)
downloadpkgsrc-21e9d02184b52ae16fb6eca0f6c2cbf187a55016.tar.gz
Be sure that ${PREFIX}/lib/java exists before installing into it, as this
might be the first java library package the user installs. Should lib/java be in NetBSD.pkg.dist? I'm leaning toward `no', as ISTM that java users are a relatively small subset of pkgsrc users, given the current platform limitations of java on NetBSD, but I'm open to suggestions...
-rw-r--r--textproc/xerces-j/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
index 7266a16ff3f..90dcf3ca961 100644
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/05/28 23:24:03 jwise Exp $
+# $NetBSD: Makefile,v 1.3 2000/05/30 16:08:58 jwise 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
@@ -21,6 +21,7 @@ USE_JAVA= yes
WRKSRC= ${WRKDIR}/xerces-1_1_0
do-install:
+ ${MKDIR} ${PREFIX}/lib/java
${INSTALL} -c ${WRKSRC}/xerces.jar ${PREFIX}/lib/java
${MKDIR} ${PREFIX}/share/doc/java/xerces
cd ${WRKSRC}/docs ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/java/xerces ; ${GTAR} pvxf - )