aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/