aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkregexp/Makefile
blob: fc057da833a88a56c73481ae36ea602b804c0c58 (plain) (blame)
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
# Created by: Patrick Seal <patseal@hyperhost.net>
# $FreeBSD$

PORTNAME=   tkregexp
PORTVERSION=    3.1
CATEGORIES= misc tk
MASTER_SITES=   http://laurent.riesterer.free.fr/regexp/
DISTNAME=   visual_regexp-${PORTVERSION}
EXTRACT_SUFX=   .tcl
EXTRACT_ONLY=   

MAINTAINER= tcltk@FreeBSD.org
COMMENT=    Interactive regexp design tool

USES+=      tk
USE_DOS2UNIX=   visual_regexp-${PORTVERSION}.tcl
NO_BUILD=   yes
PLIST_FILES=    bin/tkregexp

WRKSRC=     ${WRKDIR}

post-extract:
    ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}

post-patch:
    ${REINPLACE_CMD} -e "1s|^\(.*\)|#!${WISH}|; 2d" ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>