aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2007-04-05 20:37:59 +0800
committermm <mm@FreeBSD.org>2007-04-05 20:37:59 +0800
commit0f355ae726e36c86300b33373c0ec2a7ef5466c7 (patch)
treea5aed0cca5139887bb1b63d367464df96eba3e7c /lang
parentb09ea463b1f0397b1d05178040b0ecfefdbc4e64 (diff)
downloadfreebsd-ports-gnome-0f355ae726e36c86300b33373c0ec2a7ef5466c7.tar.gz
freebsd-ports-gnome-0f355ae726e36c86300b33373c0ec2a7ef5466c7.tar.zst
freebsd-ports-gnome-0f355ae726e36c86300b33373c0ec2a7ef5466c7.zip
- updated maintainer e-mail address.
- switched to new bsd.tcl.mk infrastructure. Approved by: garga (mentor)
Diffstat (limited to 'lang')
-rw-r--r--lang/xotcl/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/lang/xotcl/Makefile b/lang/xotcl/Makefile
index 17d1f6ecb01b..f0057a4187d9 100644
--- a/lang/xotcl/Makefile
+++ b/lang/xotcl/Makefile
@@ -11,16 +11,12 @@ PORTREVISION= 4
CATEGORIES?= lang tcl84
MASTER_SITES= http://media.wu-wien.ac.at/download/
-MAINTAINER= martin@matuska.org
+MAINTAINER= mm@FreeBSD.org
COMMENT= Object-oriented scripting language based on Tcl
-USE_TCL_VER?= 84
+USE_TCL= 84+
+USE_TCL_THREADS= yes
-.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85
-IGNORE= supported values for USE_TCL_VER are only 84 and 85
-.endif
-
-LIB_DEPENDS+= tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread
INSTALL_TARGET= install
ALL_TARGET= all test-nohttp
USE_GMAKE= yes
@@ -70,12 +66,12 @@ MAN1= xotclsh.1
CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
--libdir=${PREFIX}/lib \
--enable-threads \
- --with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads \
- --with-tclinclude=${LOCALBASE}/include/tcl${USE_TCL_VER:S/8/8./}/generic/ \
+ --with-tcl=${TCL_LIBDIR} \
+ --with-tclinclude=${TCL_INCLUDEDIR}/generic/ \
--with-xotclsh
post-patch:
- @${REINPLACE_CMD} -e 's|$${TCL_MINOR_VERSION}$${TCL_DBGX}|$${TCL_MINOR_VERSION}$${TCL_DBGX}-threads|g' \
+ @${REINPLACE_CMD} -e 's|TCLSH_PROG=".*"|TCLSH_PROG="${TCLSH}"|g' \
${WRKSRC}/configure
.if defined(AOLSERVER_XOTCL) # Install for aolserver module