diff options
author | rodent <rodent@pkgsrc.org> | 2015-04-04 12:54:07 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2015-04-04 12:54:07 +0000 |
commit | efe1557064d73a1efa3c8e5e0e2c0ceeccdcafac (patch) | |
tree | deca73b0f828592075ee96de2b6590fce4d8816c /lang/jimtcl/Makefile | |
parent | 312831f87cabe0d61b826bf4940095bc64fbd903 (diff) | |
download | pkgsrc-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/jimtcl/Makefile')
-rw-r--r-- | lang/jimtcl/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
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" |