diff options
author | jwise <jwise> | 2000-05-30 16:08:58 +0000 |
---|---|---|
committer | jwise <jwise> | 2000-05-30 16:08:58 +0000 |
commit | df6cad17f952c483f3647bd6cac80b9a24f8234a (patch) | |
tree | 394183aa4dc2e93cc70a3bda7aff5db62f66be5a /textproc/xerces-j | |
parent | 425a9bac969222519f1b4f16027f125083af868d (diff) | |
download | pkgsrc-df6cad17f952c483f3647bd6cac80b9a24f8234a.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...
Diffstat (limited to 'textproc/xerces-j')
-rw-r--r-- | textproc/xerces-j/Makefile | 3 |
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 - ) |