summaryrefslogtreecommitdiff
path: root/devel/tcl8-thread
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tcl8-thread')
-rw-r--r--devel/tcl8-thread/Makefile49
-rw-r--r--devel/tcl8-thread/distinfo3
-rw-r--r--devel/tcl8-thread/pkg-descr3
-rw-r--r--devel/tcl8-thread/pkg-plist7
4 files changed, 62 insertions, 0 deletions
diff --git a/devel/tcl8-thread/Makefile b/devel/tcl8-thread/Makefile
new file mode 100644
index 000000000000..7f432d1ecd1b
--- /dev/null
+++ b/devel/tcl8-thread/Makefile
@@ -0,0 +1,49 @@
+PORTNAME= thread
+PORTVERSION= 2.8.12
+CATEGORIES= devel
+MASTER_SITES= SF/tcl/Tcl/8.6.17/
+PKGNAMEPREFIX= tcl8-
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= tcltk@FreeBSD.org
+COMMENT= Scripting level thread extension for Tcl
+WWW= https://wiki.tcl.tk/2770
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.terms
+
+USES= tcl:86,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:^2\.
+
+post-patch:
+ @${REINPLACE_CMD} "/INSTALL_LIBRARY=/s|'\$$| -s'|" \
+ ${WRKSRC}/tclconfig/tcl.m4
+
+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/tcl8-thread/distinfo b/devel/tcl8-thread/distinfo
new file mode 100644
index 000000000000..a3f8d237e4d8
--- /dev/null
+++ b/devel/tcl8-thread/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755523715
+SHA256 (thread2.8.12.tar.gz) = a3dbf0ad70ae37a5e344748881a51c8b1aa0e1ba26cb57dab5ce47ff597b9525
+SIZE (thread2.8.12.tar.gz) = 343756
diff --git a/devel/tcl8-thread/pkg-descr b/devel/tcl8-thread/pkg-descr
new file mode 100644
index 000000000000..bbf8f7d97f85
--- /dev/null
+++ b/devel/tcl8-thread/pkg-descr
@@ -0,0 +1,3 @@
+Tcl 8.x Thread extension
+
+Script-level access to Tcl threading capabilities.
diff --git a/devel/tcl8-thread/pkg-plist b/devel/tcl8-thread/pkg-plist
new file mode 100644
index 000000000000..6dd31ea4f498
--- /dev/null
+++ b/devel/tcl8-thread/pkg-plist
@@ -0,0 +1,7 @@
+lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so
+lib/%%TCL_PKG%%/ttrace.tcl
+lib/%%TCL_PKG%%/pkgIndex.tcl
+share/man/mann/thread.n.gz
+share/man/mann/tpool.n.gz
+share/man/mann/tsv.n.gz
+share/man/mann/ttrace.n.gz