diff options
author | mi <mi@FreeBSD.org> | 2004-04-05 02:49:04 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2004-04-05 02:49:04 +0800 |
commit | b011f559decc458d1c4a18c5e6b39f23a44ea091 (patch) | |
tree | 115352d555dfb1f4948d82b448439aa36669b980 /devel/tkp4/Makefile | |
parent | 4e93bfc0ae399273c9fcf7986ef696dbb7dc2577 (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | devel/tkp4/Makefile | 10 |
1 files changed, 6 insertions, 4 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}/*` |