aboutsummaryrefslogtreecommitdiff
path: root/devel/SpecTcl/Makefile
diff options
context:
space:
mode:
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