summaryrefslogtreecommitdiff
path: root/java/cos
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-31 20:22:09 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-31 20:22:09 +0000
commite97508857b0f8aa010eab3147eefdb6a9ca4d0cd (patch)
treed592d0d89f8d37c8b5b8312ab88263e187844907 /java/cos
parentUpdate to version 1.07.1. (diff)
Adding cos version 1.0.
The O'Reilly package of utility classes for servelt developers. PR: 12522 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Notes
Notes: svn path=/head/; revision=24315
Diffstat (limited to 'java/cos')
-rw-r--r--java/cos/Makefile33
-rw-r--r--java/cos/distinfo1
-rw-r--r--java/cos/pkg-comment1
-rw-r--r--java/cos/pkg-descr12
-rw-r--r--java/cos/pkg-plist49
5 files changed, 96 insertions, 0 deletions
diff --git a/java/cos/Makefile b/java/cos/Makefile
new file mode 100644
index 000000000000..a0eea94ed954
--- /dev/null
+++ b/java/cos/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: cos
+# Version required: 1.0
+# Date created: 1999/07/05
+# Whom: Jose Marques <noway@nohow.demon.co.uk>
+#
+# $FreeBSD$
+#
+
+DISTNAME= cos
+PKGNAME= cos-1.0
+CATEGORIES= java
+MASTER_SITES= http://www.servlets.com/resources/com.oreilly.servlet/
+
+MAINTAINER= noway@nohow.demon.co.uk
+
+RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
+ ${PREFIX}/bin/servletrunner:${PORTSDIR}/java/jsdk
+
+USE_ZIP= yes
+WRKSRC= ${WRKDIR}
+JDK_VERSION= 1.1.8
+NO_BUILD= yes
+RESTRICTED= "Special conditions apply for commercial use, see licence"
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/cos
+ @${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${PREFIX}/share/java/classes
+ @cd ${WRKSRC}; \
+ ${CP} readme.html ${PREFIX}/share/java/cos; \
+ ${CP} license.html ${PREFIX}/share/java/cos; \
+ ${CP} -R doc ${PREFIX}/share/java/cos
+
+.include <bsd.port.mk>
diff --git a/java/cos/distinfo b/java/cos/distinfo
new file mode 100644
index 000000000000..d65220c00f01
--- /dev/null
+++ b/java/cos/distinfo
@@ -0,0 +1 @@
+MD5 (cos.zip) = f5fbdeaa618bb2ba1e02ffa33fbbe462
diff --git a/java/cos/pkg-comment b/java/cos/pkg-comment
new file mode 100644
index 000000000000..6481dadf0fb2
--- /dev/null
+++ b/java/cos/pkg-comment
@@ -0,0 +1 @@
+The O'Reilly package of utility classes for servlet developers
diff --git a/java/cos/pkg-descr b/java/cos/pkg-descr
new file mode 100644
index 000000000000..6a2751627bc6
--- /dev/null
+++ b/java/cos/pkg-descr
@@ -0,0 +1,12 @@
+The com.oreilly.servlet package contains a set of useful utility classes
+for servlet developers. Included are classes to help servlets parse
+parameters, handle multipart requests (file uploads), generate multipart
+responses (server push), negotiate locales for internationalization,
+return files, manage socket connections, and act as RMI servers, among
+other things. There's even a class to help applets communicate with
+servlets. The package was developed by Jason Hunter for his book "Java
+Servlet Programming" published by O'Reilly. See:
+
+WWW: http://www.servlets.com/resources/com.oreilly.servlet/index.html
+
+For more details.
diff --git a/java/cos/pkg-plist b/java/cos/pkg-plist
new file mode 100644
index 000000000000..d43fd514dc50
--- /dev/null
+++ b/java/cos/pkg-plist
@@ -0,0 +1,49 @@
+share/java/classes/cos.jar
+share/java/cos/readme.html
+share/java/cos/license.html
+share/java/cos/doc/AllNames.html
+share/java/cos/doc/Package-com.oreilly.servlet.html
+share/java/cos/doc/com.oreilly.servlet.CacheHttpServlet.html
+share/java/cos/doc/com.oreilly.servlet.CacheHttpServletResponse.html
+share/java/cos/doc/com.oreilly.servlet.CacheServletOutputStream.html
+share/java/cos/doc/com.oreilly.servlet.DaemonHttpServlet.html
+share/java/cos/doc/com.oreilly.servlet.HttpMessage.html
+share/java/cos/doc/com.oreilly.servlet.LocaleNegotiator.html
+share/java/cos/doc/com.oreilly.servlet.LocaleToCharsetMap.html
+share/java/cos/doc/com.oreilly.servlet.MultipartRequest.html
+share/java/cos/doc/com.oreilly.servlet.MultipartResponse.html
+share/java/cos/doc/com.oreilly.servlet.ParameterNotFoundException.html
+share/java/cos/doc/com.oreilly.servlet.ParameterParser.html
+share/java/cos/doc/com.oreilly.servlet.RemoteDaemonHttpServlet.html
+share/java/cos/doc/com.oreilly.servlet.RemoteHttpServlet.html
+share/java/cos/doc/com.oreilly.servlet.ServletUtils.html
+share/java/cos/doc/images/blue-ball-small.gif
+share/java/cos/doc/images/blue-ball.gif
+share/java/cos/doc/images/class-index.gif
+share/java/cos/doc/images/constructor-index.gif
+share/java/cos/doc/images/constructors.gif
+share/java/cos/doc/images/cyan-ball-small.gif
+share/java/cos/doc/images/cyan-ball.gif
+share/java/cos/doc/images/error-index.gif
+share/java/cos/doc/images/exception-index.gif
+share/java/cos/doc/images/green-ball-small.gif
+share/java/cos/doc/images/green-ball.gif
+share/java/cos/doc/images/interface-index.gif
+share/java/cos/doc/images/magenta-ball-small.gif
+share/java/cos/doc/images/magenta-ball.gif
+share/java/cos/doc/images/method-index.gif
+share/java/cos/doc/images/methods.gif
+share/java/cos/doc/images/package-index.gif
+share/java/cos/doc/images/red-ball-small.gif
+share/java/cos/doc/images/red-ball.gif
+share/java/cos/doc/images/variable-index.gif
+share/java/cos/doc/images/variables.gif
+share/java/cos/doc/images/yellow-ball-small.gif
+share/java/cos/doc/images/yellow-ball.gif
+share/java/cos/doc/packages.html
+share/java/cos/doc/tree.html
+@dirrm share/java/cos/doc/images
+@dirrm share/java/cos/doc
+@dirrm share/java/cos
+@unexec rmdir %D/share/java/classes > /dev/null 2>&1 || true
+@unexec rmdir %D/share/java > /dev/null 2>&1 || true