Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 13:09:11 +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: r334313 - head/devel/tkcvs
Message-ID:  <201311191309.rAJD9BpZ010865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Nov 19 13:09:11 2013
New Revision: 334313
URL: http://svnweb.freebsd.org/changeset/ports/334313

Log:
  - Convert to USES=tk

Modified:
  head/devel/tkcvs/Makefile   (contents, props changed)

Modified: head/devel/tkcvs/Makefile
==============================================================================
--- head/devel/tkcvs/Makefile	Tue Nov 19 13:05:33 2013	(r334312)
+++ head/devel/tkcvs/Makefile	Tue Nov 19 13:09:11 2013	(r334313)
@@ -15,11 +15,14 @@ LICENSE=	GPLv2
 RUN_DEPENDS=	tkdiff:${PORTSDIR}/textproc/tkdiff
 
 NO_BUILD=	yes
-USE_TCL_WRAPPER=yes
-USE_TK_WRAPPER=	yes
+USES=		tk
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${FIND} ${WRKSRC} -type f | ${XARGS} \
+	    ${REINPLACE_CMD} -e '/^exec wish/s|wish|${WISH}|g' -e '/^exec tclsh/s|tclsh|${TCLSH}|g'
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tkcvs/tkcvs ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/tkcvs/tkcvs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1



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