summaryrefslogtreecommitdiff
path: root/www/jsdk20/Makefile
diff options
context:
space:
mode:
authorjwise <jwise>2000-05-09 20:12:46 +0000
committerjwise <jwise>2000-05-09 20:12:46 +0000
commite3eccd7ac41fe41d0dca2b21bb1b60e764971b56 (patch)
tree9a5a55097480d7226b95e7fc8464ce4d698ae299 /www/jsdk20/Makefile
parent1149f52f2370d3ac58c3fb7b0e1ce99982971be5 (diff)
downloadpkgsrc-e3eccd7ac41fe41d0dca2b21bb1b60e764971b56.tar.gz
Adapt this to the new java package world order.
While here, don't install the whole jsdk20 environment, as this is an older version, and is generally useful only in order to get the jsdk20 jar file for building jserv. This means we no longer install the bin/servletrunner test harness, and we no longer install the jsdk source. Users interested in these would be better off looking at the current jsdk (pkgsrc/www/jakarta-tomcat), or jsdk2.1, which does not currently have a package, but is at least rather less obsolete... jserv will be adapted to use the new paths for this in a separate commit, in a few minutes.
Diffstat (limited to 'www/jsdk20/Makefile')
-rw-r--r--www/jsdk20/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/jsdk20/Makefile b/www/jsdk20/Makefile
index 4a75355508c..aa368c957af 100644
--- a/www/jsdk20/Makefile
+++ b/www/jsdk20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/01/14 20:51:12 jwise Exp $
+# $NetBSD: Makefile,v 1.4 2000/05/09 20:12:46 jwise Exp $
# STOP! Don't update this to a later version of this software.
# The JSDK and Apache Jakarta projects have merged, making the
# jakarta-tomcat package the current version of this software.
@@ -28,8 +28,6 @@ MIRROR_DISTFILE=no
.include "../../mk/bsd.prefs.mk"
-JSDK_HOME?= ${JAVA_HOME}/jsdk
-
do-fetch:
@if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${ECHO_MSG} "==============================================================="; \
@@ -41,10 +39,12 @@ do-fetch:
fi
do-install:
- ${MKDIR} ${JSDK_HOME}
- cd ${WRKSRC} ; ${GTAR} pcf - . | ( cd ${JSDK_HOME} ; ${GTAR} pvxf - )
+ ${MKDIR} ${PREFIX}/lib/java
+ ${INSTALL_DATA} -c -m 644 ${WRKSRC}/lib/jsdk.jar ${PREFIX}/lib/java
+ ${MKDIR} ${PREFIX}/share/doc/java/jsdk20
+ cd ${WRKSRC}/doc ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/java/jsdk20 ; ${GTAR} pvxf - )
+ ${INSTALL_DATA} -c -m 644 ${WRKSRC}/README ${PREFIX}/share/doc/java/jsdk20
+ ${MKDIR} ${PREFIX}/share/examples/java/jsdk20
+ cd ${WRKSRC}/examples ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/examples/java/jsdk20 ; ${GTAR} pvxf - )
.include "../../mk/bsd.pkg.mk"
-
-# This needs to be after bsd.pkg.mk
-PREFIX:= ${JSDK_HOME}