Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 08:59:18 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332823 - in head/devel: . critcl critcl/files
Message-ID:  <201311050859.rA58xI79087143@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Nov  5 08:59:18 2013
New Revision: 332823
URL: http://svnweb.freebsd.org/changeset/ports/332823

Log:
  - New port: devel/critcl
  
    The C Runtime In Tcl, CriTcl for short, is a system to build C extension
    packages for Tcl on the fly, from C code embedded within Tcl scripts,
    for all who wish to make their code go faster.
  
    WWW: http://andreas-kupries.github.io/critcl/

Added:
  head/devel/critcl/
  head/devel/critcl/Makefile   (contents, props changed)
  head/devel/critcl/distinfo   (contents, props changed)
  head/devel/critcl/files/
  head/devel/critcl/files/patch-build.tcl   (contents, props changed)
  head/devel/critcl/files/patch-lib-critcl_Config   (contents, props changed)
  head/devel/critcl/pkg-descr   (contents, props changed)
  head/devel/critcl/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Nov  5 08:56:50 2013	(r332822)
+++ head/devel/Makefile	Tue Nov  5 08:59:18 2013	(r332823)
@@ -273,6 +273,7 @@
     SUBDIR += cproto
     SUBDIR += cpuflags
     SUBDIR += creduce
+    SUBDIR += critcl
     SUBDIR += cross-binutils
     SUBDIR += cross-gcc
     SUBDIR += cross-gdb

