Add with to USE_TOOLS, and replace the hardcoded command name in the script

with ${WISH}.

Bump PKGREVISION.
This commit is contained in:
minskim 2006-03-12 07:39:36 +00:00
parent 03d68dd638
commit f7d71a5a35

View file

@ -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