diff options
author | jwise <jwise@pkgsrc.org> | 2000-01-18 01:51:43 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2000-01-18 01:51:43 +0000 |
commit | 68b325afd0fe517d029eb4a61b439e24e7e22b99 (patch) | |
tree | 1f3d11fa5d1505cab0441ed16b308a23bcec21fe /www/jssi | |
parent | 5c4ca0173ae2fbefb162503903714f447516fa23 (diff) | |
download | pkgsrc-68b325afd0fe517d029eb4a61b439e24e7e22b99.tar.gz |
Initial import of jssi-1.1.2. From pkg/DESCR:
Apache JSSI parses JHTML files, executes the servlets as specified by the
<SERVLET> tag and replaces those tags with the output of the executed
servlet. The <SERVLET> tag can be seen as the server side equivalent of
the <APPLET> tag.
Note that SSI files for java servlets are called JHTML files in the
apache context while SHTML files are usually for traditional SSI (like
<!--#ECHO -->). This is a bit confusing since in the Java Web Server
(SUN) context SHTML files are used for java servlet SSI files and
JHTML is used for page compiled pages. Java Apache SSI does not support
page compiling.
Diffstat (limited to 'www/jssi')
-rw-r--r-- | www/jssi/Makefile | 37 | ||||
-rw-r--r-- | www/jssi/files/md5 | 3 | ||||
-rw-r--r-- | www/jssi/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/jssi/pkg/DESCR | 11 | ||||
-rw-r--r-- | www/jssi/pkg/MESSAGE | 16 | ||||
-rw-r--r-- | www/jssi/pkg/PLIST | 10 |
6 files changed, 78 insertions, 0 deletions
diff --git a/www/jssi/Makefile b/www/jssi/Makefile new file mode 100644 index 00000000000..073b76e87f7 --- /dev/null +++ b/www/jssi/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/01/18 01:51:43 jwise Exp $ + +DISTNAME= ApacheJSSI-1.1.2 +PKGNAME= jssi-1.1.2 +CATEGORIES= www +MASTER_SITES= http://java.apache.org/jservssi/dist/ + +MAINTAINER= jwise@netbsd.org +HOMEPAGE= http://java.apache.org/ + +# yes, this needs _exactly_ version 2.0 +DEPENDS+= jsdk-2.0:../../www/jsdk20 + +.include "../../mk/bsd.prefs.mk" + +USE_JAVA= +USE_GMAKE= +NO_CONFIGURE= +NO_MTREE= +MAKE_ENV+= CLASSPATH=${CLASSPATH}:${JSDK_HOME}/lib/jsdk.jar +WRKSRC= ${WRKDIR}/ApacheJSSI-1.1.2/src/java +MESSAGE= ${WRKDIR}/MESSAGE + +post-build: + ${SED} -e 's,@JSDK_HOME@,${JSDK_HOME},g' \ + < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE + +do-install: + ${INSTALL_DATA} ${WRKSRC}/ApacheJSSI.jar ${JSDK_HOME}/lib + ${MKDIR} ${JSDK_HOME}/doc/jssi + (cd ${WRKSRC}/../../docs ; ${GTAR} pcf - .) | \ + (cd ${JSDK_HOME}/doc/jssi ; ${GTAR} pxvf -) + +.include "../../mk/bsd.pkg.mk" +JSDK_HOME= ${JAVA_HOME}/jsdk +BUILD_DEFS+= JSDK_HOME +PREFIX:= ${JSDK_HOME} diff --git a/www/jssi/files/md5 b/www/jssi/files/md5 new file mode 100644 index 00000000000..b52c1c5c812 --- /dev/null +++ b/www/jssi/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/01/18 01:51:43 jwise Exp $ + +MD5 (ApacheJSSI-1.1.2.tar.gz) = f6624d4dc6485391ea53b61046878c81 diff --git a/www/jssi/pkg/COMMENT b/www/jssi/pkg/COMMENT new file mode 100644 index 00000000000..731b60222f4 --- /dev/null +++ b/www/jssi/pkg/COMMENT @@ -0,0 +1 @@ +Java Server-Side Include engine implemented as a JSDK-2.0 servlet. diff --git a/www/jssi/pkg/DESCR b/www/jssi/pkg/DESCR new file mode 100644 index 00000000000..ece8776438d --- /dev/null +++ b/www/jssi/pkg/DESCR @@ -0,0 +1,11 @@ +Apache JSSI parses JHTML files, executes the servlets as specified by the +<SERVLET> tag and replaces those tags with the output of the executed +servlet. The <SERVLET> tag can be seen as the server side equivalent of +the <APPLET> tag. + +Note that SSI files for java servlets are called JHTML files in the +apache context while SHTML files are usually for traditional SSI (like +<!--#ECHO -->). This is a bit confusing since in the Java Web Server +(SUN) context SHTML files are used for java servlet SSI files and +JHTML is used for page compiled pages. Java Apache SSI does not support +page compiling. diff --git a/www/jssi/pkg/MESSAGE b/www/jssi/pkg/MESSAGE new file mode 100644 index 00000000000..b225321f512 --- /dev/null +++ b/www/jssi/pkg/MESSAGE @@ -0,0 +1,16 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 2000/01/18 01:51:44 jwise Exp $ + +To install Apache-JSSI for use with Apache Server's mod_jserv (from the +ap-jserv package), add the following line to your httpd.conf: + + ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI + +and the following line to your zone.properties: + + repositories=@JSDK_HOME@/lib/ApacheJSSI.jar + +To use Apache-JSSI with others servlet engines, see the appropriate +documentation. + +============================================================================= diff --git a/www/jssi/pkg/PLIST b/www/jssi/pkg/PLIST new file mode 100644 index 00000000000..eb6617c7793 --- /dev/null +++ b/www/jssi/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/18 01:51:44 jwise Exp $ +doc/jssi/generate_javadoc +doc/jssi/images/java-apache-project.gif +doc/jssi/index.html +doc/jssi/install.html +doc/jssi/parameterprop.html +doc/jssi/traditionalssi.html +@dirrm doc/jssi/images +@dirrm doc/jssi +lib/ApacheJSSI.jar |