1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add Tcllib, a collection of utility modules for Tcl.

PR:		18263
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
This commit is contained in:
Will Andrews 2000-06-09 03:35:21 +00:00
parent cbc71b2150
commit c9a437c5c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29423
8 changed files with 140 additions and 0 deletions

View File

@ -220,6 +220,7 @@
SUBDIR += tclcheck
SUBDIR += tclcl
SUBDIR += tclgetopts
SUBDIR += tcllib
SUBDIR += tclreadline
SUBDIR += tcltls
SUBDIR += templ

32
devel/tcllib/Makefile Normal file
View File

@ -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>

1
devel/tcllib/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tcllib0.4.tar.gz) = efee3008c58bf481913a133fbee4ede0

View File

@ -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

1
devel/tcllib/pkg-comment Normal file
View File

@ -0,0 +1 @@
A collection of utility modules for Tcl

21
devel/tcllib/pkg-descr Normal file
View File

@ -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/

11
devel/tcllib/pkg-message Normal file
View File

@ -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)
===========================================================================

57
devel/tcllib/pkg-plist Normal file
View File

@ -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%%