summaryrefslogtreecommitdiff
path: root/devel/tcllib
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-09 03:35:21 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-09 03:35:21 +0000
commitc9a437c5c21b264864eae5b28c0ed7eb4f2f86d1 (patch)
treecdea4900480e631baf6fbb183a54d86569354fbd /devel/tcllib
parentAdd tcltls, a Tcl interface to OpenSSL. (diff)
Add Tcllib, a collection of utility modules for Tcl.
PR: 18263 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes
Notes: svn path=/head/; revision=29423
Diffstat (limited to 'devel/tcllib')
-rw-r--r--devel/tcllib/Makefile32
-rw-r--r--devel/tcllib/distinfo1
-rw-r--r--devel/tcllib/files/tclhttpd.sh16
-rw-r--r--devel/tcllib/pkg-comment1
-rw-r--r--devel/tcllib/pkg-descr21
-rw-r--r--devel/tcllib/pkg-message11
-rw-r--r--devel/tcllib/pkg-plist57
7 files changed, 139 insertions, 0 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
new file mode 100644
index 000000000000..280a09f53350
--- /dev/null
+++ b/devel/tcllib/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: tcllib
+# Date created: 27 Apr 2000
+# Whom: Mikhail Teterin <mi@aldan.algebra.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tcllib
+PORTVERSION= 0.4
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_TCLTK}
+MASTER_SITE_SUBDIR= tcllib
+DISTNAME= ${PORTNAME}${PORTVERSION}
+EXTRACT_ONLY=
+
+MAINTAINER= mi@aldan.algebra.com
+
+NO_BUILD= YES
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
+
+MANN= graph.n queue.n stack.n tree.n math.n ncgi.n pop3.n profiler.n html.n
+MANCOMPRESSED= no
+
+do-install:
+ ${TAR} -xz --exclude "${PORTNAME}${PORTVERSION}/[RI]*" \
+ -C ${LOCALBASE}/lib -f ${DISTDIR}/${DISTFILES}
+ ${MV} `find ${LOCALBASE}/lib/${PORTNAME}${PORTVERSION} \
+ -type f -name '*.n'` \
+ ${LOCALBASE}/man/mann/
+
+.include <bsd.port.mk>
diff --git a/devel/tcllib/distinfo b/devel/tcllib/distinfo
new file mode 100644
index 000000000000..c38dff7f72f2
--- /dev/null
+++ b/devel/tcllib/distinfo
@@ -0,0 +1 @@
+MD5 (tcllib0.4.tar.gz) = efee3008c58bf481913a133fbee4ede0
diff --git a/devel/tcllib/files/tclhttpd.sh b/devel/tcllib/files/tclhttpd.sh
new file mode 100644
index 000000000000..6053456fe639
--- /dev/null
+++ b/devel/tcllib/files/tclhttpd.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+case $1 in
+stop)
+ if ! [ -f /var/run/tclhttd.pid ] ; then
+ echo tclhttd does not seem to be running
+ exit 1
+ fi
+ echo "Not sure if `cat /var/run/tclhttd.pid` \
+ (from /var/run/tclhttd.pid) is what you wish killed."
+ exit 2
+ ;;
+start|"")
+ COMMAND_LINE &
+ test -n "$!" && echo $! > /var/run/tclhttd.pid
+ ;;
+esac
diff --git a/devel/tcllib/pkg-comment b/devel/tcllib/pkg-comment
new file mode 100644
index 000000000000..faa9cd5ed4c8
--- /dev/null
+++ b/devel/tcllib/pkg-comment
@@ -0,0 +1 @@
+A collection of utility modules for Tcl
diff --git a/devel/tcllib/pkg-descr b/devel/tcllib/pkg-descr
new file mode 100644
index 000000000000..51a45cec5417
--- /dev/null
+++ b/devel/tcllib/pkg-descr
@@ -0,0 +1,21 @@
+Tcllib is a collection of utility modules for Tcl. These modules provide
+a wide variety of functionality, from implementations of standard data
+structures to implementations of common networking protocols. The intent
+is to collect commonly used function into a single library, which users
+can rely on to be available and stable.
+
+The latest version of tcllib, 0.4, includes the following modules:
+ base64 base64 encoder and decoder
+ cmdline command line argument processor similar to opt
+ fileutil
+ Tcl implementations of some standard Unix utilities
+ html HTML generation procedures. This uses ncgi.
+ math common math functions like min, max, and others
+ mime MIME encoder and decoder
+ ncgi new CGI processing module
+ pop3 POP3 protocol implementation
+ profiler
+ function level Tcl source code profiler
+ struct Tcl implementations of common data structures
+
+WWW: http://dev.scriptics.com/software/tcllib/
diff --git a/devel/tcllib/pkg-message b/devel/tcllib/pkg-message
new file mode 100644
index 000000000000..06a5dc766238
--- /dev/null
+++ b/devel/tcllib/pkg-message
@@ -0,0 +1,11 @@
+===========================================================================
+
+ If you want users to be able to create their own web
+ subdirectories off of the main web directory, you need to:
+
+ a) add a group for www admins
+ b) chgrp yourgroup ${PREFIX}/bin/makeweb ${PREFIX}/www
+ c) chmod 2755 ${PREFIX}/bin/makeweb
+ d) tell them about makeweb(1)
+
+===========================================================================
diff --git a/devel/tcllib/pkg-plist b/devel/tcllib/pkg-plist
new file mode 100644
index 000000000000..4df506f411f8
--- /dev/null
+++ b/devel/tcllib/pkg-plist
@@ -0,0 +1,57 @@
+lib/tcllib%%PORTVERSION%%/base64/base64.tcl
+lib/tcllib%%PORTVERSION%%/base64/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/base64/base64.test
+@dirrm lib/tcllib%%PORTVERSION%%/base64
+lib/tcllib%%PORTVERSION%%/cmdline/cmdline.tcl
+lib/tcllib%%PORTVERSION%%/cmdline/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/cmdline/typedCmdline.tcl
+lib/tcllib%%PORTVERSION%%/cmdline/cmdline.test
+lib/tcllib%%PORTVERSION%%/cmdline/typedCmdline.test
+@dirrm lib/tcllib%%PORTVERSION%%/cmdline
+lib/tcllib%%PORTVERSION%%/struct/graph.tcl
+lib/tcllib%%PORTVERSION%%/struct/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/struct/queue.tcl
+lib/tcllib%%PORTVERSION%%/struct/stack.tcl
+lib/tcllib%%PORTVERSION%%/struct/struct.tcl
+lib/tcllib%%PORTVERSION%%/struct/tree.tcl
+lib/tcllib%%PORTVERSION%%/struct/graph.test
+lib/tcllib%%PORTVERSION%%/struct/queue.test
+lib/tcllib%%PORTVERSION%%/struct/stack.test
+lib/tcllib%%PORTVERSION%%/struct/tree.test
+@dirrm lib/tcllib%%PORTVERSION%%/struct
+lib/tcllib%%PORTVERSION%%/fileutil/fileutil.tcl
+lib/tcllib%%PORTVERSION%%/fileutil/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/fileutil/fileutil.test
+@dirrm lib/tcllib%%PORTVERSION%%/fileutil
+lib/tcllib%%PORTVERSION%%/math/math.tcl
+lib/tcllib%%PORTVERSION%%/math/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/math/math.test
+@dirrm lib/tcllib%%PORTVERSION%%/math
+lib/tcllib%%PORTVERSION%%/mime/mime.tcl
+lib/tcllib%%PORTVERSION%%/mime/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/mime/smtp.tcl
+lib/tcllib%%PORTVERSION%%/mime/mime.test
+lib/tcllib%%PORTVERSION%%/mime/README.html
+lib/tcllib%%PORTVERSION%%/mime/README.txt
+lib/tcllib%%PORTVERSION%%/mime/README.xml
+@dirrm lib/tcllib%%PORTVERSION%%/mime
+lib/tcllib%%PORTVERSION%%/ncgi/formdata.txt
+lib/tcllib%%PORTVERSION%%/ncgi/ncgi.tcl
+lib/tcllib%%PORTVERSION%%/ncgi/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/ncgi/ncgi.test
+@dirrm lib/tcllib%%PORTVERSION%%/ncgi
+lib/tcllib%%PORTVERSION%%/pop3/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/pop3/pop3.tcl
+@dirrm lib/tcllib%%PORTVERSION%%/pop3
+lib/tcllib%%PORTVERSION%%/profiler/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/profiler/profiler.tcl
+lib/tcllib%%PORTVERSION%%/profiler/profiler.test
+@dirrm lib/tcllib%%PORTVERSION%%/profiler
+lib/tcllib%%PORTVERSION%%/html/html.tcl
+lib/tcllib%%PORTVERSION%%/html/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/html/html.test
+@dirrm lib/tcllib%%PORTVERSION%%/html
+lib/tcllib%%PORTVERSION%%/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/install.sh
+lib/tcllib%%PORTVERSION%%/license.terms
+@dirrm lib/tcllib%%PORTVERSION%%