diff options
author | mi <mi@FreeBSD.org> | 2004-12-18 10:49:47 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2004-12-18 10:49:47 +0800 |
commit | 24f05f9cdf1718ec2064657a7d8315f6d2628878 (patch) | |
tree | 4af4d677da6044f0a9268b892ce6057838ab9135 /devel/tcllib | |
parent | 3c8e5d13bf2550847dcb839bf581e1bc999db7dd (diff) | |
download | freebsd-ports-gnome-24f05f9cdf1718ec2064657a7d8315f6d2628878.tar.gz freebsd-ports-gnome-24f05f9cdf1718ec2064657a7d8315f6d2628878.tar.zst freebsd-ports-gnome-24f05f9cdf1718ec2064657a7d8315f6d2628878.zip |
Turns out, this package now installs one executable -- dtplite.
Add it to pkg-plist and make sure it has proper path to executable
at the beginning.
Diffstat (limited to 'devel/tcllib')
-rw-r--r-- | devel/tcllib/Makefile | 4 | ||||
-rw-r--r-- | devel/tcllib/pkg-plist | 1 | ||||
-rw-r--r-- | devel/tcllib/scripts/post-patch | 9 |
3 files changed, 13 insertions, 1 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile index 6bfcf9c99c50..2b8727711387 100644 --- a/devel/tcllib/Makefile +++ b/devel/tcllib/Makefile @@ -14,12 +14,14 @@ MASTER_SITE_SUBDIR= tcllib MAINTAINER= mi@aldan.algebra.com COMMENT= A collection of utility modules for Tcl -BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl84 +BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl${TCL_VER:S/.//} +TCL_VER?= 8.4 USE_BZIP2= yes GNU_CONFIGURE= yes ALL_TARGET= all MAKE_ENV+= LANG=C +SCRIPTS_ENV+= TCL_VER=${TCL_VER} PATCH="${PATCH}" PLIST_SUB+= PORTVERSION=${PORTVERSION} diff --git a/devel/tcllib/pkg-plist b/devel/tcllib/pkg-plist index 1bfe3414bf65..f982afa20354 100644 --- a/devel/tcllib/pkg-plist +++ b/devel/tcllib/pkg-plist @@ -1,3 +1,4 @@ +bin/dtplite lib/tcllib%%PORTVERSION%%/pkgIndex.tcl lib/tcllib%%PORTVERSION%%/asn/asn.tcl lib/tcllib%%PORTVERSION%%/asn/pkgIndex.tcl diff --git a/devel/tcllib/scripts/post-patch b/devel/tcllib/scripts/post-patch new file mode 100644 index 000000000000..3ff853ec0461 --- /dev/null +++ b/devel/tcllib/scripts/post-patch @@ -0,0 +1,9 @@ +#!/bin/sh + +${PATCH} -f ${WRKSRC}/apps/dtplite << EOP +@@ -1,3 +1,1 @@ +-#! /bin/sh +-# -*- tcl -*- +-exec tclsh "$0" ${1+"$@"} ++#!${PREFIX}/bin/tclsh${TCL_VER} +EOP |