summaryrefslogtreecommitdiff
path: root/devel/tcllib
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-04-24 16:29:16 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-04-24 16:29:16 +0000
commit0775c9f862e187d093004510692fe43cd873d458 (patch)
treeecfbb5024e11b8552f8903614e1eb8a07e8a5a49 /devel/tcllib
parentMake MySQL 3.23, 4.0 and 4.1 selectable. (diff)
Unbreak. Upgrade from 1.2 to 1.3 -- lots of stuff added.
Notes
Notes: svn path=/head/; revision=79590
Diffstat (limited to 'devel/tcllib')
-rw-r--r--devel/tcllib/Makefile31
-rw-r--r--devel/tcllib/distinfo2
-rw-r--r--devel/tcllib/files/patch-test9
-rw-r--r--devel/tcllib/pkg-plist19
4 files changed, 48 insertions, 13 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
index 1696561ceb1c..4caee186d215 100644
--- a/devel/tcllib/Makefile
+++ b/devel/tcllib/Makefile
@@ -6,30 +6,39 @@
#
PORTNAME= tcllib
-PORTVERSION= 1.2
-CATEGORIES= devel
+PORTVERSION= 1.3
+CATEGORIES= devel tcl83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcllib
MAINTAINER= mi@aldan.algebra.com
COMMENT= A collection of utility modules for Tcl
-BROKEN= "Creates /root/foo at install-time"
+BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl84
-BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl83
GNU_CONFIGURE= yes
-ALL_TARGET= test
+ALL_TARGET= all nroff-doc
MAKE_ENV+= LANG=C
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-MANN= base64.n cksum.n cmdline.n combinatorics.n comm.n control.n \
- counter.n crc32.n csv.n expander.n fileutil.n ftp.n ftpd.n \
- graph.n html.n htmlparse.n javascript.n log.n math.n matrix.n \
- md5.n mime.n ncgi.n nntp.n pop3.n profiler.n report.n queue.n \
- sha1.n smtp.n smtpd.n stack.n stooop.n sum.n textutil.n tree.n \
- uri.n uuencode.n
+MANN= base64.n calculus.n cksum.n cmdline.n combinatorics.n comm.n \
+ control.n counter.n crc32.n csv.n dns.n dtformat.n dtformatter.n \
+ exif.n expander.n fileutil.n ftp.n ftpd.n graph.n html.n htmlparse.n \
+ irc.n javascript.n log.n math.n matrix.n md5.n mime.n mpexpand.n \
+ ncgi.n nntp.n pool.n pop3.n pop3d.n pop3d_dbox.n pop3d_udb.n \
+ profiler.n queue.n report.n sha1.n smtp.n smtpd.n stack.n \
+ stooop.n sum.n textutil.n tree.n uri.n uuencode.n yencode.n
MANCOMPRESSED= no
+test:
+ ${MAKE_ENV} ${MAKE} -C ${WRKSRC} test
+
+# The directory is created by install, but not populated. Just
+# remove it for now. In future versions, it may get some files
+# and we will remove this target.
+post-install: test
+ @${RMDIR} ${PREFIX}/lib/tcllib${PORTVERSION}/doctools
+
.include <bsd.port.mk>
diff --git a/devel/tcllib/distinfo b/devel/tcllib/distinfo
index 4adc723cd702..69b5da373e9e 100644
--- a/devel/tcllib/distinfo
+++ b/devel/tcllib/distinfo
@@ -1 +1 @@
-MD5 (tcllib-1.2.tar.gz) = a70c5650cb4a201ed714b6f3420c8e38
+MD5 (tcllib-1.3.tar.gz) = 4963ea4a08ea6027f76beefb9a27d32e
diff --git a/devel/tcllib/files/patch-test b/devel/tcllib/files/patch-test
index 20a5d87f0b77..bdefaf54f350 100644
--- a/devel/tcllib/files/patch-test
+++ b/devel/tcllib/files/patch-test
@@ -6,3 +6,12 @@
+ set ::argv0 [pSet ::argv0]
set ::tcllibModule [pSet module]
set auto_path [pSet auto_path]
+--- modules/comm/comm.test Mon Jun 10 19:14:56 2002
++++ modules/comm/comm.test Sun Feb 23 11:25:48 2003
+@@ -29,5 +29,5 @@
+
+ makeFile {
+- puts [set fh [open ~/foo w]] $argv ; close $fh
++ puts [set fh [open [pwd]/TemporaryFile w]] $argv ; close $fh
+
+ source [lindex $argv 0].tcl ; # load 'comm'
diff --git a/devel/tcllib/pkg-plist b/devel/tcllib/pkg-plist
index e986c328a9c6..a2b1250f66c2 100644
--- a/devel/tcllib/pkg-plist
+++ b/devel/tcllib/pkg-plist
@@ -1,6 +1,7 @@
lib/tcllib%%PORTVERSION%%/base64/base64.tcl
-lib/tcllib%%PORTVERSION%%/base64/uuencode.tcl
lib/tcllib%%PORTVERSION%%/base64/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/base64/uuencode.tcl
+lib/tcllib%%PORTVERSION%%/base64/yencode.tcl
@dirrm lib/tcllib%%PORTVERSION%%/base64
lib/tcllib%%PORTVERSION%%/cmdline/cmdline.tcl
lib/tcllib%%PORTVERSION%%/cmdline/pkgIndex.tcl
@@ -9,6 +10,12 @@ lib/tcllib%%PORTVERSION%%/cmdline/typedCmdline.tcl
lib/tcllib%%PORTVERSION%%/counter/counter.tcl
lib/tcllib%%PORTVERSION%%/counter/pkgIndex.tcl
@dirrm lib/tcllib%%PORTVERSION%%/counter
+lib/tcllib%%PORTVERSION%%/dns/dns.tcl
+lib/tcllib%%PORTVERSION%%/dns/pkgIndex.tcl
+@dirrm lib/tcllib%%PORTVERSION%%/dns
+lib/tcllib%%PORTVERSION%%/exif/exif.tcl
+lib/tcllib%%PORTVERSION%%/exif/pkgIndex.tcl
+@dirrm lib/tcllib%%PORTVERSION%%/exif
lib/tcllib%%PORTVERSION%%/fileutil/fileutil.tcl
lib/tcllib%%PORTVERSION%%/fileutil/pkgIndex.tcl
@dirrm lib/tcllib%%PORTVERSION%%/fileutil
@@ -22,6 +29,9 @@ lib/tcllib%%PORTVERSION%%/ftpd/pkgIndex.tcl
lib/tcllib%%PORTVERSION%%/html/html.tcl
lib/tcllib%%PORTVERSION%%/html/pkgIndex.tcl
@dirrm lib/tcllib%%PORTVERSION%%/html
+lib/tcllib%%PORTVERSION%%/irc/irc.tcl
+lib/tcllib%%PORTVERSION%%/irc/pkgIndex.tcl
+@dirrm lib/tcllib%%PORTVERSION%%/irc
lib/tcllib%%PORTVERSION%%/javascript/javascript.tcl
lib/tcllib%%PORTVERSION%%/javascript/pkgIndex.tcl
@dirrm lib/tcllib%%PORTVERSION%%/javascript
@@ -48,11 +58,18 @@ lib/tcllib%%PORTVERSION%%/pkgIndex.tcl
lib/tcllib%%PORTVERSION%%/pop3/pkgIndex.tcl
lib/tcllib%%PORTVERSION%%/pop3/pop3.tcl
@dirrm lib/tcllib%%PORTVERSION%%/pop3
+lib/tcllib%%PORTVERSION%%/pop3d/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/pop3d/pop3d.tcl
+lib/tcllib%%PORTVERSION%%/pop3d/pop3d_dbox.tcl
+lib/tcllib%%PORTVERSION%%/pop3d/pop3d_udb.tcl
+@dirrm lib/tcllib%%PORTVERSION%%/pop3d
lib/tcllib%%PORTVERSION%%/profiler/pkgIndex.tcl
lib/tcllib%%PORTVERSION%%/profiler/profiler.tcl
@dirrm lib/tcllib%%PORTVERSION%%/profiler
lib/tcllib%%PORTVERSION%%/struct/graph.tcl
lib/tcllib%%PORTVERSION%%/struct/pkgIndex.tcl
+lib/tcllib%%PORTVERSION%%/struct/pool.tcl
+lib/tcllib%%PORTVERSION%%/struct/pooltest.tcl
lib/tcllib%%PORTVERSION%%/struct/queue.tcl
lib/tcllib%%PORTVERSION%%/struct/matrix.tcl
lib/tcllib%%PORTVERSION%%/struct/stack.tcl