aboutsummaryrefslogtreecommitdiff
path: root/devel/SpecTcl/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-01-01 18:21:46 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-01-01 18:21:46 +0000
commit3a0f2e562e2dc55b5d293b5bde079e7e000f236b (patch)
tree2ae34923caf9e65bc7b838208e4cc0450456f19b /devel/SpecTcl/Makefile
parentf315ab6c109a437df2d15d22637efca64e9d9451 (diff)
Notes
Diffstat (limited to 'devel/SpecTcl/Makefile')
-rw-r--r--devel/SpecTcl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/SpecTcl/Makefile b/devel/SpecTcl/Makefile
index 65be89921367..b36eeb8a21e8 100644
--- a/devel/SpecTcl/Makefile
+++ b/devel/SpecTcl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= SpecTcl
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= devel tk80
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/guitools/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -17,6 +18,10 @@ RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
NO_BUILD= yes
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/specTcl ${PREFIX}/bin