summaryrefslogtreecommitdiff
path: root/security/zebedee/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-08 23:40:41 +0000
committerminskim <minskim>2006-03-08 23:40:41 +0000
commit243875aec650e0cb68f39eae9c3b85c56f93e779 (patch)
tree1a842df5b32a29698690c17f806ebbefffa4535d /security/zebedee/Makefile
parent40e7dae6145b5300a88bfe263dc9667219d6fd15 (diff)
downloadpkgsrc-243875aec650e0cb68f39eae9c3b85c56f93e779.tar.gz
Add tclsh to USE_TOOLS, and use ${TCLSH} instead of tclsh.
Bump PKGREVISION because ${TCLSH} is embedded in an installed script.
Diffstat (limited to 'security/zebedee/Makefile')
-rw-r--r--security/zebedee/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/zebedee/Makefile b/security/zebedee/Makefile
index bdf4089317e..5fa67b49888 100644
--- a/security/zebedee/Makefile
+++ b/security/zebedee/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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=macosx
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"