diff options
author | mi <mi@FreeBSD.org> | 2010-11-30 04:37:09 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2010-11-30 04:37:09 +0800 |
commit | ef4704e738b4305c3fac7451f6b1ffcf0004a9b6 (patch) | |
tree | 7daf97c05e5273ebb6ea34dc1cfa3d9abd55855e /textproc | |
parent | fc2a49768e0f3cd1aca30f7342df13ac707aff83 (diff) | |
download | freebsd-ports-gnome-ef4704e738b4305c3fac7451f6b1ffcf0004a9b6.tar.gz freebsd-ports-gnome-ef4704e738b4305c3fac7451f6b1ffcf0004a9b6.tar.zst freebsd-ports-gnome-ef4704e738b4305c3fac7451f6b1ffcf0004a9b6.zip |
Switch to the USE_TCL API. This means, using Tcl-8.5 by default, which,
sadly, necessitates a PORTREVISION bump.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tclExpat/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/textproc/tclExpat/Makefile b/textproc/tclExpat/Makefile index f79c0894a9ac..82beee46dce5 100644 --- a/textproc/tclExpat/Makefile +++ b/textproc/tclExpat/Makefile @@ -7,24 +7,22 @@ PORTNAME= TclExpat PORTVERSION= 1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= textproc tcl MASTER_SITES= http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/ MAINTAINER= mi@aldan.algebra.com COMMENT= The TCL interface to Expat library -LIB_DEPENDS= tcl${TCL_DVER}:${PORTSDIR}/lang/tcl${TCL_DVER} \ - expat:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 USE_LDCONFIG= yes -TCL_VERSION?= 8.4 -TCL_DVER= ${TCL_VERSION:S/.//} -PLIST_SUB+= TCL_VERSION=${TCL_VERSION} +USE_TCL= 84+ +PLIST_SUB+= TCL_VERSION=${TCL_VER} MAKEFILE= ${FILESDIR}/Makefile -MAKE_ENV+= TCL_VERSION=${TCL_VERSION} +MAKE_ENV+= TCL_VERSION=${TCL_VER} # Remove the old version of expat bundled with the package: post-extract: @@ -32,14 +30,14 @@ post-extract: post-build test: ${LN} -sf libtclexpat.so ${WRKSRC}/tclexpat.so - cd ${WRKSRC} && tclsh${TCL_VERSION} test-break.tcl - cd ${WRKSRC} && tclsh${TCL_VERSION} test-continue.tcl - cd ${WRKSRC} && tclsh${TCL_VERSION} test-error.tcl + cd ${WRKSRC} && ${TCLSH} test-break.tcl + cd ${WRKSRC} && ${TCLSH} test-continue.tcl + cd ${WRKSRC} && ${TCLSH} test-error.tcl post-install: - ${MKDIR} ${LOCALBASE}/lib/tcl${TCL_VERSION}/${PORTNAME} + ${MKDIR} ${LOCALBASE}/lib/tcl${TCL_VER}/${PORTNAME} ${SED} 's|PREFIX|${PREFIX}|' < ${FILESDIR}/pkgIndex.tcl.in > \ - ${LOCALBASE}/lib/tcl${TCL_VERSION}/${PORTNAME}/pkgIndex.tcl + ${LOCALBASE}/lib/tcl${TCL_VER}/${PORTNAME}/pkgIndex.tcl .if !defined(NOPORTDOCS) ${MKDIR} ${LOCALBASE}/share/doc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/README ${LOCALBASE}/share/doc/${PORTNAME}/ |