aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-01 04:22:09 +0800
committersteve <steve@FreeBSD.org>2000-01-01 04:22:09 +0800
commit24bcb421a144ccbeddd36a1b54ca2c99cdc1d5c6 (patch)
treedcd74fe7e462ce1c0ac6f2783011d5ebf2d98e92
parenta185ff01bb9e599f4b324e0f6817091a1ecea29c (diff)
downloadfreebsd-ports-gnome-24bcb421a144ccbeddd36a1b54ca2c99cdc1d5c6.tar.gz
freebsd-ports-gnome-24bcb421a144ccbeddd36a1b54ca2c99cdc1d5c6.tar.zst
freebsd-ports-gnome-24bcb421a144ccbeddd36a1b54ca2c99cdc1d5c6.zip
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>
-rw-r--r--java/Makefile1
-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
6 files changed, 97 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 285166058c55..30544a1a8cc2 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -2,6 +2,7 @@
#
SUBDIR += collections
+ SUBDIR += cos
SUBDIR += guavac
SUBDIR += infobus
SUBDIR += jaf
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