aboutsummaryrefslogtreecommitdiff
path: root/devel/tcllib/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2004-11-19 21:36:45 +0000
committerMikhail Teterin <mi@FreeBSD.org>2004-11-19 21:36:45 +0000
commit554e996bf8011a2cdffa719cdc837bf00afe32a1 (patch)
treead62c23fb212f3ad09c0c63a589a1ad94f370d60 /devel/tcllib/Makefile
parent36e68529f260445f3fce81274e05ee3c2b21f8eb (diff)
downloadports-554e996bf8011a2cdffa719cdc837bf00afe32a1.tar.gz
ports-554e996bf8011a2cdffa719cdc837bf00afe32a1.zip
Notes
Diffstat (limited to 'devel/tcllib/Makefile')
-rw-r--r--devel/tcllib/Makefile65
1 files changed, 44 insertions, 21 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
index ec0a63757e12..6bfcf9c99c50 100644
--- a/devel/tcllib/Makefile
+++ b/devel/tcllib/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= tcllib
-PORTVERSION= 1.6
-PORTREVISION= 1
+PORTVERSION= 1.7
CATEGORIES= devel tcl83 tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcllib
@@ -19,30 +18,54 @@ BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl84
USE_BZIP2= yes
GNU_CONFIGURE= yes
-ALL_TARGET= all test
+ALL_TARGET= all
MAKE_ENV+= LANG=C
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-MANN= base64.n calculus.n changelog.n cksum.n cmdline.n \
- combinatorics.n comm.n control.n counter.n crc16.n crc32.n \
- csv.n cvs.n des.n docidx.n docidx_api.n docidx_fmt.n \
- doctoc.n doctoc_api.n doctoc_fmt.n doctools.n doctools_api.n \
- doctools_fmt.n exif.n expander.n fileutil.n ftp.n ftpd.n \
- fuzzy.n graph.n html.n htmlparse.n ini.n irc.n javascript.n log.n \
- logger.n math.n matrix.n md4.n md5.n mime.n mpexpand.n \
- multiplexer.n \
- ncgi.n nntp.n ntp_time.n optimize.n pool.n pop3.n pop3d.n \
- pop3d_dbox.n pop3d_udb.n prioqueue.n profiler.n queue.n \
- record.n report.n sha1.n skiplist.n smtp.n smtpd.n \
- snit.n snitfaq.n soundex.n \
- stack.n statistics.n stooop.n struct_list.n struct_set.n \
- struct_tree.n \
- sum.n tcllib_dns.n textutil.n uri.n uuencode.n yencode.n
+MANN= asn.n autoproxy.n base64.n bee.n bignum.n calculus.n changelog.n\
+ cksum.n cmdline.n combinatorics.n comm.n constants.n control.n\
+ counter.n crc16.n crc32.n csv.n cvs.n dacceptor.n des.n dexec.n\
+ docidx.n docidx_api.n docidx_fmt.n doctoc.n doctoc_api.n doctoc_fmt.n\
+ doctools.n doctools_api.n doctools_fmt.n dtplite.n exif.n expander.n\
+ fa.n faop.n fileutil.n fourier.n ftp.n ftpd.n fuzzy.n geometry.n\
+ graph.n graph1.n html.n htmlparse.n ident.n ini.n interpolate.n\
+ irc.n javascript.n jpeg.n ldap.n log.n logger.n math.n matrix.n\
+ matrix1.n md4.n md5.n md5crypt.n mime.n mpexpand.n multiplexer.n\
+ ncgi.n nntp.n ntp_time.n optimize.n png.n polynomials.n pool.n\
+ pop3.n pop3d.n pop3d_dbox.n pop3d_udb.n prioqueue.n profiler.n\
+ qcomplex.n queue.n rc4.n record.n report.n ripemd128.n ripemd160.n\
+ romberg.n sha1.n skiplist.n smtp.n smtpd.n snit.n snitfaq.n soundex.n\
+ special.n stack.n statistics.n stooop.n struct_list.n struct_set.n\
+ struct_tree.n struct_tree1.n sum.n tar.n tcllib_dns.n tcllib_ip.n\
+ textutil.n tie.n treeql.n uri.n uuencode.n uuid.n yencode.n\
MANCOMPRESSED= no
-post-patch:
- @${CHMOD} 666 ${WRKSRC}/modules/inifile/test.ini
+test:
+.ifdef DISPLAY
+ #
+ # DISPLAY environment variable appears to be set (${DISPLAY}).
+ # Tcllib may perform some additional Tk-only tests.
+ #
+ -${TEST} -t 1 && sleep 2
+.endif
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+post-build: test
+.else
+post-build:
+ # Build is over quickly...
+ #
+ # Several of tcllib's tests are known to hang/fail on non-i386
+ # architectures (not only on ${OPSYS}) so testing on your
+ # (${ARCH}) system is not performed automatically. You are
+ # encouraged to run `make test' manually, however, to check if
+ # the parts, that are important to you, are problem-free.
+ #
+.endif
+
+.include <bsd.port.post.mk>