1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Convert to USES+=tk

- STAGE-clean
- Take maintainership (tcltk@FreeBSD.org)
This commit is contained in:
Pietro Cerutti 2013-11-13 17:08:16 +00:00
parent ad8d42f1ab
commit 67c2b48f7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333711
2 changed files with 15 additions and 9 deletions

View File

@ -2,24 +2,30 @@
# $FreeBSD$
PORTNAME= tkregexp
PORTVERSION= 3.0
PORTREVISION= 3
PORTVERSION= 3.1
CATEGORIES= misc tk
MASTER_SITES= http://laurent.riesterer.free.fr/regexp/
DISTNAME= visual_regexp-${PORTVERSION}
EXTRACT_SUFX= .tcl
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Interactive regexp design tool
USE_TK_RUN= yes
USES+= tk
USE_DOS2UNIX= visual_regexp-${PORTVERSION}.tcl
NO_BUILD= yes
PLIST_FILES= bin/tkregexp
NO_STAGE= yes
WRKSRC= ${WRKDIR}
post-extract:
${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
post-patch:
@${REINPLACE_CMD} 's|wish8.3|${WISH}|' ${WRKSRC}/visual_regexp.tcl
${REINPLACE_CMD} -e "1s|^\(.*\)|#!${WISH}|; 2d" ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/visual_regexp.tcl ${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (visual_regexp-3.0.tar.gz) = 07a22a498e32476c7ae17b00d131c04a53def4e5f174ffe42ddbc42e44752c0f
SIZE (visual_regexp-3.0.tar.gz) = 25659
SHA256 (visual_regexp-3.1.tcl) = 153bccbce71da7b208f95abc7408a126f819e4a0e57ad053866080c82e282752
SIZE (visual_regexp-3.1.tcl) = 71183