Default to Tcl-8.4, as neotcl and tclX do now.

Prompted by:	kris
This commit is contained in:
Mikhail Teterin 2004-04-16 20:08:19 +00:00
parent 52fc652591
commit 5fc2d96054
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107266
2 changed files with 9 additions and 5 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= neowebscript
PORTVERSION= 3.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www tcl83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nws
@ -20,8 +20,11 @@ LIB_DEPENDS= neo82:${PORTSDIR}/devel/tcl-neo
MAKEFILE= ${FILESDIR}/Makefile.bsd
WRKSRC= ${WRKDIR}/${DISTNAME}/modules
TCL_VERSION?= 8.4
MAKE_ENV+= FILESDIR="${FILESDIR}" INSTALL_DATA="${INSTALL_DATA}"
USE_PERL5_BUILD=yes
MAKE_ENV+= TCL_VERSION=${TCL_VERSION}
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
SUBDIRS= modules neowebscript htdocs # tools
@ -31,8 +34,9 @@ EXTRACT_AFTER_ARGS:=| ${TAR} -xf - ${SUBDIRS:%=${PORTNAME}-${PORTVERSION}/%}
post-patch:
# Replacing writeGIF with writePNG
${PERL} -pi -e 's/writeGIF/writePNG/g' \
`${FIND} ${WRKSRC}/.. -type f|${XARGS} fgrep -l --mmap writeGIF`
${REINPLACE_CMD} 's/writeGIF/writePNG/g' \
`${FIND} ${WRKSRC}/.. -type f | \
${XARGS} ${GREP} -F -l --mmap writeGIF`
pre-install:
# Removing *.orig files and empty directories:

View file

@ -1,4 +1,4 @@
TCL_VERSION?=8.3
TCL_VERSION?=8.4
TCL_NDVER?=${TCL_VERSION:S/.//} # same, but without the dot
PREFIX?= /usr/local