Added: head/devel/critcl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/Makefile	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,45 @@
+# Created by: gahr@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME=	critcl
+PORTVERSION=	3.1.10
+CATEGORIES=	devel
+
+MAINTAINER=	tcltk@FreeBSD.org
+COMMENT=	Compiled Runtime in Tcl
+
+OPTIONS_DEFINE=	DOCS
+
+USES+=		tcl
+USE_GITHUB=	yes
+GH_ACCOUNT=	andreas-kupries
+GH_COMMIT=	ea3f253
+
+PLIST_SUB+=	VER=${PORTVERSION}
+PORTDOCS=	*
+
+NO_BUILD=	yes
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS+=	dtplite:${PORTSDIR}/devel/tcllib
+.endif
+
+post-patch:
+	${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
+	${REINPLACE_CMD} -e 's|4603|4746|g' ${WRKSRC}/test/cproc.test
+	${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config
+
+do-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${TCLSH} build.tcl doc
+	cd ${WRKSRC}/embedded/www && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
+.endif
+	cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib
+
+regression-test:
+	cd ${WRKSRC} && ${TCLSH} test/all.tcl
+
+.include <bsd.port.mk>

Added: head/devel/critcl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/distinfo	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,2 @@
+SHA256 (critcl-3.1.10.tar.gz) = f8f599ce75ecbf90abfa23521f477ca206d9053eb1cfd39f5199cde4bd4613d0
+SIZE (critcl-3.1.10.tar.gz) = 1643940

Added: head/devel/critcl/files/patch-build.tcl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/files/patch-build.tcl	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,11 @@
+--- build.tcl.orig	2013-11-05 09:27:29.000000000 +0100
++++ build.tcl	2013-11-05 09:28:22.000000000 +0100
+@@ -249,7 +249,7 @@
+ 	set dsta [file dirname [file dirname [file normalize [info nameofexecutable]/___]]]
+     } else {
+ 	set dstl $dst
+-	set dsta [file dirname [findlib $dstl]]/bin
++	set dsta $dst/../bin
+     }
+ 
+     puts {Installing into:}

Added: head/devel/critcl/files/patch-lib-critcl_Config
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/files/patch-lib-critcl_Config	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,21 @@
+--- lib/critcl/Config.orig	2013-11-05 09:57:26.000000000 +0100
++++ lib/critcl/Config	2013-11-05 09:57:54.000000000 +0100
+@@ -52,13 +52,13 @@
+ # the "copy" option and then specifically setting the config bits that
+ # you want to change. See win32-x86_64-cl for an example.
+ 
+-compile         gcc -c -fPIC
+-version         gcc -v
+-link            gcc -shared
++compile         %%CC%% -c -fPIC
++version         %%CC%% -v
++link            %%CC%% -shared
+ include         -I
+ libinclude      -L
+-preproc_define  gcc -E -dM
+-preproc_enum    gcc -E
++preproc_define  %%CC%% -E -dM
++preproc_enum    %%CC%% -E
+ tclstubs        -DUSE_TCL_STUBS
+ tkstubs         -DUSE_TK_STUBS
+ debug_memory    -DTCL_MEM_DEBUG

Added: head/devel/critcl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/pkg-descr	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,5 @@
+The C Runtime In Tcl, CriTcl for short, is a system to build C extension
+packages for Tcl on the fly, from C code embedded within Tcl scripts,
+for all who wish to make their code go faster.
+
+WWW: http://andreas-kupries.github.io/critcl/

Added: head/devel/critcl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/critcl/pkg-plist	Tue Nov  5 08:59:18 2013	(r332823)
@@ -0,0 +1,114 @@
+bin/critcl
+lib/critcl-app%%VER%%/critcl.tcl
+lib/critcl-app%%VER%%/pkgIndex.tcl
+lib/critcl-app%%VER%%/runtime.tcl
+lib/critcl-app%%VER%%/tea/Config.in
+lib/critcl-app%%VER%%/tea/Makefile.in
+lib/critcl-app%%VER%%/tea/aclocal.m4
+lib/critcl-app%%VER%%/tea/configure.in
+lib/critcl-app%%VER%%/tea/tclconfig/README.txt
+lib/critcl-app%%VER%%/tea/tclconfig/install-sh
+lib/critcl-app%%VER%%/tea/tclconfig/tcl.m4
+lib/critcl-class1.0.6/class.h
+lib/critcl-class1.0.6/class.tcl
+lib/critcl-class1.0.6/pkgIndex.tcl
+lib/critcl-iassoc1.0.1/iassoc.h
+lib/critcl-iassoc1.0.1/iassoc.tcl
+lib/critcl-iassoc1.0.1/pkgIndex.tcl
+lib/critcl-platform/pkgIndex.tcl
+lib/critcl-platform/platform.tcl
+lib/critcl-platform/shell.tcl
+lib/critcl-util1/pkgIndex.tcl
+lib/critcl-util1/util.tcl
+lib/critcl%%VER%%/Config
+lib/critcl%%VER%%/critcl.tcl
+lib/critcl%%VER%%/critcl_c/cdata.c
+lib/critcl%%VER%%/critcl_c/header.c
+lib/critcl%%VER%%/critcl_c/pkginit.c
+lib/critcl%%VER%%/critcl_c/pkginitend.c
+lib/critcl%%VER%%/critcl_c/pkginittk.c
+lib/critcl%%VER%%/critcl_c/preload.c
+lib/critcl%%VER%%/critcl_c/stubs.c
+lib/critcl%%VER%%/critcl_c/stubs_e.c
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/X.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/Xatom.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/Xfuncproto.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/Xlib.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/Xutil.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/cursorfont.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/keysym.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/keysymdef.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/X11/tkIntXlibDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tcl.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tclDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tclPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tk.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tkDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.4/tkPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/X.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/Xatom.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/Xfuncproto.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/Xlib.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/Xutil.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/cursorfont.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/keysym.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/keysymdef.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/tk.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/X11/tkIntXlibDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tcl.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tclDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tclPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tk.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tkDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.5/tkPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/X.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/Xatom.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/Xfuncproto.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/Xlib.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/Xutil.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/cursorfont.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/keysym.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/keysymdef.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/tk.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/X11/tkIntXlibDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tcl.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tclDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tclPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tk.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tkDecls.h
+lib/critcl%%VER%%/critcl_c/tcl8.6/tkPlatDecls.h
+lib/critcl%%VER%%/critcl_c/tclAppInit.c
+lib/critcl%%VER%%/critcl_c/tkstubs.c
+lib/critcl%%VER%%/license.terms
+lib/critcl%%VER%%/pkgIndex.tcl
+lib/stubs/container.tcl
+lib/stubs/gen_decl.tcl
+lib/stubs/gen_header.tcl
+lib/stubs/gen_init.tcl
+lib/stubs/gen_lib.tcl
+lib/stubs/gen_macro.tcl
+lib/stubs/gen_slot.tcl
+lib/stubs/genframe.tcl
+lib/stubs/pkgIndex.tcl
+lib/stubs/reader.tcl
+lib/stubs/writer.tcl
+lib/util84/dict.tcl
+lib/util84/lassign.tcl
+lib/util84/pkgIndex.tcl
+@dirrm lib/util84
+@dirrm lib/stubs
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.6/X11
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.6
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.5/X11
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.5
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.4/X11
+@dirrm lib/critcl%%VER%%/critcl_c/tcl8.4
+@dirrm lib/critcl%%VER%%/critcl_c
+@dirrm lib/critcl%%VER%%
+@dirrm lib/critcl-util1
+@dirrm lib/critcl-platform
+@dirrm lib/critcl-iassoc1.0.1
+@dirrm lib/critcl-class1.0.6
+@dirrm lib/critcl-app%%VER%%/tea/tclconfig
+@dirrm lib/critcl-app%%VER%%/tea
+@dirrm lib/critcl-app%%VER%%



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