aboutsummaryrefslogtreecommitdiffstats
path: root/devel/SpecTcl
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-01-02 02:21:46 +0800
committerandreas <andreas@FreeBSD.org>2001-01-02 02:21:46 +0800
commit9f660127625813ded7150f30ab3cacd4d85d01c2 (patch)
treea773ba4745550c5226d42a80c4efeff28161bb2b /devel/SpecTcl
parent4112c4a99ea64b4e6ac2a4da43f9296e754e6906 (diff)
downloadfreebsd-ports-gnome-9f660127625813ded7150f30ab3cacd4d85d01c2.tar.gz
freebsd-ports-gnome-9f660127625813ded7150f30ab3cacd4d85d01c2.tar.zst
freebsd-ports-gnome-9f660127625813ded7150f30ab3cacd4d85d01c2.zip
make port prefix clean -> bump PORTREVISION
PR: 21081 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'devel/SpecTcl')
-rw-r--r--devel/SpecTcl/Makefile5
-rw-r--r--devel/SpecTcl/files/patch-aa2
-rw-r--r--devel/SpecTcl/files/patch-ab2
3 files changed, 7 insertions, 2 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
diff --git a/devel/SpecTcl/files/patch-aa b/devel/SpecTcl/files/patch-aa
index da3ccd3320fc..fef668eaa196 100644
--- a/devel/SpecTcl/files/patch-aa
+++ b/devel/SpecTcl/files/patch-aa
@@ -5,7 +5,7 @@
# Change DIR to the directory that contains the SpecTcl source files
-DIR=../SpecTcl
-+DIR=/usr/local/SpecTcl/lib
++DIR=%%PREFIX%%/SpecTcl/lib
# Change WISH to the pathname of your tk4.1a2 (or >) wish binary
-WISH=`which wish`
diff --git a/devel/SpecTcl/files/patch-ab b/devel/SpecTcl/files/patch-ab
index 989a413e26ae..f9936ddf949d 100644
--- a/devel/SpecTcl/files/patch-ab
+++ b/devel/SpecTcl/files/patch-ab
@@ -5,7 +5,7 @@
# Change DIR to the directory that contains the SpecTcl source files
-DIR=../SpecTcl
-+DIR=/usr/local/SpecTcl/lib
++DIR=%%PREFIX%%/SpecTcl/lib
# Change WISH to the pathname of your tk4.1a2 (or >) wish binary
-WISH=`which wish`