2011-01-05 11:27:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/01/05 16:27:24 stu Exp $
|
2003-01-18 14:12:09 -05:00
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
COMMENT = Tcl Standard Library
|
2003-01-09 11:59:37 -05:00
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
DISTNAME = tcllib-1.12
|
|
|
|
CATEGORIES = devel lang/tcl
|
|
|
|
HOMEPAGE = http://sourceforge.net/projects/tcllib/
|
|
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
2003-01-09 11:59:37 -05:00
|
|
|
|
|
|
|
# BSD style
|
2009-03-19 12:54:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcllib/}
|
|
|
|
MODULES = lang/tcl
|
|
|
|
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
|
|
|
|
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
|
|
|
USE_GROFF = Yes
|
|
|
|
NO_BUILD = Yes
|
|
|
|
PKG_ARCH = *
|
2009-03-19 12:54:32 -04:00
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
SCRIPTS_TCLSH_APPS = \
|
|
|
|
dtplite page tcldocstrip
|
2003-01-09 11:59:37 -05:00
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
SCRIPTS_TCLSH = \
|
|
|
|
bibtex/bibtex.tcl \
|
|
|
|
csv/csv2html csv/csvcut csv/csvdiff csv/csvjoin csv/csvsort csv/csvuniq \
|
|
|
|
ftp/ftpdemo.tcl ftp/ftpvalid \
|
|
|
|
htmlparse/webviewer.tcl \
|
|
|
|
irc/irc_example.tcl \
|
|
|
|
ldap/ldapChangeTest ldap/ldapquery ldap/ldifdump \
|
|
|
|
logger/logtotext.tcl \
|
|
|
|
mapproj/tkmap.tcl \
|
|
|
|
math/bigfloat.demo.tcl \
|
|
|
|
ntp/rdate.tcl \
|
|
|
|
sasl/saslclient.tcl \
|
|
|
|
smtpd/tcl_smtpd smtpd/tk_smtpd \
|
|
|
|
struct/diff.tcl struct/diff2.tcl \
|
|
|
|
term/attributes term/box term/box2 term/clear term/colors term/frame \
|
|
|
|
term/graphics term/imenu term/ipager term/menu term/menu2 term/para \
|
|
|
|
term/title \
|
|
|
|
tie/receiving_client.tcl tie/sending_client.tcl tie/server.tcl \
|
|
|
|
tie/transceiver.tcl
|
2003-01-09 11:59:37 -05:00
|
|
|
|
2011-01-05 11:27:24 -05:00
|
|
|
SCRIPTS_TCLSH_NOEXEC = \
|
|
|
|
ftp/hpupdate.tcl ftp/mirror.tcl ftp/newer.tcl \
|
|
|
|
ftpd/ftpd ftpd/ftpd.test ftpd/ftpd.unix \
|
|
|
|
logger/logtofile.tcl \
|
|
|
|
mime/maildemo.tcl mime/mbot/impersonal.tcl mime/mbot/personal.tcl \
|
|
|
|
nntp/postnews
|
2003-12-21 11:04:05 -05:00
|
|
|
|
2009-03-19 12:54:32 -04:00
|
|
|
do-configure:
|
2011-01-05 11:27:24 -05:00
|
|
|
mv ${WRKSRC}/modules/simulation/random.man \
|
|
|
|
${WRKSRC}/modules/simulation/simulation_random.man
|
|
|
|
@${MODTCL_TCLSH_ADJ} \
|
|
|
|
${SCRIPTS_TCLSH_APPS:S!^!${WRKSRC}/apps/!} \
|
2009-03-19 12:54:32 -04:00
|
|
|
${SCRIPTS_TCLSH:S!^!${WRKSRC}/examples/!} \
|
|
|
|
${SCRIPTS_TCLSH_NOEXEC:S!^!${WRKSRC}/examples/!}
|
2003-12-21 11:04:05 -05:00
|
|
|
|
2007-04-02 14:59:46 -04:00
|
|
|
do-install:
|
2009-03-19 12:54:32 -04:00
|
|
|
${MODTCL_BIN} ${WRKSRC}/installer.tcl \
|
|
|
|
-no-wait -no-gui -no-html \
|
|
|
|
-pkgs -nroff -examples -apps \
|
2011-01-05 11:27:24 -05:00
|
|
|
-pkg-path ${DESTDIR}${MODTCL_TCLDIR} \
|
2008-05-09 15:45:18 -04:00
|
|
|
-nroff-path ${PREFIX}/man/mann \
|
2009-03-19 12:54:32 -04:00
|
|
|
-example-path ${PREFIX}/share/examples/tcllib \
|
|
|
|
-app-path ${PREFIX}/bin
|
2011-01-05 11:27:24 -05:00
|
|
|
@${CHMOD} ${BINMODE} ${SCRIPTS_TCLSH:S!logger!log!:S!^!${PREFIX}/share/examples/tcllib/!}
|
|
|
|
${SETENV} TCLLIBPATH=${DESTDIR}${MODTCL_TCLDIR} ${MODTCL_BIN} \
|
|
|
|
${FILESDIR}/mkindex.tcl ${PREFIX}/man/mann \
|
|
|
|
${PKGDIR}/DESCR ${PREFIX}/man/mann/tcllib.n tcllib "${COMMENT}" 1.12
|
|
|
|
@${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/man/mann/tcllib.n
|
|
|
|
@${CHMOD} ${MANMODE} ${PREFIX}/man/mann/tcllib.n
|
2008-05-09 15:45:18 -04:00
|
|
|
|
|
|
|
# Define TEST_MODULES to restrict to a subset of regression tests.
|
|
|
|
do-regress:
|
2009-03-19 12:54:32 -04:00
|
|
|
${SETENV} ${MAKE_ENV} ${MODTCL_BIN} \
|
2008-05-09 15:45:18 -04:00
|
|
|
${WRKSRC}/sak.tcl test run -v ${TEST_MODULES} \
|
|
|
|
${REGRESS_LOG}
|
2003-01-09 11:59:37 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|