Date: Tue, 19 Apr 2016 14:20:01 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413646 - in head: Mk/Uses devel/dbus-tcl devel/tcl-memchan devel/tcl-memchan/files devel/tcl-mmap devel/tcl-signal devel/tcl-trf devel/tclbsd devel/tcllauncher devel/tclmore devel/tclo... Message-ID: <201604191420.u3JEK1vW023825@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Tue Apr 19 14:20:01 2016 New Revision: 413646 URL: https://svnweb.freebsd.org/changeset/ports/413646 Log: Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions. Quoting https://tcl.tk/doc/tea: "The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a set of guidelines and techniques for the distribution, configuration, compilation, and installation of Tcl extensions. TEA also provides a set of utilities that operate accordingly. Many Tcl extensions leverage the TEA utilities, which are designed to be easily customizable." To facilitate the porting of TEA-based extensions, I have added the new "tea" argument to USES=tcl. This argument prepares the autoconf environment by setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it tries to figure out the correct extension name, sets TCL_PKG accordingly, and adds it to PLIST_SUB. I have modified a few ports to take advantage of this. More will come. Modified: head/Mk/Uses/tcl.mk head/devel/dbus-tcl/Makefile head/devel/tcl-memchan/Makefile head/devel/tcl-memchan/files/patch-Makefile.in head/devel/tcl-memchan/pkg-plist head/devel/tcl-mmap/Makefile head/devel/tcl-signal/Makefile head/devel/tcl-trf/Makefile head/devel/tclbsd/Makefile head/devel/tcllauncher/Makefile head/devel/tclmore/Makefile head/devel/tcloo/Makefile head/devel/tcloo/pkg-plist head/devel/tclreadline/Makefile head/devel/tclreadline/pkg-plist head/devel/tclthread/Makefile head/devel/tclthread/pkg-plist head/devel/tcltls/Makefile head/devel/tclvfs/Makefile head/devel/tclvfs/pkg-plist head/devel/tclxml/Makefile head/devel/tclxml/pkg-plist head/lang/tclX/Makefile Modified: head/Mk/Uses/tcl.mk ============================================================================== --- head/Mk/Uses/tcl.mk Tue Apr 19 14:10:35 2016 (r413645) +++ head/Mk/Uses/tcl.mk Tue Apr 19 14:20:01 2016 (r413646) @@ -27,7 +27,7 @@ # # Usage: # -# USES+= PORT[:(VERSION|wrapper),build,run] +# USES+= PORT[:(VERSION|wrapper),build,run,tea] # # where PORT is one of: # @@ -53,6 +53,9 @@ # # Build-time / Run-time only dependencies can be specified with build or run. # +# Tea can be used for Tcl/Tk extensions that use the Tcl Extension Architecture +# [http://www.tcl.tk/doc/tea] and allows to set common autoconf parameters. +# # MAINTAINER: tcltk@FreeBSD.org .if ${USES:Mtk} || ${USES:Mtk\:*} @@ -200,6 +203,19 @@ RUN_DEPENDS+= ${_TCLTK_WRAPPER_PORT} LIB_DEPENDS+= ${_TCLTK_LIB_LINE} .endif +# Setup TEA stuff +.if ${tcl_ARGS:Mtea} +GNU_CONFIGURE= yes +TCL_PKG?= ${PORTNAME:C/^tcl(-?)//:C/(-?)tcl\$//}${PORTVERSION} +PLIST_SUB+= TCL_PKG=${TCL_PKG} +CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \ + --with-tcl=${TCL_LIBDIR} \ + --with-tcl-includes=${TCL_INCLUDEDIR} +. if ${_TCLTK_PORT} == "tk" +CONFIGURE_ARGS+=--with-tk=${TK_LIBDIR} +. endif +.endif + .endif # defined(_INCLUDE_USES_TCL_MK) .undef _TCLTK_IGNORE Modified: head/devel/dbus-tcl/Makefile ============================================================================== --- head/devel/dbus-tcl/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/dbus-tcl/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -21,10 +21,7 @@ PORTDOCS= * TEST_TARGET= do-test -USES= pkgconfig tcl:85+ -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --exec-prefix=${PREFIX} +USES= pkgconfig tcl:85+,tea PLIST_FILES= lib/dbus/libdbus21.so.1 \ lib/dbus/pkgIndex.tcl \ @@ -36,8 +33,8 @@ post-patch: do-test: DBUS=$$(${LOCALBASE}/bin/dbus-daemon --session --print-address --fork --print-pid); \ - DBUS_ADDR=$$(echo $$DBUS | awk '{print $$1}'); \ - DBUS_PID=$$(echo $$DBUS | awk '{print $$2}'); \ + DBUS_ADDR=$$(echo $$DBUS | ${AWK} '{print $$1}'); \ + DBUS_PID=$$(echo $$DBUS | ${AWK} '{print $$2}'); \ DBUS_ENV=DBUS_SESSION_BUS_ADDRESS=$$DBUS_ADDR; \ ${SETENV} ${MAKE_ENV} $$DBUS_ENV ${MAKE} -C ${WRKSRC} test; \ kill $$DBUS_PID Modified: head/devel/tcl-memchan/Makefile ============================================================================== --- head/devel/tcl-memchan/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-memchan/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -16,16 +16,9 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/tcllib/d WRKSRC= ${WRKDIR}/${DISTNAME} ALL_TARGET= binaries libraries doc-old +TEST_TARGET= test -USES+= tcl -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ - --exec-prefix=${PREFIX} - -# Too bad, n is no longer an acceptable section for bsd.man.mk -PLIST_SUB+= PORTVERSION=${PORTVERSION} - -regression-test test: - ${MAKE} -C ${WRKSRC} test +USES+= tcl:tea +TCL_PKG= Memchan${PORTVERSION} .include <bsd.port.mk> Modified: head/devel/tcl-memchan/files/patch-Makefile.in ============================================================================== --- head/devel/tcl-memchan/files/patch-Makefile.in Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-memchan/files/patch-Makefile.in Tue Apr 19 14:20:01 2016 (r413646) @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2010-12-10 22:24:41.000000000 +0100 -+++ Makefile.in 2014-02-17 15:55:10.000000000 +0100 -@@ -237,7 +237,7 @@ +--- Makefile.in.orig 2010-12-10 21:24:41 UTC ++++ Makefile.in +@@ -237,7 +237,7 @@ install-doc: doc @for i in $(DOC_NROFF); do \ echo "Installing $$i"; \ rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \ @@ -9,7 +9,7 @@ done test: binaries libraries -@@ -419,6 +419,7 @@ +@@ -419,6 +419,7 @@ install-lib-binaries: if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \ Modified: head/devel/tcl-memchan/pkg-plist ============================================================================== --- head/devel/tcl-memchan/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-memchan/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -1,6 +1,6 @@ -lib/Memchan%%PORTVERSION%%/libMemchan.so.1 -lib/Memchan%%PORTVERSION%%/libMemchanstub.a -lib/Memchan%%PORTVERSION%%/pkgIndex.tcl +lib/%%TCL_PKG%%/libMemchan.so.1 +lib/%%TCL_PKG%%/libMemchanstub.a +lib/%%TCL_PKG%%/pkgIndex.tcl include/memchan.h include/memchanDecls.h include/buf.h Modified: head/devel/tcl-mmap/Makefile ============================================================================== --- head/devel/tcl-mmap/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-mmap/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -11,17 +11,14 @@ COMMENT= New TCL channel type using mmap LICENSE= GPLv3 -USES+= tcl -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --prefix=${PREFIX} \ - --exec-prefix=${PREFIX} +USES+= tcl:tea -PLIST_FILES= lib/mmap${PORTVERSION}/pkgIndex.tcl \ - lib/mmap${PORTVERSION}/libmmap${PORTVERSION}.so \ - man/mann/tcl-mmap.n.gz +PLIST_FILES= lib/${TCL_PKG}/pkgIndex.tcl \ + lib/${TCL_PKG}/lib${TCL_PKG}.so \ + man/mann/${PORTNAME}.n.gz +TEST_TARGET= do-test -regression-test: build +do-test: cd ${WRKSRC}/tests; \ for t in *.tcl; \ do \ Modified: head/devel/tcl-signal/Makefile ============================================================================== --- head/devel/tcl-signal/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-signal/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -10,10 +10,9 @@ DISTNAME= signal_ext${PORTVERSION:R:R} MAINTAINER= tcltk@FreeBSD.org COMMENT= Dynamically loadable signal handling for Tcl/Tk scripts -USES+= tcl -GNU_CONFIGURE= yes +USES+= tcl:tea ALL_TARGET= signal.so -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} + CONFIGURE_ENV+= TCL_INC_DIR=${TCL_INCLUDEDIR} PLIST_FILES= lib/signal/signal.so \ Modified: head/devel/tcl-trf/Makefile ============================================================================== --- head/devel/tcl-trf/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcl-trf/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -14,19 +14,17 @@ COMMENT= Data conversion, digests, compr ALL_TARGET= all -USES+= tcl tar:bzip2 +USES+= tcl:tea tar:bzip2 USE_LDCONFIG= ${PREFIX}/lib/Trf DDIR= ${PREFIX}/lib/tcl${TCL_VER}/Trf CFLAGS+= -Wall -Werror -MAKE_ENV+= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \ - INSTALL_DATA="${INSTALL_DATA}" +MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" + +TEST_TARGET= do-test REINPLACE_ARGS= -i "" -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} \ - --with-tclinclude=${LOCALBASE}/include/tcl${TCL_VER} \ - --enable-static-zlib --enable-static-bzlib \ +CONFIGURE_ARGS+=--enable-static-zlib --enable-static-bzlib \ --enable-static-md5 .include <bsd.port.options.mk> @@ -58,7 +56,7 @@ do-install: ${INSTALL_MAN} $$m ${STAGEDIR}${MANNPREFIX}/man/mann/ ;\ done -check regression-test test: +do-test: @if ! ${PKG_BIN} info --quiet tcl-memchan; then \ ${PRINTF} "*****************\n%s\n*****************\n" \ "devel/tcl-memchan must be installed for the tests to work"; \ Modified: head/devel/tclbsd/Makefile ============================================================================== --- head/devel/tclbsd/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclbsd/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -14,18 +14,15 @@ LICENSE= MIT OPTIONS_DEFINE= DOCS PORTDOCS= bsd.pdf -USES= tcl -USE_AUTOTOOLS= autoconf +USES= autoreconf tcl:tea +TCL_PKG= BSD${PORTVERSION} USE_GITHUB= yes GH_ACCOUNT= flightaware -CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \ - --with-tcl=${TCL_LIBDIR} - -PLIST_FILES= lib/BSD${PORTVERSION}/bsd_procs.tcl \ - lib/BSD${PORTVERSION}/libBSD${PORTVERSION}.so \ - lib/BSD${PORTVERSION}/pkgIndex.tcl \ +PLIST_FILES= lib/${TCL_PKG}/bsd_procs.tcl \ + lib/${TCL_PKG}/lib${TCL_PKG}.so \ + lib/${TCL_PKG}/pkgIndex.tcl \ man/mann/bsd.n.gz post-install: Modified: head/devel/tcllauncher/Makefile ============================================================================== --- head/devel/tcllauncher/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcllauncher/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -16,18 +16,13 @@ LIB_DEPENDS= libtclx8.4.so:lang/tclX USE_GITHUB= yes GH_ACCOUNT= flightaware -USES+= tcl autoreconf -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --prefix=${PREFIX} \ - --exec-prefix=${PREFIX} - -LIBDIR= lib/Tcllauncher${PORTVERSION} +USES+= tcl:tea autoreconf +TCL_PKG= Tcllauncher${PORTVERSION} PLIST_FILES= bin/${PORTNAME} \ - ${LIBDIR}/tcllauncher.tcl \ - ${LIBDIR}/tcllauncher-support.tcl \ - ${LIBDIR}/pkgIndex.tcl \ + lib/${TCL_PKG}/tcllauncher.tcl \ + lib/${TCL_PKG}/tcllauncher-support.tcl \ + lib/${TCL_PKG}/pkgIndex.tcl \ man/mann/${PORTNAME}.n.gz .include <bsd.port.mk> Modified: head/devel/tclmore/Makefile ============================================================================== --- head/devel/tclmore/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclmore/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -11,15 +11,12 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= dsh@vlink.ru COMMENT= More TCL commands -USES= gmake makeinfo tcl -GNU_CONFIGURE= yes +USES= gmake makeinfo tcl:tea USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//} INFO= ${PORTNAME} -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --enable-threads MAKE_ENV+= STAGEDIR=${STAGEDIR} .include <bsd.port.mk> Modified: head/devel/tcloo/Makefile ============================================================================== --- head/devel/tcloo/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcloo/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -10,15 +10,16 @@ DISTNAME= TclOO+Package-${FOSSIL_CHECKIN MAINTAINER= tcltk@FreeBSD.org COMMENT= Implementation of TclOO for Tcl 8.5 +LICENSE= TclTk +LICENSE_NAME= Tcl/Tk License +LICENSE_FILE= ${WRKSRC}/license.terms +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + FOSSIL_CHECKIN= 0a6e9f1ea3 WRKSRC= ${WRKDIR}/${DISTNAME:S/+/_/} -USES+= tcl:85 USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --exec-prefix=${PREFIX} - -PLIST_SUB+= PORTVERSION=${PORTVERSION} +USES+= tcl:85,tea +TCL_PKG= TclOO${PORTVERSION} TEST_TARGET= test Modified: head/devel/tcloo/pkg-plist ============================================================================== --- head/devel/tcloo/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcloo/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -1,7 +1,7 @@ -lib/TclOO%%PORTVERSION%%/libTclOO.so.1 -lib/TclOO%%PORTVERSION%%/pkgIndex.tcl -lib/TclOO%%PORTVERSION%%/tclooConfig.sh -lib/TclOO%%PORTVERSION%%/libTclOOstub.a +lib/%%TCL_PKG%%/libTclOO.so.1 +lib/%%TCL_PKG%%/pkgIndex.tcl +lib/%%TCL_PKG%%/tclooConfig.sh +lib/%%TCL_PKG%%/libTclOOstub.a include/tclOO.h include/tclOODecls.h man/mann/class.n.gz Modified: head/devel/tclreadline/Makefile ============================================================================== --- head/devel/tclreadline/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclreadline/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -10,14 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= tcltk@FreeBSD.org COMMENT= GNU readline for TCL -USES= libtool tcl readline -GNU_CONFIGURE= yes +USES= libtool tcl:tea readline USE_LDCONFIG= yes - -PLIST_SUB+= VERSION="${PORTVERSION}" - -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --with-tcl-includes=${TCL_INCLUDEDIR} +TCL_PKG= ${PORTNAME}${PORTVERSION} +PLIST_SUB+= PORTVERSION=${PORTVERSION} post-patch: ${REINPLACE_CMD} \ Modified: head/devel/tclreadline/pkg-plist ============================================================================== --- head/devel/tclreadline/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclreadline/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -1,9 +1,9 @@ include/tclreadline.h -lib/libtclreadline-%%VERSION%%.so +lib/libtclreadline-%%PORTVERSION%%.so lib/libtclreadline.a lib/libtclreadline.so -lib/tclreadline%%VERSION%%/pkgIndex.tcl -lib/tclreadline%%VERSION%%/tclreadlineCompleter.tcl -lib/tclreadline%%VERSION%%/tclreadlineInit.tcl -lib/tclreadline%%VERSION%%/tclreadlineSetup.tcl +lib/%%TCL_PKG%%/pkgIndex.tcl +lib/%%TCL_PKG%%/tclreadlineCompleter.tcl +lib/%%TCL_PKG%%/tclreadlineInit.tcl +lib/%%TCL_PKG%%/tclreadlineSetup.tcl man/mann/tclreadline.n.gz Modified: head/devel/tclthread/Makefile ============================================================================== --- head/devel/tclthread/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclthread/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -14,14 +14,10 @@ COMMENT= Scripting level thread extensio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/license.terms -USES= autoreconf tcl +USES= autoreconf tcl:tea -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --prefix=${PREFIX} \ - --exec-prefix=${PREFIX} -USE_LDCONFIG= ${PREFIX}/lib/thread${PORTVERSION} +DOCSDIR= ${PREFIX}/share/doc/${TCL_PKG} +USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG} PLIST_SUB+= VERSION="${PORTVERSION}" Modified: head/devel/tclthread/pkg-plist ============================================================================== --- head/devel/tclthread/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclthread/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -1,6 +1,6 @@ -lib/thread%%VERSION%%/libthread%%VERSION%%.so -lib/thread%%VERSION%%/ttrace.tcl -lib/thread%%VERSION%%/pkgIndex.tcl +lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so +lib/%%TCL_PKG%%/ttrace.tcl +lib/%%TCL_PKG%%/pkgIndex.tcl man/mann/thread.n.gz man/mann/tpool.n.gz man/mann/tsv.n.gz Modified: head/devel/tcltls/Makefile ============================================================================== --- head/devel/tcltls/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tcltls/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -18,19 +18,14 @@ LICENSE_PERMS= dist-mirror dist-sell pkg OPTIONS_DEFINE= DOCS -USES+= tcl +USES+= tcl:tea USE_OPENSSL= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \ - --with-tcl=${TCL_LIBDIR} \ - --with-ssl-dir=${OPENSSLBASE} - -TCLPKG= tls${PORTVERSION} -WRKSRC= ${WRKDIR}/${TCLPKG} -PLIST_FILES= \ - lib/${TCLPKG}/libtls.so.1 \ - lib/${TCLPKG}/pkgIndex.tcl \ - lib/${TCLPKG}/tls.tcl +CONFIGURE_ARGS+=--with-ssl-dir=${OPENSSLBASE} + +WRKSRC= ${WRKDIR}/${TCL_PKG} +PLIST_FILES= lib/${TCL_PKG}/libtls.so.1 \ + lib/${TCL_PKG}/pkgIndex.tcl \ + lib/${TCL_PKG}/tls.tcl PORTDOCS= * INSTALL_TARGET= install-binaries install-doc Modified: head/devel/tclvfs/Makefile ============================================================================== --- head/devel/tclvfs/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclvfs/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -11,10 +11,7 @@ COMMENT= Tcl VirtualFileSystem layer LIB_DEPENDS= libTrf2.1.4.so:devel/tcl-trf -USES+= gmake tcl -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ - --prefix=${PREFIX} \ - -exec-prefix=${PREFIX} +USES+= gmake tcl:tea +TCL_PKG= vfs1.3 .include <bsd.port.mk> Modified: head/devel/tclvfs/pkg-plist ============================================================================== --- head/devel/tclvfs/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclvfs/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -1,28 +1,28 @@ -lib/vfs1.3/ftpvfs.tcl -lib/vfs1.3/httpvfs.tcl -lib/vfs1.3/libvfs1.3.so -lib/vfs1.3/mk4vfs.tcl -lib/vfs1.3/mk4vfscompat.tcl -lib/vfs1.3/pkgIndex.tcl -lib/vfs1.3/starkit.tcl -lib/vfs1.3/tarvfs.tcl -lib/vfs1.3/tclIndex -lib/vfs1.3/tclprocvfs.tcl -lib/vfs1.3/template/collatevfs.tcl -lib/vfs1.3/template/deltavfs.tcl -lib/vfs1.3/template/fishvfs.tcl -lib/vfs1.3/template/globfind.tcl -lib/vfs1.3/template/quotavfs.tcl -lib/vfs1.3/template/tdelta.tcl -lib/vfs1.3/template/templatevfs.tcl -lib/vfs1.3/template/versionvfs.tcl -lib/vfs1.3/testvfs.tcl -lib/vfs1.3/tkvfs.tcl -lib/vfs1.3/vfsUrl.tcl -lib/vfs1.3/vfsUtils.tcl -lib/vfs1.3/vfslib.tcl -lib/vfs1.3/webdavvfs.tcl -lib/vfs1.3/zipvfs.tcl -lib/vfs1.3/zipvfscompat.tcl +lib/%%TCL_PKG%%/ftpvfs.tcl +lib/%%TCL_PKG%%/httpvfs.tcl +lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so +lib/%%TCL_PKG%%/mk4vfs.tcl +lib/%%TCL_PKG%%/mk4vfscompat.tcl +lib/%%TCL_PKG%%/pkgIndex.tcl +lib/%%TCL_PKG%%/starkit.tcl +lib/%%TCL_PKG%%/tarvfs.tcl +lib/%%TCL_PKG%%/tclIndex +lib/%%TCL_PKG%%/tclprocvfs.tcl +lib/%%TCL_PKG%%/template/collatevfs.tcl +lib/%%TCL_PKG%%/template/deltavfs.tcl +lib/%%TCL_PKG%%/template/fishvfs.tcl +lib/%%TCL_PKG%%/template/globfind.tcl +lib/%%TCL_PKG%%/template/quotavfs.tcl +lib/%%TCL_PKG%%/template/tdelta.tcl +lib/%%TCL_PKG%%/template/templatevfs.tcl +lib/%%TCL_PKG%%/template/versionvfs.tcl +lib/%%TCL_PKG%%/testvfs.tcl +lib/%%TCL_PKG%%/tkvfs.tcl +lib/%%TCL_PKG%%/vfsUrl.tcl +lib/%%TCL_PKG%%/vfsUtils.tcl +lib/%%TCL_PKG%%/vfslib.tcl +lib/%%TCL_PKG%%/webdavvfs.tcl +lib/%%TCL_PKG%%/zipvfs.tcl +lib/%%TCL_PKG%%/zipvfscompat.tcl man/mann/vfs.n.gz man/mann/vfslib.n.gz Modified: head/devel/tclxml/Makefile ============================================================================== --- head/devel/tclxml/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclxml/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -19,14 +19,12 @@ PORTDOCS= README.xml html.xsl man.macros tcldom.html tcldom.xml tclxml.css tclxml.html tclxml.xml \ tclxslt.html tclxslt.xml transform.tcl txt.xsl -USES= tcl tar:xz +USES= tcl:tea tar:xz +TCL_PKG= Tclxml${PORTVERSION} +PLIST_SUB= PORTVERSION=${PORTVERSION} XML_CONFIG?= ${LOCALBASE}/bin/xml2-config -GNU_CONFIGURE= yes -USE_LDCONFIG?= ${PREFIX}/lib/Tclxml${PORTVERSION} -CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ - --with-tcl=${TCL_LIBDIR} \ - XML_CONFIG="${XML_CONFIG}" -PLIST_SUB= VER=${PORTVERSION} +USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG} +CONFIGURE_ARGS+=XML_CONFIG="${XML_CONFIG}" OPTIONS_DEFINE= DOCS MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib @@ -39,13 +37,9 @@ post-patch: @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ ${WRKSRC}/configure -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} post-install: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc) - @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.mk> Modified: head/devel/tclxml/pkg-plist ============================================================================== --- head/devel/tclxml/pkg-plist Tue Apr 19 14:10:35 2016 (r413645) +++ head/devel/tclxml/pkg-plist Tue Apr 19 14:20:01 2016 (r413646) @@ -3,24 +3,24 @@ include/tclxml/tcldom-libxml2.h include/tclxml/tcldom.h include/tclxml/tclxml-libxml2.h include/tclxml/tclxslt.h -lib/Tclxml%%VER%%/libTclxml%%VER%%.so -lib/Tclxml%%VER%%/libTclxmlstub%%VER%%.a -lib/Tclxml%%VER%%/pkgIndex.tcl -lib/Tclxml%%VER%%/process.tcl -lib/Tclxml%%VER%%/resources.tcl -lib/Tclxml%%VER%%/sgml-8.0.tcl -lib/Tclxml%%VER%%/sgml-8.1.tcl -lib/Tclxml%%VER%%/sgmlparser.tcl -lib/Tclxml%%VER%%/tcldom-libxml2.tcl -lib/Tclxml%%VER%%/tclparser-8.0.tcl -lib/Tclxml%%VER%%/tclparser-8.1.tcl -lib/Tclxml%%VER%%/tclxslt-libxslt.tcl -lib/Tclxml%%VER%%/utilities.tcl -lib/Tclxml%%VER%%/xml-8.0.tcl -lib/Tclxml%%VER%%/xml-8.1.tcl -lib/Tclxml%%VER%%/xml__tcl.tcl -lib/Tclxml%%VER%%/xmldep.tcl -lib/Tclxml%%VER%%/xmlswitch.tcl -lib/Tclxml%%VER%%/xpath.tcl -lib/Tclxml%%VER%%/xsltcache.tcl +lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so +lib/%%TCL_PKG%%/libTclxmlstub%%PORTVERSION%%.a +lib/%%TCL_PKG%%/pkgIndex.tcl +lib/%%TCL_PKG%%/process.tcl +lib/%%TCL_PKG%%/resources.tcl +lib/%%TCL_PKG%%/sgml-8.0.tcl +lib/%%TCL_PKG%%/sgml-8.1.tcl +lib/%%TCL_PKG%%/sgmlparser.tcl +lib/%%TCL_PKG%%/tcldom-libxml2.tcl +lib/%%TCL_PKG%%/tclparser-8.0.tcl +lib/%%TCL_PKG%%/tclparser-8.1.tcl +lib/%%TCL_PKG%%/tclxslt-libxslt.tcl +lib/%%TCL_PKG%%/utilities.tcl +lib/%%TCL_PKG%%/xml-8.0.tcl +lib/%%TCL_PKG%%/xml-8.1.tcl +lib/%%TCL_PKG%%/xml__tcl.tcl +lib/%%TCL_PKG%%/xmldep.tcl +lib/%%TCL_PKG%%/xmlswitch.tcl +lib/%%TCL_PKG%%/xpath.tcl +lib/%%TCL_PKG%%/xsltcache.tcl lib/TclxmlConfig.sh Modified: head/lang/tclX/Makefile ============================================================================== --- head/lang/tclX/Makefile Tue Apr 19 14:10:35 2016 (r413645) +++ head/lang/tclX/Makefile Tue Apr 19 14:20:01 2016 (r413646) @@ -17,13 +17,10 @@ LICENSE_PERMS= dist-mirror dist-sell pkg WRKSRC= ${WRKDIR}/${PORTNAME:tl}${PORTVERSION:R} -USES= alias tcl tar:bzip2 +USES= autoreconf alias tcl:tea tar:bzip2 USE_LDCONFIG= ${PREFIX}/lib/tclx${PORTVERSION:R} -USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ - --enable-shared \ - --with-help=Help \ - --with-tcl="${TCL_LIBDIR}" +CONFIGURE_ARGS+=--enable-shared \ + --with-help=Help PLIST_SUB= TCLX_VER=${PORTVERSION:R} ALL_TARGET= binaries libraries INSTALL_TARGET= install-binaries install-libraries
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604191420.u3JEK1vW023825>