diff options
Diffstat (limited to '')
-rw-r--r-- | devel/tcl9-thread/Makefile | 54 | ||||
-rw-r--r-- | devel/tcl9-thread/distinfo | 3 | ||||
-rw-r--r-- | devel/tcl9-thread/pkg-descr | 3 | ||||
-rw-r--r-- | devel/tcl9-thread/pkg-plist | 6 |
4 files changed, 66 insertions, 0 deletions
diff --git a/devel/tcl9-thread/Makefile b/devel/tcl9-thread/Makefile new file mode 100644 index 000000000000..476a489c7b10 --- /dev/null +++ b/devel/tcl9-thread/Makefile @@ -0,0 +1,54 @@ +PORTNAME= thread +PORTVERSION= 3.0.2 +CATEGORIES= devel +MASTER_SITES= SF/tcl/Tcl/9.0.2 +PKGNAMEPREFIX= tcl9- +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= tcltk@FreeBSD.org +COMMENT= Scripting level thread extension for Tcl 9 +WWW= https://wiki.tcl.tk/2770 + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/license.terms + +USES= tcl:90,tea + +DOCSDIR= ${PREFIX}/share/doc/${TCL_PKG} +USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG} + +PLIST_SUB+= VERSION="${PORTVERSION}" + +INSTALL_TARGET= install-binaries install-doc +TEST_TARGET= test + +OPTIONS_DEFINE= DOCS GDBM LMDB +OPTIONS_DEFAULT=GDBM +GDBM_DESC= Persistent shared variables using GDBM +LMDB_DESC= Persistent shared variables using LMDB +GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm +GDBM_CONFIGURE_WITH= gdbm +LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb +LMDB_CONFIGURE_WITH= lmdb + +PORTDOCS= * + +PORTSCOUT= limit:^3\. + +post-patch: + @${REINPLACE_CMD} "/INSTALL_LIBRARY=/s|'\$$| -s'|" \ + ${WRKSRC}/tclconfig/tcl.m4 + @${FIND} ${WRKSRC}/doc/man -name "*.n" | \ + while read f; \ + do \ + ${MV} "$${f}" "$$(echo $${f} | ${SED} 's|.n$$|.${TCL_PKG_LIB_PREFIX}.n|')"; \ + done + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/html +.for FILE in ChangeLog README + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} +.endfor + cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html + +.include <bsd.port.mk> diff --git a/devel/tcl9-thread/distinfo b/devel/tcl9-thread/distinfo new file mode 100644 index 000000000000..51723a070ff8 --- /dev/null +++ b/devel/tcl9-thread/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1754574219 +SHA256 (thread3.0.2.tar.gz) = fb565622621582ab81b958a5d6732846da2a455284f8a1fd82e821b5d093c590 +SIZE (thread3.0.2.tar.gz) = 342813 diff --git a/devel/tcl9-thread/pkg-descr b/devel/tcl9-thread/pkg-descr new file mode 100644 index 000000000000..1206678a5ab4 --- /dev/null +++ b/devel/tcl9-thread/pkg-descr @@ -0,0 +1,3 @@ +Tcl 9.x Thread extension + +Script-level access to Tcl threading capabilities. diff --git a/devel/tcl9-thread/pkg-plist b/devel/tcl9-thread/pkg-plist new file mode 100644 index 000000000000..54aaa3c6db20 --- /dev/null +++ b/devel/tcl9-thread/pkg-plist @@ -0,0 +1,6 @@ +lib/%%TCL_PKG%%/lib%%TCL_PKG_LIB_PREFIX%%%%TCL_PKG%%.so +lib/%%TCL_PKG%%/pkgIndex.tcl +share/man/mann/thread.%%TCL_PKG_LIB_PREFIX%%.n.gz +share/man/mann/tpool.%%TCL_PKG_LIB_PREFIX%%.n.gz +share/man/mann/tsv.%%TCL_PKG_LIB_PREFIX%%.n.gz +share/man/mann/ttrace.%%TCL_PKG_LIB_PREFIX%%.n.gz |