aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tkp4
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2004-04-05 02:49:04 +0800
committermi <mi@FreeBSD.org>2004-04-05 02:49:04 +0800
commitb011f559decc458d1c4a18c5e6b39f23a44ea091 (patch)
tree115352d555dfb1f4948d82b448439aa36669b980 /devel/tkp4
parent4e93bfc0ae399273c9fcf7986ef696dbb7dc2577 (diff)
downloadfreebsd-ports-gnome-b011f559decc458d1c4a18c5e6b39f23a44ea091.tar.gz
freebsd-ports-gnome-b011f559decc458d1c4a18c5e6b39f23a44ea091.tar.zst
freebsd-ports-gnome-b011f559decc458d1c4a18c5e6b39f23a44ea091.zip
Make the wish-version selectable. Default to 8.4. Update master-site, and WWW.
Diffstat (limited to 'devel/tkp4')
-rw-r--r--devel/tkp4/Makefile10
-rw-r--r--devel/tkp4/pkg-descr2
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile
index 72c17efb5cd3..e30bb39c8e19 100644
--- a/devel/tkp4/Makefile
+++ b/devel/tkp4/Makefile
@@ -7,18 +7,20 @@
PORTNAME= tkp4
PORTVERSION= 1.12
-CATEGORIES= devel tk83
-MASTER_SITES= http://www.cuug.ab.ca/~macdonal/tkp4/
+CATEGORIES= devel tk83 tk84
+MASTER_SITES= http://www.timshel.ca/tkp4/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Tcl/Tk frontends to Perforce's p4
-RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
+RUN_DEPENDS= wish${TCL_VER}:${PORTSDIR}/x11-toolkits/tk${TCL_DVER} \
p4:${PORTSDIR}/devel/perforce
NO_BUILD= yes
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
+TCL_VER= 8.4
+TCL_DVER= ${TCL_VER:S/.//}
do-install:
${MKDIR} ${DATADIR}
@@ -31,7 +33,7 @@ do-install:
.include <bsd.port.pre.mk>
post-patch:
- ${REINPLACE_CMD} -e 's|wish|wish8.3|' ${WRKSRC}/tkp4
+ ${REINPLACE_CMD} -e 's|wish|wish${TCL_VER}|' ${WRKSRC}/tkp4
.if defined(PREFIX) && ${PREFIX} != "/usr/local"
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
`${GREP} -Fl /usr/local ${WRKSRC}/*`
diff --git a/devel/tkp4/pkg-descr b/devel/tkp4/pkg-descr
index b922bdb4d461..d13823cf228a 100644
--- a/devel/tkp4/pkg-descr
+++ b/devel/tkp4/pkg-descr
@@ -5,4 +5,4 @@ WWW: http://www.perforce.com/perforce/loadprog.html
The actual front-end is by Rick Macdonald <rickm@vsl.com>:
-WWW: http://www.cuug.ab.ca/~macdonal/tkp4/
+WWW: http://www.timshel.ca/tkp4/