diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 2001-01-01 18:21:46 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 2001-01-01 18:21:46 +0000 |
commit | 3a0f2e562e2dc55b5d293b5bde079e7e000f236b (patch) | |
tree | 2ae34923caf9e65bc7b838208e4cc0450456f19b /devel/SpecTcl | |
parent | f315ab6c109a437df2d15d22637efca64e9d9451 (diff) | |
download | ports-3a0f2e562e2dc55b5d293b5bde079e7e000f236b.tar.gz ports-3a0f2e562e2dc55b5d293b5bde079e7e000f236b.zip |
make port prefix clean -> bump PORTREVISION
PR: 21081
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=36578
Diffstat (limited to 'devel/SpecTcl')
-rw-r--r-- | devel/SpecTcl/Makefile | 5 | ||||
-rw-r--r-- | devel/SpecTcl/files/patch-aa | 2 | ||||
-rw-r--r-- | devel/SpecTcl/files/patch-ab | 2 |
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` |