Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 17:40:13 +0400 (MSD)
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@neva.vlink.ru
Subject:   ports/96365: New port: devel/ztcl (zlib extension library for the TCL)
Message-ID:  <200604261340.k3QDeD24097327@neva.vlink.ru>
Resent-Message-ID: <200604261350.k3QDoGjf054528@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96365
>Category:       ports
>Synopsis:       New port: devel/ztcl (zlib extension library for the TCL)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 13:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD neva.vlink.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Mon Apr 3 09:27:04 MSD 2006 dsh@neva.vlink.ru:/var/FreeBSD/obj/var/FreeBSD/src/sys/MYNERIC i386


	
>Description:

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/

Dear commiter, please commit ports/96358 before. Thank you!

>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ztcl/
#	ztcl/files
#	ztcl/files/patch-Makefile.in
#	ztcl/files/patch-configure
#	ztcl/Makefile
#	ztcl/distinfo
#	ztcl/pkg-descr
#	ztcl/pkg-plist
#
echo c - ztcl/
mkdir -p ztcl/ > /dev/null 2>&1
echo c - ztcl/files
mkdir -p ztcl/files > /dev/null 2>&1
echo x - ztcl/files/patch-Makefile.in
sed 's/^X//' >ztcl/files/patch-Makefile.in << 'END-of-ztcl/files/patch-Makefile.in'
X--- Makefile.in.orig	Sat May 22 09:41:17 2004
X+++ Makefile.in	Wed Apr 26 11:24:40 2006
X@@ -42,7 +42,7 @@
X PACKAGE_NAME		= @PACKAGE_NAME@
X PACKAGE_VERSION		= @PACKAGE_VERSION@
X PACKAGE_XVERSION	= @PACKAGE_XVERSION@
X-PKG_DIR			= $(PACKAGE_NAME)_$(PACKAGE_VERSION)
X+PKG_DIR			= $(PACKAGE_NAME)
X 
X #PAGE
X ## ------------------------------------------------------------
X@@ -74,7 +74,7 @@
X 
X bindir		= @bindir@
X datadir		= @datadir@
X-docdir		= $(prefix)/doc
X+docdir		= @datadir@/doc
X includedir	= @includedir@
X infodir		= @infodir@
X libdir		= @libdir@
X@@ -265,15 +265,15 @@
X ## TCL Extension Architecture variables.
X ## ------------------------------------------------------------
X 
X-vpath	%.c	/home/devel/src/C/tcl/ztcl/main--1.0/generic
X-vpath	%.c	/home/devel/src/C/tcl/ztcl/main--1.0/.
X-vpath	%.c	/home/devel/src/C/tcl/ztcl/main--1.0/.
X-vpath	%.c	/home/devel/src/C/tcl/ztcl/main--1.0/.
X-
X-vpath	%.h	/home/devel/src/C/tcl/ztcl/main--1.0/generic
X-vpath	%.h	/home/devel/src/C/tcl/ztcl/main--1.0/.
X-vpath	%.h	/home/devel/src/C/tcl/ztcl/main--1.0/.
X-vpath	%.h	/home/devel/src/C/tcl/ztcl/main--1.0/.
X+vpath	%.c	./generic
X+vpath	%.c	.
X+vpath	%.c	.
X+vpath	%.c	.
X+
X+vpath	%.h	./generic
X+vpath	%.h	.
X+vpath	%.h	.
X+vpath	%.h	.
X 
X PACKAGE		= $(PACKAGE_NAME)
X PACKAGE_VERSION_MAJOR	= @PACKAGE_VERSION_MAJOR@
X@@ -329,7 +329,7 @@
X TCLSH_PROG	= @TCLSH_PROG@
X TCLSH		= $(TCLSH_ENV) $(TCLSH_PROG)
X 
X-INCLUDES	= @TCL_INCLUDES@
X+INCLUDES	= @TCL_INCLUDES@ -I $(includedir)
X 
X EXTRA_CFLAGS	= $(MEM_DEBUG_FLAGS) @EXTRA_CFLAGS@
X 
X@@ -416,11 +416,11 @@
X #   ma con estensione .lib; i due file vengono installati in directory
X #   diverse
X 
X-tea_SHARED_LIBNAME	= lib$(PACKAGE_NAME)$(PACKAGE_VERSION).so
X+tea_SHARED_LIBNAME	= lib$(PACKAGE_NAME)$(PACKAGE_VERSION).so.0
X tea_SHARED_LINKNAME1	= lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJMIN).so
X tea_SHARED_LINKNAME2	= lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJOR).so
X 
X-tea_SHARED_LIBNAME_DEBUG   = lib$(PACKAGE_NAME)$(PACKAGE_VERSION)g.so
X+tea_SHARED_LIBNAME_DEBUG   = lib$(PACKAGE_NAME)$(PACKAGE_VERSION)g.so.0
X tea_SHARED_LINKNAME1_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJMIN)g.so
X tea_SHARED_LINKNAME2_DEBUG = lib$(PACKAGE_NAME)$(PACKAGE_VERSION_MAJOR)g.so
X 
X@@ -589,7 +589,7 @@
X ## ------------------------------------------------------------
X 
X TCLSH			= @TCLSH@
X-TCLTESTMAIN		= /home/devel/src/C/tcl/ztcl/main--1.0/tests/all.tcl
X+TCLTESTMAIN		= ./tests/all.tcl
X 
X #test_TARGETS		=
X #test_CLEANFILES	=
X@@ -663,7 +663,7 @@
X ## Package documentation in Texinfo format.
X ## ------------------------------------------------------------
X 
X-doc_texinfo_SRCDIR	= /home/devel/src/C/tcl/ztcl/main--1.0/doc
X+doc_texinfo_SRCDIR	= ./doc
X doc_texinfo_SOURCES	= $(wildcard $(doc_texinfo_SRCDIR)/*.texi)
X 
X vpath	%.texi		$(doc_texinfo_SRCDIR)
END-of-ztcl/files/patch-Makefile.in
echo x - ztcl/files/patch-configure
sed 's/^X//' >ztcl/files/patch-configure << 'END-of-ztcl/files/patch-configure'
X--- configure.orig	Sat May 22 09:41:22 2004
X+++ configure	Wed Apr 26 12:01:02 2006
X@@ -3986,7 +3986,7 @@
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-ltclmorestub0.7 -ltclstub8.4 $LIBS"
X+LIBS="-ltclmorestub0.7 -ltclstub84 $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X #line $LINENO "configure"
X /* confdefs.h.  */
X@@ -7892,11 +7892,12 @@
X 		EXTRA_CFLAGS="-pthread"
X 	    	LDFLAGS="$LDFLAGS -pthread"
X 	    fi
X+	    SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}.0'
X 	    case $system in
X 	    FreeBSD-3.*)
X 	    	# FreeBSD-3 doesn't handle version numbers with dots.
X 	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
X-	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
X+	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0'
X 	    	TCL_LIB_VERSIONS_OK=nodots
X 		;;
X 	    esac
END-of-ztcl/files/patch-configure
echo x - ztcl/Makefile
sed 's/^X//' >ztcl/Makefile << 'END-of-ztcl/Makefile'
X# New ports collection makefile for:	ztcl
X# Date created:				Tue Apr 25 17:49:31 MSD 2006
X# Whom:					Denis Shaposhnikov <dsh@vlink.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ztcl
XPORTVERSION=	1.0b4
XCATEGORIES=	devel tcl84
XMASTER_SITES=	http://download.gna.org/ztcl/1.0/
XDISTNAME=	${PORTNAME}_${PORTVERSION}_src
X
XMAINTAINER=	dsh@vlink.ru
XCOMMENT=	A zlib extension library for the Tcl.
X
XLIB_DEPENDS+=	tclmore0.7:${PORTSDIR}/devel/tclmore
X
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XUSE_GMAKE=	yes
XUSE_TCL=	yes
XWRKSRC=		${WRKDIR}/${DISTNAME:S/_src$//}
X
XINFO=		${PORTNAME} ${PORTNAME}-zlib
X
XCONFIGURE_ARGS+=	--with-tcl=${TCL_LIBDIR} \
X		--with-tclinclude=${TCL_INCLUDEDIR} \
X		--with-tclmorescripts=${PREFIX}/libexec/tclmore
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS} -I ${PREFIX}/include -I ${TCL_INCLUDEDIR}" \
X		LDFLAGS="${LDFLAGS} -L ${PREFIX}/lib"
XMAKE_ENV+=	CPPFLAGS="${CPPFLAGS} -I ${PREFIX}/include -I ${TCL_INCLUDEDIR}" \
X		LDFLAGS="${LDFLAGS} -L ${PREFIX}/lib"
X
Xpost-extract:
X	${MV} ${WRKSRC}/doc/zlib.texi ${WRKSRC}/doc/${PORTNAME}-zlib.texi
X
X.include <bsd.port.mk>
END-of-ztcl/Makefile
echo x - ztcl/distinfo
sed 's/^X//' >ztcl/distinfo << 'END-of-ztcl/distinfo'
XMD5 (ztcl_1.0b4_src.tar.gz) = 32c2ae026ca12a370b56f7f1155ae90c
XSHA256 (ztcl_1.0b4_src.tar.gz) = 4d9403bce2166778498f1742e0fc423b677a820484c53e0b99710fb22fd74042
XSIZE (ztcl_1.0b4_src.tar.gz) = 197038
END-of-ztcl/distinfo
echo x - ztcl/pkg-descr
sed 's/^X//' >ztcl/pkg-descr << 'END-of-ztcl/pkg-descr'
XZTCL is an extension library for TCL written in the C language. It
Ximplements an interface to the ZLIB compression and decompression
Xlibrary, the one used by GZIP.
X
XWWW: http://gna.org/projects/ztcl/
END-of-ztcl/pkg-descr
echo x - ztcl/pkg-plist
sed 's/^X//' >ztcl/pkg-plist << 'END-of-ztcl/pkg-plist'
Xinclude/ztcl.h
Xinclude/ztclDecls.h
Xlib/libztcl1.0.4.so.0
Xlib/libztcl1.0.so
Xlib/libztcl1.so
Xlib/libztclstub1.0.4.a
Xlib/libztclstub1.0.a
Xlib/libztclstub1.a
Xlib/ztcl/pkgIndex.tcl
Xshare/aclocal/ztcl.m4
X%%DOCSDIR%%/ztcl/DESCRIPTION.txt
X%%DOCSDIR%%/ztcl/HTML/ztcl-zlib.html
X%%DOCSDIR%%/ztcl/HTML/ztcl.html
X%%DOCSDIR%%/ztcl/INSTALL
X%%DOCSDIR%%/ztcl/README
X%%DOCSDIR%%/ztcl/license.terms
X@dirrm lib/ztcl
X@dirrm %%DOCSDIR%%/ztcl/HTML
X@dirrm %%DOCSDIR%%/ztcl
END-of-ztcl/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604261340.k3QDeD24097327>