summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-04 12:54:07 +0000
committerrodent <rodent@pkgsrc.org>2015-04-04 12:54:07 +0000
commitefe1557064d73a1efa3c8e5e0e2c0ceeccdcafac (patch)
treedeca73b0f828592075ee96de2b6590fce4d8816c /lang
parent312831f87cabe0d61b826bf4940095bc64fbd903 (diff)
downloadpkgsrc-efe1557064d73a1efa3c8e5e0e2c0ceeccdcafac.tar.gz
Import jimtcl-0.76 as lang/jimtcl.
Jim is an opensource small-footprint implementation of the Tcl programming language. It implements a large subset of Tcl and adds new features like references with garbage collection, closures, built-in Object Oriented Programming system, Functional Programming commands, first-class arrays and UTF- 8 support. All this with a binary size of about 100-200kB (depending upon selected options). The Jim core is very stable. Jim passes over 3000 unit tests and many Tcl programs run unmodified. Jim is highly modular with the possiblity to configure many components as loadable modules, or omitted entirely. A number of extensions are included with Jim which may be built as loadable modules.
Diffstat (limited to 'lang')
-rw-r--r--lang/jimtcl/DESCR11
-rw-r--r--lang/jimtcl/Makefile33
-rw-r--r--lang/jimtcl/PLIST13
-rw-r--r--lang/jimtcl/distinfo5
4 files changed, 62 insertions, 0 deletions
diff --git a/lang/jimtcl/DESCR b/lang/jimtcl/DESCR
new file mode 100644
index 00000000000..eeffb3c671a
--- /dev/null
+++ b/lang/jimtcl/DESCR
@@ -0,0 +1,11 @@
+Jim is an opensource small-footprint implementation of the Tcl programming
+language. It implements a large subset of Tcl and adds new features like
+references with garbage collection, closures, built-in Object Oriented
+Programming system, Functional Programming commands, first-class arrays and UTF-
+8 support. All this with a binary size of about 100-200kB (depending upon
+selected options).
+
+The Jim core is very stable. Jim passes over 3000 unit tests and many Tcl
+programs run unmodified. Jim is highly modular with the possiblity to configure
+many components as loadable modules, or omitted entirely. A number of extensions
+are included with Jim which may be built as loadable modules.
diff --git a/lang/jimtcl/Makefile b/lang/jimtcl/Makefile
new file mode 100644
index 00000000000..3a2e8a78487
--- /dev/null
+++ b/lang/jimtcl/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2015/04/04 12:54:07 rodent Exp $
+
+GITHUB_PROJECT= jimtcl
+DISTNAME= 0.76
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=msteveb/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://jim.tcl.tk/
+COMMENT= Small footprint implementation of the Tcl programming language
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/jimtcl-0.76
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --prefix=${PREFIX:Q} --exec-prefix=${PREFIX:Q}
+
+REPLACE_INTERPRETER+= jimsh
+REPLACE.jimsh.old= /usr/bin/env jimsh
+REPLACE.jimsh.new= ${PREFIX}/bin/jimsh
+REPLACE_FILES.jimsh= build-jim-ext.in
+
+SUBST_CLASSES+= docdir
+SUBST_FILES.docdir= Makefile.in
+SUBST_MESSAGE.docdir= Fixing path to docdir.
+SUBST_SED.docdir= -e 's|$(prefix)/doc/jim|$(prefix)/share/doc/jimtcl|g'
+SUBST_STAGE.docdir= pre-configure
+
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/jimtcl/PLIST b/lang/jimtcl/PLIST
new file mode 100644
index 00000000000..9259f1b599a
--- /dev/null
+++ b/lang/jimtcl/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/04 12:54:07 rodent Exp $
+bin/build-jim-ext
+bin/jimsh
+include/jim-config.h
+include/jim-eventloop.h
+include/jim-signal.h
+include/jim-subcmd.h
+include/jim-win32compat.h
+include/jim.h
+lib/jim/README.extensions
+lib/jim/tcltest.tcl
+lib/libjim.a
+share/doc/jimtcl/Tcl.html
diff --git a/lang/jimtcl/distinfo b/lang/jimtcl/distinfo
new file mode 100644
index 00000000000..7c45115e5f3
--- /dev/null
+++ b/lang/jimtcl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/04 12:54:07 rodent Exp $
+
+SHA1 (jimtcl/0.76.tar.gz) = b1564098f9e5ed1a5b50afdf4555471662648494
+RMD160 (jimtcl/0.76.tar.gz) = 7f8e6d4229de1444447863d79bd0651615cca59b
+Size (jimtcl/0.76.tar.gz) = 2234431 bytes