aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/tclExpat/Makefile22
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}/