summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-12 07:39:36 +0000
committerminskim <minskim>2006-03-12 07:39:36 +0000
commitf5e22a3f76cc4e63921062f2ffe0f8b32d7d721c (patch)
treecc541484df38aafae943c1bbba95e4d6ea9aa6fb /devel
parent671eaf79e144889d60bc47ac2cf54a3b1fb82448 (diff)
downloadpkgsrc-f5e22a3f76cc4e63921062f2ffe0f8b32d7d721c.tar.gz
Add with to USE_TOOLS, and replace the hardcoded command name in the script
with ${WISH}. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/tkdiff/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/tkdiff/Makefile b/devel/tkdiff/Makefile
index 95c5d3c8bfe..71e60f77082 100644
--- a/devel/tkdiff/Makefile
+++ b/devel/tkdiff/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.17 2006/02/05 23:08:54 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2006/03/12 07:39:36 minskim Exp $
#
DISTNAME= tkdiff
PKGNAME= ${DISTNAME}-4.0.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tkdiff/}
EXTRACT_SUFX= .zip
@@ -12,13 +12,18 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/tkdiff/
COMMENT= Graphical 2-way diff/merge tool
-DEPENDS+= tk>=8.3.2:../../x11/tk
-
PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_SUBDIR= ${PKGNAME_NOREV}
NO_BUILD= yes
NO_CONFIGURE= yes
+USE_TOOLS+= wish:run
+
+SUBST_CLASSES+= wish
+SUBST_MESSAGE.wish= "Fixing a hardcoded command."
+SUBST_STAGE.wish= pre-configure
+SUBST_FILES.wish= tkdiff
+SUBST_SED.wish= -e 's,exec wish,exec ${WISH},'
INSTALLATION_DIRS= bin