aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-11-14 01:08:16 +0800
committergahr <gahr@FreeBSD.org>2013-11-14 01:08:16 +0800
commit5a5864aec09df94faa81733c568af77c429d05aa (patch)
tree5c599c2539ab5476be17b9fb675768078f5c0425 /misc
parent4d3105e484768a65b906a92d37055ecdb7746b98 (diff)
downloadfreebsd-ports-gnome-5a5864aec09df94faa81733c568af77c429d05aa.tar.gz
freebsd-ports-gnome-5a5864aec09df94faa81733c568af77c429d05aa.tar.zst
freebsd-ports-gnome-5a5864aec09df94faa81733c568af77c429d05aa.zip
- Convert to USES+=tk
- STAGE-clean - Take maintainership (tcltk@FreeBSD.org)
Diffstat (limited to 'misc')
-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