Switch to tcl/tk 8.4, add tcl84 virtual category and bump PORTREVISION.

This commit is contained in:
Kris Kennaway 2003-08-17 01:51:48 +00:00
parent bbdc0e9163
commit 565e89d94e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87101
2 changed files with 4 additions and 3 deletions

View file

@ -7,14 +7,15 @@
PORTNAME= tkcon PORTNAME= tkcon
PORTVERSION= 2.2 PORTVERSION= 2.2
CATEGORIES= devel tk83 PORTREVISION= 1
CATEGORIES= devel tcl84 tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME} MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= ports@freebsd.org MAINTAINER= ports@freebsd.org
COMMENT= Tk console for Tcl COMMENT= Tk console for Tcl
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_REINPLACE= yes USE_REINPLACE= yes
NO_BUILD= yes NO_BUILD= yes

View file

@ -4,7 +4,7 @@
#!/bin/sh #!/bin/sh
# \ # \
-exec wish "$0" ${1+"$@"} -exec wish "$0" ${1+"$@"}
+if [ X$WISH != X ]; then exec $WISH "$0" -- "$@"; else exec wish8.3 "$0" -- "$@"; fi; +if [ X$WISH != X ]; then exec $WISH "$0" -- "$@"; else exec wish8.4 "$0" -- "$@"; fi;
# #
## tkcon.tcl ## tkcon.tcl