summaryrefslogtreecommitdiff
path: root/misc/visual-regexp/Makefile
blob: a6e8490c2a722024af2adadd26ca39c0c8e36ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:27 joerg Exp $
#

DISTNAME=	visual_regexp-3.0
PKGREVISION=	2
CATEGORIES=	misc
MASTER_SITES=	http://laurent.riesterer.free.fr/regexp/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://laurent.riesterer.free.fr/regexp/
COMMENT=	Easily design and debug regular expressions graphically

PKG_DESTDIR_SUPPORT=	user-destdir

NO_BUILD=	yes
USE_TOOLS+=	wish:run

SUBST_CLASSES+=		wish
SUBST_MESSAGE.wish=	Fixing a hardcoded command.
SUBST_STAGE.wish=	pre-configure
SUBST_FILES.wish=	visual_regexp.tcl
SUBST_SED.wish=		-e 's,wish8.3,${WISH},g'

SUBST_CLASSES+=		command
SUBST_MESSAGE.command=	Fixing command names.
SUBST_STAGE.command=	pre-configure
SUBST_FILES.command=	visual_regexp.tcl
SUBST_SED.command=	-e 's,tkregexp,visual_regexp,g'

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/visual_regexp.tcl \
	    ${DESTDIR}${PREFIX}/bin/visual_regexp

.include "../../mk/bsd.pkg.mk"