aboutsummaryrefslogtreecommitdiff
path: root/misc/tkregexp
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-11-13 17:08:16 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-11-13 17:08:16 +0000
commit67c2b48f7b3fdd69d4a019e1482a6b7167ff2dbc (patch)
tree5c599c2539ab5476be17b9fb675768078f5c0425 /misc/tkregexp
parentad8d42f1ab78d1e732a6694b66d7f1a86d093e4e (diff)
downloadports-67c2b48f7b3fdd69d4a019e1482a6b7167ff2dbc.tar.gz
ports-67c2b48f7b3fdd69d4a019e1482a6b7167ff2dbc.zip
- Convert to USES+=tk
- STAGE-clean - Take maintainership (tcltk@FreeBSD.org)
Notes
Notes: svn path=/head/; revision=333711
Diffstat (limited to 'misc/tkregexp')
-rw-r--r--misc/tkregexp/Makefile20
-rw-r--r--misc/tkregexp/distinfo4
2 files changed, 15 insertions, 9 deletions
diff --git a/misc/tkregexp/Makefile b/misc/tkregexp/Makefile
index 51f506d5541b..fc057da833a8 100644
--- a/misc/tkregexp/Makefile
+++ b/misc/tkregexp/Makefile
@@ -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>
diff --git a/misc/tkregexp/distinfo b/misc/tkregexp/distinfo
index 47c70bc9376f..c697cff7069a 100644
--- a/misc/tkregexp/distinfo
+++ b/misc/tkregexp/distinfo
@@ -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