diff options
author | jwise <jwise> | 2000-05-09 20:12:46 +0000 |
---|---|---|
committer | jwise <jwise> | 2000-05-09 20:12:46 +0000 |
commit | 2535cdbcfeaeb325adb78004144d81115ab02fdd (patch) | |
tree | 9a5a55097480d7226b95e7fc8464ce4d698ae299 /www | |
parent | e061070ebd644cbdd3c1ecbf522fa1a3b69973dd (diff) | |
download | pkgsrc-2535cdbcfeaeb325adb78004144d81115ab02fdd.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')
-rw-r--r-- | www/jsdk20/Makefile | 16 | ||||
-rw-r--r-- | www/jsdk20/pkg/PLIST | 173 |
2 files changed, 80 insertions, 109 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} diff --git a/www/jsdk20/pkg/PLIST b/www/jsdk20/pkg/PLIST index 2f9a1a0c22b..5438d936749 100644 --- a/www/jsdk20/pkg/PLIST +++ b/www/jsdk20/pkg/PLIST @@ -1,101 +1,72 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/14 17:20:19 jwise Exp $ -README -src/javax/servlet/Servlet.java -src/javax/servlet/ServletConfig.java -src/javax/servlet/ServletContext.java -src/javax/servlet/ServletException.java -src/javax/servlet/ServletInputStream.java -src/javax/servlet/ServletOutputStream.java -src/javax/servlet/ServletRequest.java -src/javax/servlet/ServletResponse.java -src/javax/servlet/UnavailableException.java -src/javax/servlet/SingleThreadModel.java -src/javax/servlet/GenericServlet.java -src/javax/servlet/http/HttpUtils.java -src/javax/servlet/http/HttpServlet.java -src/javax/servlet/http/HttpServletRequest.java -src/javax/servlet/http/HttpServletResponse.java -src/javax/servlet/http/HttpSession.java -src/javax/servlet/http/HttpSessionBindingEvent.java -src/javax/servlet/http/HttpSessionBindingListener.java -src/javax/servlet/http/HttpSessionContext.java -src/javax/servlet/http/Cookie.java -doc/servlet_tutorial.html -doc/images/banner.gif -doc/images/survey-reply.gif -doc/apidoc/packages.html -doc/apidoc/Package-javax.servlet.html -doc/apidoc/javax.servlet.Servlet.html -doc/apidoc/javax.servlet.ServletConfig.html -doc/apidoc/javax.servlet.ServletContext.html -doc/apidoc/javax.servlet.ServletRequest.html -doc/apidoc/javax.servlet.ServletResponse.html -doc/apidoc/javax.servlet.SingleThreadModel.html -doc/apidoc/javax.servlet.GenericServlet.html -doc/apidoc/javax.servlet.ServletInputStream.html -doc/apidoc/javax.servlet.ServletOutputStream.html -doc/apidoc/AllNames.html -doc/apidoc/javax.servlet.ServletException.html -doc/apidoc/javax.servlet.UnavailableException.html -doc/apidoc/Package-javax.servlet.http.html -doc/apidoc/javax.servlet.http.HttpServletRequest.html -doc/apidoc/javax.servlet.http.HttpServletResponse.html -doc/apidoc/javax.servlet.http.HttpSession.html -doc/apidoc/javax.servlet.http.HttpSessionBindingListener.html -doc/apidoc/javax.servlet.http.HttpSessionContext.html -doc/apidoc/javax.servlet.http.Cookie.html -doc/apidoc/javax.servlet.http.HttpServlet.html -doc/apidoc/tree.html -doc/apidoc/images/java.awt/GridBagEx.gif -doc/apidoc/images/OpenBookIcon.gif -doc/apidoc/images/class-index.gif -doc/apidoc/images/blue-ball.gif -doc/apidoc/images/blue-ball-small.gif -doc/apidoc/images/constructors.gif -doc/apidoc/images/cyan-ball-small.gif -doc/apidoc/images/constructor-index.gif -doc/apidoc/images/cyan-ball.gif -doc/apidoc/images/interface-index.gif -doc/apidoc/images/green-ball.gif -doc/apidoc/images/exception-index.gif -doc/apidoc/images/magenta-ball.gif -doc/apidoc/images/green-ball-small.gif -doc/apidoc/images/methods.gif -doc/apidoc/images/magenta-ball-small.gif -doc/apidoc/images/red-ball.gif -doc/apidoc/images/method-index.gif -doc/apidoc/images/package-index.gif -doc/apidoc/images/red-ball-small.gif -doc/apidoc/images/variables.gif -doc/apidoc/images/yellow-ball.gif -doc/apidoc/images/variable-index.gif -doc/apidoc/images/error-index.gif -doc/apidoc/images/yellow-ball-small.gif -doc/apidoc/javax.servlet.http.HttpSessionBindingEvent.html -doc/apidoc/javax.servlet.http.HttpUtils.html -examples/JdcSurvey.html -examples/servlet.properties -examples/SessionServlet.java -examples/SimpleServlet.java -examples/SnoopServlet.java -examples/SurveyServlet.java -examples/SessionServlet.class -examples/SimpleServlet.class -examples/SnoopServlet.class -examples/SurveyServlet.class -bin/servletrunner -lib/jsdk.jar -@dirrm src/javax/servlet/http -@dirrm src/javax/servlet -@dirrm src/javax -@dirrm src -@dirrm doc/images -@dirrm doc/apidoc/images/java.awt -@dirrm doc/apidoc/images -@dirrm doc/apidoc -@dirrm doc -@dirrm examples -@dirrm bin -@dirrm lib -@comment leave this as it is, as dirrm doesn't do %D substitution -@unexec rmdir %D +@comment $NetBSD: PLIST,v 1.2 2000/05/09 20:12:46 jwise Exp $ +share/doc/java/jsdk20/README +share/doc/java/jsdk20/servlet_tutorial.html +share/doc/java/jsdk20/images/banner.gif +share/doc/java/jsdk20/images/survey-reply.gif +share/doc/java/jsdk20/apidoc/packages.html +share/doc/java/jsdk20/apidoc/Package-javax.servlet.html +share/doc/java/jsdk20/apidoc/javax.servlet.Servlet.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletConfig.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletContext.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletRequest.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletResponse.html +share/doc/java/jsdk20/apidoc/javax.servlet.SingleThreadModel.html +share/doc/java/jsdk20/apidoc/javax.servlet.GenericServlet.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletInputStream.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletOutputStream.html +share/doc/java/jsdk20/apidoc/AllNames.html +share/doc/java/jsdk20/apidoc/javax.servlet.ServletException.html +share/doc/java/jsdk20/apidoc/javax.servlet.UnavailableException.html +share/doc/java/jsdk20/apidoc/Package-javax.servlet.http.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpServletRequest.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpServletResponse.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpSession.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpSessionBindingListener.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpSessionContext.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.Cookie.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpServlet.html +share/doc/java/jsdk20/apidoc/tree.html +share/doc/java/jsdk20/apidoc/images/java.awt/GridBagEx.gif +share/doc/java/jsdk20/apidoc/images/OpenBookIcon.gif +share/doc/java/jsdk20/apidoc/images/class-index.gif +share/doc/java/jsdk20/apidoc/images/blue-ball.gif +share/doc/java/jsdk20/apidoc/images/blue-ball-small.gif +share/doc/java/jsdk20/apidoc/images/constructors.gif +share/doc/java/jsdk20/apidoc/images/cyan-ball-small.gif +share/doc/java/jsdk20/apidoc/images/constructor-index.gif +share/doc/java/jsdk20/apidoc/images/cyan-ball.gif +share/doc/java/jsdk20/apidoc/images/interface-index.gif +share/doc/java/jsdk20/apidoc/images/green-ball.gif +share/doc/java/jsdk20/apidoc/images/exception-index.gif +share/doc/java/jsdk20/apidoc/images/magenta-ball.gif +share/doc/java/jsdk20/apidoc/images/green-ball-small.gif +share/doc/java/jsdk20/apidoc/images/methods.gif +share/doc/java/jsdk20/apidoc/images/magenta-ball-small.gif +share/doc/java/jsdk20/apidoc/images/red-ball.gif +share/doc/java/jsdk20/apidoc/images/method-index.gif +share/doc/java/jsdk20/apidoc/images/package-index.gif +share/doc/java/jsdk20/apidoc/images/red-ball-small.gif +share/doc/java/jsdk20/apidoc/images/variables.gif +share/doc/java/jsdk20/apidoc/images/yellow-ball.gif +share/doc/java/jsdk20/apidoc/images/variable-index.gif +share/doc/java/jsdk20/apidoc/images/error-index.gif +share/doc/java/jsdk20/apidoc/images/yellow-ball-small.gif +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpSessionBindingEvent.html +share/doc/java/jsdk20/apidoc/javax.servlet.http.HttpUtils.html +share/examples/java/jsdk20/JdcSurvey.html +share/examples/java/jsdk20/servlet.properties +share/examples/java/jsdk20/SessionServlet.java +share/examples/java/jsdk20/SimpleServlet.java +share/examples/java/jsdk20/SnoopServlet.java +share/examples/java/jsdk20/SurveyServlet.java +share/examples/java/jsdk20/SessionServlet.class +share/examples/java/jsdk20/SimpleServlet.class +share/examples/java/jsdk20/SnoopServlet.class +share/examples/java/jsdk20/SurveyServlet.class +lib/java/jsdk.jar +@dirrm share/doc/java/jsdk20/images +@dirrm share/doc/java/jsdk20/apidoc/images/java.awt +@dirrm share/doc/java/jsdk20/apidoc/images +@dirrm share/doc/java/jsdk20/apidoc +@dirrm share/doc/java/jsdk20 +@dirrm share/examples/java/jsdk20 |