diff options
author | gahr <gahr@FreeBSD.org> | 2016-04-21 19:33:16 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2016-04-21 19:33:16 +0800 |
commit | aac577b29e7c8c670b8a66c39f62bad322857d03 (patch) | |
tree | c6cb1634ff4ea3d4c9f601585a6fc959826e2ff8 /lang/itcl | |
parent | 6430722ff2a915080b85d5e4136b10757a23a481 (diff) | |
download | freebsd-ports-gnome-aac577b29e7c8c670b8a66c39f62bad322857d03.tar.gz freebsd-ports-gnome-aac577b29e7c8c670b8a66c39f62bad322857d03.tar.zst freebsd-ports-gnome-aac577b29e7c8c670b8a66c39f62bad322857d03.zip |
Support Tk in USES=tk:tea. Convert more ports + minor fixes and modernization.
Diffstat (limited to 'lang/itcl')
-rw-r--r-- | lang/itcl/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lang/itcl/Makefile b/lang/itcl/Makefile index 50542ae4cce8..50551dbf383c 100644 --- a/lang/itcl/Makefile +++ b/lang/itcl/Makefile @@ -11,19 +11,13 @@ DISTNAME= itcl${PORTVERSION} MAINTAINER= erik@bz.bzflag.bz COMMENT= Object-oriented extension to Tcl [incr Tcl] -USES+= tcl +USES+= tcl:84+,tea USE_LDCONFIG= ${PREFIX}/lib/itcl${PORTVERSION:R} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} +TEST_TARGET= test -GNU_CONFIGURE= yes -CFLAGS+= -I${TCL_INCLUDEDIR}/generic -CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ - --with-tclinclude=${TCL_INCLUDEDIR} \ - --prefix=${PREFIX} \ - --exec-prefix=${PREFIX} -CONFIGURE_ENV+= ac_cv_c_tclh=${TCL_INCLUDEDIR}/unix PLIST_SUB+= PORTVERSION=${PORTVERSION} \ VERSION=${PORTVERSION:R} \ MAJOR=${PORTVERSION:R:R} \ @@ -36,10 +30,6 @@ post-patch: ${REINPLACE_CMD} -E '/^includedir/s|/include|/include/itcl${PORTVERSION:R}|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} -post-build test: - (cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \ - ${TCLSH} tests/all.tcl -load "load ./libitcl.so.1") - post-install: ${LN} -s libitcl.so.1 \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl${PORTVERSION:R:S/.//}.so |