Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 17:08:16 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333711 - head/misc/tkregexp
Message-ID:  <201311131708.rADH8G6Y014177@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Nov 13 17:08:16 2013
New Revision: 333711
URL: http://svnweb.freebsd.org/changeset/ports/333711

Log:
  - Convert to USES+=tk
  - STAGE-clean
  - Take maintainership (tcltk@FreeBSD.org)

Modified:
  head/misc/tkregexp/Makefile   (contents, props changed)
  head/misc/tkregexp/distinfo   (contents, props changed)

Modified: head/misc/tkregexp/Makefile
==============================================================================
--- head/misc/tkregexp/Makefile	Wed Nov 13 16:54:21 2013	(r333710)
+++ head/misc/tkregexp/Makefile	Wed Nov 13 17:08:16 2013	(r333711)
@@ -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>

Modified: head/misc/tkregexp/distinfo
==============================================================================
--- head/misc/tkregexp/distinfo	Wed Nov 13 16:54:21 2013	(r333710)
+++ head/misc/tkregexp/distinfo	Wed Nov 13 17:08:16 2013	(r333711)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131708.rADH8G6Y014177>