aboutsummaryrefslogtreecommitdiff
path: root/www/tdom/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-04-02 22:56:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-04-02 22:56:15 +0000
commitcfa7269b11b8bb50068e3ee5ee55b2fe716853e5 (patch)
tree9c339ce0cb216e4bfd3db6edb813dd8c416ee9c2 /www/tdom/Makefile
parent779cd6a87b1e70223ee1cd2d746ddb64160bfb9c (diff)
downloadports-cfa7269b11b8bb50068e3ee5ee55b2fe716853e5.tar.gz
ports-cfa7269b11b8bb50068e3ee5ee55b2fe716853e5.zip
Notes
Diffstat (limited to 'www/tdom/Makefile')
-rw-r--r--www/tdom/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/www/tdom/Makefile b/www/tdom/Makefile
index 130322d278d4..bed6221b1c6d 100644
--- a/www/tdom/Makefile
+++ b/www/tdom/Makefile
@@ -17,14 +17,8 @@ COMMENT= High performance XML data processing with Tcl (ARGS for OpenACS)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix
TDOMBASE= ${PREFIX}/lib/tdom${PORTVERSION}
-USE_TCL_VER?= 84
-
-.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85
-IGNORE= supported values for USE_TCL_VER are only 84 and 85
-.endif
-
-# by default we want a threaded build
-LIB_DEPENDS= tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread
+USE_TCL= 84+
+USE_TCL_THREADS= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
@@ -45,8 +39,8 @@ HTMLDOCS= category-index.html dom.html domDoc.html domNode.html \
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+= --enable-threads --disable-tdomalloc \
- --with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads \
- --with-tclinclude=${LOCALBASE}/include/tcl${USE_TCL_VER:S/8/8./} --prefix=${PREFIX}
+ --with-tcl=${TCL_LIBDIR} \
+ --with-tclinclude=${TCL_INCLUDEDIR} --prefix=${PREFIX}
post-install:
.if !defined(NOPORTDOCS)