Merge from vendor branch TNF:
[pkgsrcv2.git] / misc / visual-regexp / Makefile
1 # $NetBSD: Makefile,v 1.11 2006/04/22 09:22:11 rillig Exp $
2 #
3
4 DISTNAME=       visual_regexp-3.0
5 PKGREVISION=    2
6 CATEGORIES=     misc
7 MASTER_SITES=   http://laurent.riesterer.free.fr/regexp/
8
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 HOMEPAGE=       http://laurent.riesterer.free.fr/regexp/
11 COMMENT=        Easily design and debug regular expressions graphically
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 NO_BUILD=       yes
16 USE_TOOLS+=     wish:run
17
18 SUBST_CLASSES+=         wish
19 SUBST_MESSAGE.wish=     Fixing a hardcoded command.
20 SUBST_STAGE.wish=       pre-configure
21 SUBST_FILES.wish=       visual_regexp.tcl
22 SUBST_SED.wish=         -e 's,wish8.3,${WISH},g'
23
24 SUBST_CLASSES+=         command
25 SUBST_MESSAGE.command=  Fixing command names.
26 SUBST_STAGE.command=    pre-configure
27 SUBST_FILES.command=    visual_regexp.tcl
28 SUBST_SED.command=      -e 's,tkregexp,visual_regexp,g'
29
30 INSTALLATION_DIRS=      bin
31
32 do-install:
33         ${INSTALL_SCRIPT} ${WRKSRC}/visual_regexp.tcl \
34             ${DESTDIR}${PREFIX}/bin/visual_regexp
35
36 .include "../../mk/bsd.pkg.mk"