diff options
author | pav <pav@FreeBSD.org> | 2006-04-30 00:02:24 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-04-30 00:02:24 +0800 |
commit | 669a13759a88546c858d0aa1dd75bf34c40d598f (patch) | |
tree | 44211da0f4dfb38f902a23288022cad6bf057aaa /devel | |
parent | 45828c1f4b22a0d03d3e168123b5d5cebc61d16a (diff) | |
download | freebsd-ports-gnome-669a13759a88546c858d0aa1dd75bf34c40d598f.tar.gz freebsd-ports-gnome-669a13759a88546c858d0aa1dd75bf34c40d598f.tar.zst freebsd-ports-gnome-669a13759a88546c858d0aa1dd75bf34c40d598f.zip |
ZTCL is an extension library for TCL written in the C language. It
implements an interface to the ZLIB compression and decompression
library, the one used by GZIP.
WWW: http://gna.org/projects/ztcl/
PR: ports/96365
Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ztcl/Makefile | 40 | ||||
-rw-r--r-- | devel/ztcl/distinfo | 3 | ||||
-rw-r--r-- | devel/ztcl/files/patch-Makefile.in | 86 | ||||
-rw-r--r-- | devel/ztcl/files/patch-configure | 25 | ||||
-rw-r--r-- | devel/ztcl/pkg-descr | 5 | ||||
-rw-r--r-- | devel/ztcl/pkg-plist | 19 |
7 files changed, 179 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b2da96ab0fbf..3f5cd2ed9046 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1742,6 +1742,7 @@ SUBDIR += xxl SUBDIR += yasm SUBDIR += z80-asm + SUBDIR += ztcl SUBDIR += zthread SUBDIR += zziplib diff --git a/devel/ztcl/Makefile b/devel/ztcl/Makefile new file mode 100644 index 000000000000..4f6e60c82882 --- /dev/null +++ b/devel/ztcl/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: ztcl +# Date created: Tue Apr 25 17:49:31 MSD 2006 +# Whom: Denis Shaposhnikov <dsh@vlink.ru> +# +# $FreeBSD$ +# + +PORTNAME= ztcl +DISTVERSION= 1.0b4 +CATEGORIES= devel tcl84 +MASTER_SITES= http://download.gna.org/ztcl/1.0/ +DISTNAME= ${PORTNAME}_${DISTVERSION}_src + +MAINTAINER= dsh@vlink.ru +COMMENT= A zlib extension library for the Tcl + +LIB_DEPENDS= tclmore0.7:${PORTSDIR}/devel/tclmore +# USE_TCL only gives run dependency +BUILD_DEPENDS= ${RUN_DEPENDS} + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_GMAKE= yes +USE_TCL= yes +WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//} + +INFO= ${PORTNAME} ${PORTNAME}-zlib + +CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR} \ + --with-tclmorescripts=${PREFIX}/libexec/tclmore +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I ${PREFIX}/include -I ${TCL_INCLUDEDIR}" \ + LDFLAGS="${LDFLAGS} -L ${PREFIX}/lib" +MAKE_ENV+= CPPFLAGS="${CPPFLAGS} -I ${PREFIX}/include -I ${TCL_INCLUDEDIR}" \ + LDFLAGS="${LDFLAGS} -L ${PREFIX}/lib" + +post-extract: + ${MV} ${WRKSRC}/doc/zlib.texi ${WRKSRC}/doc/${PORTNAME}-zlib.texi + +.include <bsd.port.mk> diff --git a/devel/ztcl/distinfo b/devel/ztcl/distinfo new file mode 100644 index 000000000000..88d348f6c195 --- /dev/null +++ b/devel/ztcl/distinfo @@ -0,0 +1,3 @@ +MD5 (ztcl_1.0b4_src.tar.gz) = 32c2ae026ca12a370b56f7f1155ae90c +SHA256 (ztcl_1.0b4_src.tar.gz) = 4d9403bce2166778498f1742e0fc423b677a820484c53e0b99710fb22fd74042 +SIZE (ztcl_1.0b4_src.tar.gz) = 197038 diff --git a/devel/ztcl/files/patch-Makefile.in b/devel/ztcl/files/patch-Makefile.in new file mode 100644 index 000000000000..529f37071419 --- /dev/null +++ b/devel/ztcl/files/patch-Makefile.in @@ -0,0 +1,86 @@ +--- Makefile.in.orig Sat May 22 09:41:17 2004 ++++ Makefile.in Wed Apr 26 11:24:40 2006 +@@ -42,7 +42,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PACKAGE_XVERSION = @PACKAGE_XVERSION@ +-PKG_DIR = $(PACKAGE_NAME)_$(PACKAGE_VERSION) ++PKG_DIR = $(PACKAGE_NAME) + + #PAGE + ## ------------------------------------------------------------ +@@ -74,7 +74,7 @@ + + bindir = @bindir@ + datadir = @datadir@ +-docdir = $(prefix)/doc ++docdir = @datadir@/doc + includedir = @includedir@ + infodir = @infodir@ + libdir = @libdir@ +@@ -265,15 +265,15 @@ + ## TCL Extension Architecture variables. + ## ------------------------------------------------------------ + +-vpath %.c /home/devel/src/C/tcl/ztcl/main--1.0/generic +-vpath %.c /home/devel/src/C/tcl/ztcl/main--1.0/. +-vpath %.c /home/devel/src/C/tcl/ztcl/main--1.0/. +-vpath %.c /home/devel/src/C/tcl/ztcl/main--1.0/. +- +-vpath %.h /home/devel/src/C/tcl/ztcl/main--1.0/generic +-vpath %.h /home/devel/src/C/tcl/ztcl/main--1.0/. +-vpath %.h /home/devel/src/C/tcl/ztcl/main--1.0/. +-vpath %.h /home/devel/src/C/tcl/ztcl/main--1.0/. ++vpath %.c ./generic ++vpath %.c . ++vpath %.c . ++vpath %.c . ++ ++vpath %.h ./generic ++vpath %.h . ++vpath %.h . ++vpath %.h . + + PACKAGE = $(PACKAGE_NAME) + PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ +@@ -329,7 +329,7 @@ + TCLSH_PROG = @TCLSH_PROG@ + TCLSH = $(TCLSH_ENV) $(TCLSH_PROG) + +-INCLUDES = @TCL_INCLUDES@ ++INCLUDES = @TCL_INCLUDES@ -I $(includedir) + + EXTRA_CFLAGS = $(MEM_DEBUG_FLAGS) @EXTRA_CFLAGS@ + +@@ -416,11 +416,11 @@ + # ma con estensione .lib; i due file vengono installati in directory + # diverse + +-tea_SHARED_LIBNAME = lib$(PACKAGE_NAME)$(PACKAGE_VERSION).so ++tea_SHARED_LIBNAME = lib$(PACKAGE_NAME)$(PACKAGE_VERSION).so.0 + tea_SHARED_LINKNAME1 = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJMIN).so + tea_SHARED_LINKNAME2 = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJOR).so + +-tea_SHARED_LIBNAME_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION)g.so ++tea_SHARED_LIBNAME_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION)g.so.0 + tea_SHARED_LINKNAME1_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJMIN)g.so + tea_SHARED_LINKNAME2_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJOR)g.so + +@@ -589,7 +589,7 @@ + ## ------------------------------------------------------------ + + TCLSH = @TCLSH@ +-TCLTESTMAIN = /home/devel/src/C/tcl/ztcl/main--1.0/tests/all.tcl ++TCLTESTMAIN = ./tests/all.tcl + + #test_TARGETS = + #test_CLEANFILES = +@@ -663,7 +663,7 @@ + ## Package documentation in Texinfo format. + ## ------------------------------------------------------------ + +-doc_texinfo_SRCDIR = /home/devel/src/C/tcl/ztcl/main--1.0/doc ++doc_texinfo_SRCDIR = ./doc + doc_texinfo_SOURCES = $(wildcard $(doc_texinfo_SRCDIR)/*.texi) + + vpath %.texi $(doc_texinfo_SRCDIR) diff --git a/devel/ztcl/files/patch-configure b/devel/ztcl/files/patch-configure new file mode 100644 index 000000000000..64b0ffb85942 --- /dev/null +++ b/devel/ztcl/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Sat May 22 09:41:22 2004 ++++ configure Wed Apr 26 12:01:02 2006 +@@ -3986,7 +3986,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ltclmorestub0.7 -ltclstub8.4 $LIBS" ++LIBS="-ltclmorestub0.7 -ltclstub84 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -7892,11 +7892,12 @@ + EXTRA_CFLAGS="-pthread" + LDFLAGS="$LDFLAGS -pthread" + fi ++ SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}.0' + case $system in + FreeBSD-3.*) + # FreeBSD-3 doesn't handle version numbers with dots. + UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' ++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0' + TCL_LIB_VERSIONS_OK=nodots + ;; + esac diff --git a/devel/ztcl/pkg-descr b/devel/ztcl/pkg-descr new file mode 100644 index 000000000000..edf301fc2c9f --- /dev/null +++ b/devel/ztcl/pkg-descr @@ -0,0 +1,5 @@ +ZTCL is an extension library for TCL written in the C language. It +implements an interface to the ZLIB compression and decompression +library, the one used by GZIP. + +WWW: http://gna.org/projects/ztcl/ diff --git a/devel/ztcl/pkg-plist b/devel/ztcl/pkg-plist new file mode 100644 index 000000000000..04f67deb885f --- /dev/null +++ b/devel/ztcl/pkg-plist @@ -0,0 +1,19 @@ +include/ztcl.h +include/ztclDecls.h +lib/libztcl1.0.4.so.0 +lib/libztcl1.0.so +lib/libztcl1.so +lib/libztclstub1.0.4.a +lib/libztclstub1.0.a +lib/libztclstub1.a +lib/ztcl/pkgIndex.tcl +share/aclocal/ztcl.m4 +%%DOCSDIR%%/DESCRIPTION.txt +%%DOCSDIR%%/HTML/ztcl-zlib.html +%%DOCSDIR%%/HTML/ztcl.html +%%DOCSDIR%%/INSTALL +%%DOCSDIR%%/README +%%DOCSDIR%%/license.terms +@dirrm lib/ztcl +@dirrm %%DOCSDIR%%/HTML +@dirrm %%DOCSDIR%% |