diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-07-31 15:36:11 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-07-31 15:36:11 +0000 |
commit | ad814bbdd7b4642d65b072647f3577e7b9e6c35d (patch) | |
tree | 69a2795d429a0e897a59d1468a5ae0dbf7f546fc /devel/tcl-memchan | |
parent | 3638ee2d00b57682468ca2b4253dfa45e4deeac4 (diff) | |
download | ports-ad814bbdd7b4642d65b072647f3577e7b9e6c35d.tar.gz ports-ad814bbdd7b4642d65b072647f3577e7b9e6c35d.zip |
Notes
Diffstat (limited to 'devel/tcl-memchan')
-rw-r--r-- | devel/tcl-memchan/Makefile | 49 | ||||
-rw-r--r-- | devel/tcl-memchan/distinfo | 1 | ||||
-rw-r--r-- | devel/tcl-memchan/files/patch-conf | 68 | ||||
-rw-r--r-- | devel/tcl-memchan/files/patch-mkin | 7 | ||||
-rw-r--r-- | devel/tcl-memchan/files/pkgIndex.tcl | 1 | ||||
-rw-r--r-- | devel/tcl-memchan/pkg-comment | 1 | ||||
-rw-r--r-- | devel/tcl-memchan/pkg-descr | 10 | ||||
-rw-r--r-- | devel/tcl-memchan/pkg-plist | 17 |
8 files changed, 154 insertions, 0 deletions
diff --git a/devel/tcl-memchan/Makefile b/devel/tcl-memchan/Makefile new file mode 100644 index 000000000000..1738b10c5c7b --- /dev/null +++ b/devel/tcl-memchan/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: TclTrf +# Date created: May 22, 2000 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +PORTNAME= memchan +PORTVERSION= 2.1p1 +CATEGORIES= devel tcl83 +MASTER_SITES= http://www.oche.de/~akupries/soft/memchan/download/ +PKGNAMEPREFIX= tcl- +DISTNAME= memchan${PORTVERSION} + +MAINTAINER= mi@aldan.algebra.com + +BUILD_DEPENDS= tclsh${TCLV}:${PORTSDIR}/lang/tcl${TCLVND} + +USE_OPENSSL= yes + +WRKSRC= ${WRKDIR}/${DISTNAME}/unix + +# Bzip2 library is also needed, but it requested implicitly below. +# Also, the current Bzip2 port only builds the static version :( +# bz2:${PORTSDIR}/archivers/bzip2 + +GNU_CONFIGURE= yes +PLIST_SUB+= TCLV=${TCLV} TCLVND=${TCLVND} +CONFIGURE_ARGS= --with-tcl-include-dir=${PREFIX}/include/tcl${TCLV} \ + --with-tcl-lib-dir=${PREFIX}/lib/tcl${TCLV} + +#ALL_TARGET= library + +USE_BZIP2= yes + +TCLV?= 8.3 +TCLVND= ${TCLV:S/.//} +DDIR= ${PREFIX}/lib/tcl${TCLV}/Trf + +do-install: + ${MKDIR} ${PREFIX}/lib/tcl${TCLV}/memchan + ${INSTALL_DATA} ${WRKSRC}/libmemchan${TCLVND}.so.1 ${FILESDIR}/pkgIndex.tcl \ + ${PREFIX}/lib/tcl${TCLV}/memchan +.ifndef(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/memchan + ${CP} -pR ${WRKSRC}/../doc/html/* ${PREFIX}/share/doc/memchan/ +.endif + +.include <bsd.port.mk> diff --git a/devel/tcl-memchan/distinfo b/devel/tcl-memchan/distinfo new file mode 100644 index 000000000000..900ac0832066 --- /dev/null +++ b/devel/tcl-memchan/distinfo @@ -0,0 +1 @@ +MD5 (memchan2.1p1.tar.bz2) = e28df221d9576a28c40416089a3640f1 diff --git a/devel/tcl-memchan/files/patch-conf b/devel/tcl-memchan/files/patch-conf new file mode 100644 index 000000000000..440bc58de650 --- /dev/null +++ b/devel/tcl-memchan/files/patch-conf @@ -0,0 +1,68 @@ +--- configure Sat Jan 15 15:51:23 2000 ++++ configure Mon May 22 18:04:39 2000 +@@ -1051,65 +1051,2 @@ + +- +-echo $ac_n "checking for tcl library""... $ac_c" 1>&6 +-echo "configure:1055: checking for tcl library" >&5 +-if eval "test \"`echo '$''{'memchan_cv_lib_TCL_LIB'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- memchan_cv_lib_TCL_LIB="" +- places="$TCL_LIB_DIR \ +- ../../tcl8.2.*/unix \ +- ../../tcl8.2/unix \ +- ../../tcl8.2b*/unix \ +- ../../tcl8.2a*/unix \ +- ../../tcl8.1.*/unix \ +- ../../tcl8.1/unix \ +- ../../tcl8.1b*/unix \ +- ../../tcl8.1a*/unix \ +- ../../tcl8.0.*/unix \ +- ../../tcl8.0/unix \ +- ../../tcl/unix \ +- ../../tcl \ +- $exec_prefix/lib \ +- $prefix/lib \ +- /usr/local/lib \ +- /usr/lib" +- for dir in $places; do +- if test -n "$memchan_cv_lib_TCL_LIB"; then +- break +- fi +- for version in 8.2 8.1.1 8.1 8.0.5 8.0.4 8.0.3 8.0 82 811 81 805 804 803 80 ""; do +- if test -n "$memchan_cv_lib_TCL_LIB"; then +- break +- fi +- for libsuff in .so ".so.*" .sl .a; do +- if test -n "$memchan_cv_lib_TCL_LIB"; then +- break +- fi +- if test -f $dir/libtcl$version$libsuff; then +- memchan_cv_lib_TCL_LIB="-L$dir -ltcl$version" +- TCL_LIB_DIR="$dir" +- fi +- done +- done +- done +-fi +- +-echo "$ac_t""$memchan_cv_lib_TCL_LIB" 1>&6 +- +-TCL_LIB="$memchan_cv_lib_TCL_LIB" +-if test -z "$TCL_LIB" ; then +- { echo "configure: error: not found; use --with-tcl-lib-dir=path" 1>&2; exit 1; } +-fi +- +- +- +-if eval "test \"`echo '$''{'memchan_cv_TCL_LIB_DIR'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- memchan_cv_TCL_LIB_DIR="$TCL_LIB_DIR" +-fi +- +-TCL_LIB_DIR="$memchan_cv_TCL_LIB_DIR" +- +- + #-------------------------------------------------------------------- diff --git a/devel/tcl-memchan/files/patch-mkin b/devel/tcl-memchan/files/patch-mkin new file mode 100644 index 000000000000..a46b291d7612 --- /dev/null +++ b/devel/tcl-memchan/files/patch-mkin @@ -0,0 +1,7 @@ +--- Makefile.in Sat Jan 15 15:51:20 2000 ++++ Makefile.in Mon May 22 18:08:28 2000 +@@ -244,3 +244,3 @@ + rm -f $(MEMCHAN_LIB_FILE) +- @MAKE_LIB@ ++ @MAKE_LIB@ -L$(prefix)/lib + $(RANLIB) $(MEMCHAN_LIB_FILE) diff --git a/devel/tcl-memchan/files/pkgIndex.tcl b/devel/tcl-memchan/files/pkgIndex.tcl new file mode 100644 index 000000000000..ffaedc1ddece --- /dev/null +++ b/devel/tcl-memchan/files/pkgIndex.tcl @@ -0,0 +1 @@ +package ifneeded Memchan 2.1.1 [list load $dir/libmemchan.so.1] diff --git a/devel/tcl-memchan/pkg-comment b/devel/tcl-memchan/pkg-comment new file mode 100644 index 000000000000..ea54a8191849 --- /dev/null +++ b/devel/tcl-memchan/pkg-comment @@ -0,0 +1 @@ +Two new channel types for in-memory channels in TCL8 diff --git a/devel/tcl-memchan/pkg-descr b/devel/tcl-memchan/pkg-descr new file mode 100644 index 000000000000..fce69a469d4a --- /dev/null +++ b/devel/tcl-memchan/pkg-descr @@ -0,0 +1,10 @@ +memchan is an extension library to the script language tcl, as created +by John Ousterhout. It provides two new channel types for in-memory +channels and the appropriate commands for their creation. + +They are useful to transfer large amounts of data between procedures or +interpreters, and additionally provide an easy interface to on-the-fly +generation of code too. No need to set or append to a string, just do a +simple puts. + +WWW: http://www.oche.de/~akupries/soft/memchan/ diff --git a/devel/tcl-memchan/pkg-plist b/devel/tcl-memchan/pkg-plist new file mode 100644 index 000000000000..3951e80b799a --- /dev/null +++ b/devel/tcl-memchan/pkg-plist @@ -0,0 +1,17 @@ +lib/tcl%%TCLV%%/memchan/libmemchan%%TCLVND%%.so.1 +lib/tcl%%TCLV%%/memchan/pkgIndex.tcl +@dirrm lib/tcl%%TCLV%%/memchan +share/doc/memchan/img/up.gif +share/doc/memchan/memchan_ack.html +share/doc/memchan/memchan_bdist.html +share/doc/memchan/memchan_cmac.html +share/doc/memchan/memchan_cmds.html +share/doc/memchan/memchan_compile.html +share/doc/memchan/memchan_ctea.html +share/doc/memchan/memchan_cunix.html +share/doc/memchan/memchan_cwin.html +share/doc/memchan/index.html +share/doc/memchan/memchan_where.html +share/doc/memchan/sitemap.html +@dirrm share/doc/memchan/img/ +@dirrm share/doc/memchan/ |