pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/zebedee Add tclsh to USE_TOOLS, and use ${TCL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d052256ca94a
branches:  trunk
changeset: 509347:d052256ca94a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 08 23:40:41 2006 +0000

description:
Add tclsh to USE_TOOLS, and use ${TCLSH} instead of tclsh.

Bump PKGREVISION because ${TCLSH} is embedded in an installed script.

diffstat:

 security/zebedee/Makefile |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r c36c2109dae1 -r d052256ca94a security/zebedee/Makefile
--- a/security/zebedee/Makefile Wed Mar 08 23:39:05 2006 +0000
+++ b/security/zebedee/Makefile Wed Mar 08 23:40:41 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2006/03/08 23:12:41 minskim Exp $
+# $NetBSD: Makefile,v 1.27 2006/03/08 23:40:41 minskim Exp $
 
 DISTNAME=      zebedee-2.5.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=zebedee/}
 
@@ -9,9 +9,7 @@
 HOMEPAGE=      http://www.winton.org.uk/zebedee/
 COMMENT=       Simple tunneling program for TCP or UDP with encryption
 
-DEPENDS+=      tcl-[0-9]*:../../lang/tcl
-
-USE_TOOLS+=            gmake perl
+USE_TOOLS+=            gmake perl tclsh:run
 
 MAKE_ENV+=             PERL5=${PERL5:Q}
 
@@ -22,6 +20,12 @@
 MAKE_FLAGS+=           OS=${LOWER_OPSYS:Q}
 .endif
 
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   "Fixing tclsh paths."
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     ftpgw.tcl
+SUBST_SED.paths=       -e 's,tclsh,${TCLSH},g'
+
 .include "../../mk/pthread.buildlink3.mk"
 
 .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"



Home | Main Index | Thread Index | Old Index