diff options
author | pav <pav@FreeBSD.org> | 2006-04-29 23:47:14 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-04-29 23:47:14 +0800 |
commit | 116c972701dadde4cdf625dba791def6883056e4 (patch) | |
tree | 475218d9da94d4ab80a39d0ccc9af4c39b300726 | |
parent | 66121f41922be3b16e96d10bde740b1b5a261f29 (diff) | |
download | freebsd-ports-gnome-116c972701dadde4cdf625dba791def6883056e4.tar.gz freebsd-ports-gnome-116c972701dadde4cdf625dba791def6883056e4.tar.zst freebsd-ports-gnome-116c972701dadde4cdf625dba791def6883056e4.zip |
TCLMORE provides a few commands to TCL interpreters and a set of
functions accessible through the C interface. It is mostly a base
library for other extensions.
WWW: http://gna.org/projects/tclmore/
PR: ports/96358
Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/tclmore/Makefile | 31 | ||||
-rw-r--r-- | devel/tclmore/distinfo | 3 | ||||
-rw-r--r-- | devel/tclmore/files/patch-Makefile.in | 77 | ||||
-rw-r--r-- | devel/tclmore/files/patch-configure | 16 | ||||
-rw-r--r-- | devel/tclmore/pkg-descr | 5 | ||||
-rw-r--r-- | devel/tclmore/pkg-plist | 22 |
7 files changed, 155 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index cf7a1edd1b63..b2da96ab0fbf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1686,6 +1686,7 @@ SUBDIR += tclcl SUBDIR += tclgetopts SUBDIR += tcllib + SUBDIR += tclmore SUBDIR += tclreadline SUBDIR += tcltls SUBDIR += tclxml diff --git a/devel/tclmore/Makefile b/devel/tclmore/Makefile new file mode 100644 index 000000000000..00f4f1b13177 --- /dev/null +++ b/devel/tclmore/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: tclmore +# Date created: Tue Apr 25 16:20:49 MSD 2006 +# Whom: Denis Shaposhnikov <dsh@vlink.ru> +# +# $FreeBSD$ +# + +PORTNAME= tclmore +PORTVERSION= 0.7b1 +CATEGORIES= devel tcl84 +MASTER_SITES= http://download.gna.org/tclmore/0.7/ +DISTNAME= ${PORTNAME}_${PORTVERSION}_src + +MAINTAINER= dsh@vlink.ru +COMMENT= More TCL commands + +# USE_TCL only provides run depend. hack around +BUILD_DEPENDS= ${RUN_DEPENDS} + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_GMAKE= yes +USE_TCL= yes +WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//} + +INFO= ${PORTNAME} + +CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR} + +.include <bsd.port.mk> diff --git a/devel/tclmore/distinfo b/devel/tclmore/distinfo new file mode 100644 index 000000000000..184aade5b52d --- /dev/null +++ b/devel/tclmore/distinfo @@ -0,0 +1,3 @@ +MD5 (tclmore_0.7b1_src.tar.gz) = 0b93449da47f7b558d8af6329ac8c192 +SHA256 (tclmore_0.7b1_src.tar.gz) = 1f5e7c5ef3106307e2eeeaeda97db5a72417b0d6db8d01d22d1cf4a735c724ad +SIZE (tclmore_0.7b1_src.tar.gz) = 254926 diff --git a/devel/tclmore/files/patch-Makefile.in b/devel/tclmore/files/patch-Makefile.in new file mode 100644 index 000000000000..3ff329d4dbf4 --- /dev/null +++ b/devel/tclmore/files/patch-Makefile.in @@ -0,0 +1,77 @@ +--- Makefile.in.orig Fri May 21 20:24:36 2004 ++++ Makefile.in Wed Apr 26 11:01:49 2006 +@@ -44,7 +44,7 @@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PACKAGE_XVERSION = @PACKAGE_XVERSION@ +-PKG_DIR = $(PACKAGE_NAME)_$(PACKAGE_VERSION) ++PKG_DIR = $(PACKAGE_NAME) + + #PAGE + ## ------------------------------------------------------------ +@@ -76,7 +76,7 @@ + + bindir = @bindir@ + datadir = @datadir@ +-docdir = $(prefix)/doc ++docdir = @datadir@/doc + includedir = @includedir@ + infodir = @infodir@ + libdir = @libdir@ +@@ -267,15 +267,15 @@ + ## TCL Extension Architecture variables. + ## ------------------------------------------------------------ + +-vpath %.c /home/devel/src/C/tcl/tclmore/main--0.7/generic +-vpath %.c /home/devel/src/C/tcl/tclmore/main--0.7/. +-vpath %.c /home/devel/src/C/tcl/tclmore/main--0.7/. +-vpath %.c /home/devel/src/C/tcl/tclmore/main--0.7/. +- +-vpath %.h /home/devel/src/C/tcl/tclmore/main--0.7/generic +-vpath %.h /home/devel/src/C/tcl/tclmore/main--0.7/. +-vpath %.h /home/devel/src/C/tcl/tclmore/main--0.7/. +-vpath %.h /home/devel/src/C/tcl/tclmore/main--0.7/. ++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@ +@@ -418,11 +418,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 + +@@ -591,7 +591,7 @@ + ## ------------------------------------------------------------ + + TCLSH = @TCLSH@ +-TCLTESTMAIN = /home/devel/src/C/tcl/tclmore/main--0.7/tests/all.tcl ++TCLTESTMAIN = ./tests/all.tcl + + #test_TARGETS = + #test_CLEANFILES = +@@ -665,7 +665,7 @@ + ## Package documentation in Texinfo format. + ## ------------------------------------------------------------ + +-doc_texinfo_SRCDIR = /home/devel/src/C/tcl/tclmore/main--0.7/doc ++doc_texinfo_SRCDIR = ./doc + doc_texinfo_SOURCES = $(wildcard $(doc_texinfo_SRCDIR)/*.texi) + + vpath %.texi $(doc_texinfo_SRCDIR) diff --git a/devel/tclmore/files/patch-configure b/devel/tclmore/files/patch-configure new file mode 100644 index 000000000000..1d7203d7ef2c --- /dev/null +++ b/devel/tclmore/files/patch-configure @@ -0,0 +1,16 @@ +--- configure.orig Fri May 21 20:24:40 2004 ++++ configure Wed Apr 26 10:55:55 2006 +@@ -7847,11 +7847,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/tclmore/pkg-descr b/devel/tclmore/pkg-descr new file mode 100644 index 000000000000..08903f7cd78e --- /dev/null +++ b/devel/tclmore/pkg-descr @@ -0,0 +1,5 @@ +TCLMORE provides a few commands to TCL interpreters and a set of +functions accessible through the C interface. It is mostly a base +library for other extensions. + +WWW: http://gna.org/projects/tclmore/ diff --git a/devel/tclmore/pkg-plist b/devel/tclmore/pkg-plist new file mode 100644 index 000000000000..4f755db20c77 --- /dev/null +++ b/devel/tclmore/pkg-plist @@ -0,0 +1,22 @@ +include/tclmore.h +include/tclmoreDecls.h +lib/libtclmore0.7.1.so.0 +lib/libtclmore0.7.so +lib/libtclmore0.so +lib/libtclmorestub0.7.1.a +lib/libtclmorestub0.7.a +lib/libtclmorestub0.a +lib/tclmore/pkgIndex.tcl +libexec/tclmore/tclcommand.data2declaration +libexec/tclmore/tclcommand.tcl2data +share/aclocal/tclmore.m4 +%%DOCSDIR%%/BUGS +%%DOCSDIR%%/DESCRIPTION.txt +%%DOCSDIR%%/HTML/tclmore.html +%%DOCSDIR%%/INSTALL +%%DOCSDIR%%/README +%%DOCSDIR%%/license.terms +@dirrm lib/tclmore +@dirrm libexec/tclmore +@dirrm %%DOCSDIR%%/HTML +@dirrm %%DOCSDIR%% |