pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/tkdiff Add with to USE_TOOLS, and replace the ha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ed1e8c312ab
branches:  trunk
changeset: 509601:0ed1e8c312ab
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 12 07:39:36 2006 +0000

description:
Add with to USE_TOOLS, and replace the hardcoded command name in the script
with ${WISH}.

Bump PKGREVISION.

diffstat:

 devel/tkdiff/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 800427ce2253 -r 0ed1e8c312ab devel/tkdiff/Makefile
--- a/devel/tkdiff/Makefile     Sun Mar 12 06:59:30 2006 +0000
+++ b/devel/tkdiff/Makefile     Sun Mar 12 07:39:36 2006 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index