diff options
author | mm <mm@FreeBSD.org> | 2007-04-23 22:55:53 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-04-23 22:55:53 +0800 |
commit | 233a01377796d53c86307b64d3804d2c679e8074 (patch) | |
tree | 71c03a5b62d40b48366cf26455dc0e4a26f12fa3 /devel | |
parent | 9511a94f8b046045c2841555c368abb42c5b8b71 (diff) | |
download | freebsd-ports-gnome-233a01377796d53c86307b64d3804d2c679e8074.tar.gz freebsd-ports-gnome-233a01377796d53c86307b64d3804d2c679e8074.tar.zst freebsd-ports-gnome-233a01377796d53c86307b64d3804d2c679e8074.zip |
New port: devel/tclthread
Tcl Thread extension, script-level access to Tcl threading capabilities.
Approved by: garga (mentor)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/tclthread/Makefile | 61 | ||||
-rw-r--r-- | devel/tclthread/distinfo | 3 | ||||
-rw-r--r-- | devel/tclthread/pkg-descr | 5 | ||||
-rw-r--r-- | devel/tclthread/pkg-plist | 13 |
5 files changed, 83 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 01d2fb67e226..a3215654d482 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2124,6 +2124,7 @@ SUBDIR += tcllib SUBDIR += tclmore SUBDIR += tclreadline + SUBDIR += tclthread SUBDIR += tcltls SUBDIR += tclxml SUBDIR += tdl diff --git a/devel/tclthread/Makefile b/devel/tclthread/Makefile new file mode 100644 index 000000000000..358b94d5ff79 --- /dev/null +++ b/devel/tclthread/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: tclthread +# Date created: Mon Apr 23 10:55:00 CET 2007 +# Whom: Martin Matuska <mm@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= thread +PORTVERSION= 2.6.5 +CATEGORIES= devel tcl84 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= tcl +PKGNAMEPREFIX= tcl +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= mm@FreeBSD.org +COMMENT= Thread extension for Tcl + +USE_TCL= 84+ +USE_TCL_THREADS= yes + +DOCSDIR= ${TARGETDIR}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +GNU_CONFIGURE= yes +USE_LDCONFIG= ${PREFIX}/lib/thread${PORTVERSION} + +PLIST_SUB+= VERSION="${PORTVERSION}" + +INSTALL_TARGET= install-binaries install-libraries +.if !defined(NO_INSTALL_MANPAGES) +MANN= thread.n tpool.n tsv.n ttrace.n +INSTALL_TARGET+= install-doc +.endif + +OPTIONS= GDBM "include GDBM support" on + +.include <bsd.port.pre.mk> + +CONFIGURE_ARGS+= --with-tcl="${TCL_LIBDIR}" + +.if defined(WITH_GDBM) +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +CONFIGURE_ARGS+= --with-gdbm +CONFIGURE_ENV+= gincdir="${LOCALBASE}/include" glibdir="${LOCALBASE}/lib" +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/configure + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/html +.for FILE in ChangeLog README license.terms + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.for FILE in thread.html tpool.html tsv.html ttrace.html + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${DOCSDIR}/html +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/devel/tclthread/distinfo b/devel/tclthread/distinfo new file mode 100644 index 000000000000..5138512da477 --- /dev/null +++ b/devel/tclthread/distinfo @@ -0,0 +1,3 @@ +MD5 (thread2.6.5.tar.gz) = 3c69b4a891590f23bb79a1fa98d879f7 +SHA256 (thread2.6.5.tar.gz) = f7c2f0b6302eb89b362ef8f30e3cd2dab0e0ee183fdaacfcbf77621e549856c1 +SIZE (thread2.6.5.tar.gz) = 297777 diff --git a/devel/tclthread/pkg-descr b/devel/tclthread/pkg-descr new file mode 100644 index 000000000000..5bc5e1bc5d25 --- /dev/null +++ b/devel/tclthread/pkg-descr @@ -0,0 +1,5 @@ +Tcl Thread extension + +Script-level access to Tcl threading capabilities. + +WWW: http://wiki.tcl.tk/2770 diff --git a/devel/tclthread/pkg-plist b/devel/tclthread/pkg-plist new file mode 100644 index 000000000000..3380bccf95cc --- /dev/null +++ b/devel/tclthread/pkg-plist @@ -0,0 +1,13 @@ +lib/thread%%VERSION%%/libthread%%VERSION%%.so +lib/thread%%VERSION%%/ttrace.tcl +lib/thread%%VERSION%%/pkgIndex.tcl +%%PORTDOCS%%%%DOCSDIR%%/license.terms +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/html/thread.html +%%PORTDOCS%%%%DOCSDIR%%/html/tpool.html +%%PORTDOCS%%%%DOCSDIR%%/html/tsv.html +%%PORTDOCS%%%%DOCSDIR%%/html/ttrace.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm lib/thread%%VERSION%% |