summaryrefslogtreecommitdiff
path: root/lang/jimtcl/Makefile
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-10-25 19:03:05 +0000
committerkamil <kamil@pkgsrc.org>2016-10-25 19:03:05 +0000
commit32e028f55cbe0160fd49e8977844da7d0c666f75 (patch)
treef2dab5c0f0271401799f6d9e26f79f7e18e68f95 /lang/jimtcl/Makefile
parenta215e11144afb46e42bc7e503982410807898739 (diff)
downloadpkgsrc-32e028f55cbe0160fd49e8977844da7d0c666f75.tar.gz
Update jimtcl from 0.76 to 0.77
Local changes: - add test target - build and install optional modules (right now: oo, tree, binary, readline, rlprompt, mk, tclprefix, sqlite3, zlib, win32) - install shared library - simplify usage of the GitHub framework - use --docdir instead of the SUBST framework Upstream changelog ================== CHANGES SINCE VERSION 0.76 This release contains some bug fixes plus a number of additional features. A summary is below. See git for the full changelog. Thanks to everyone who contributed to this release. Bugs fixed in version 0.77 exec - better handline of pipeline abnormal termination exec - fix append redirection on Windows regsub - fix substitution with trailing backslash expr - improved mathfunc handling and pow/** chained tailcalls were not always being run Features added in version 0.77 Add support for configure --docdir=... Add support for jimsh --help Add support for booleans in string is and expressions (true, false, on, off, yes, no) aio - add sync, openssl bindings, posix locking expr - add support for atan2, hypot and fmod regexp, regsub: Add support for \D, \W and \S Add partial support for \A, \Z Add support for all character classes: [[::blank:]], [[::xdigit::]], etc. Update included sqlite3 to v3.14.1 Add $tcl_platform(engine) Add basic (optional) zlib support Add interp child interprester support oo: Add support for constructor, runs on new object creation Add support for unknown method Add Travis and AppVeyor continuous integration support Use pkg-config in configure to find packages if possibe Steve Bennett (steveb@workware.net.au) -- http://jim.tcl.tk/fossil/doc/www/www/news/
Diffstat (limited to 'lang/jimtcl/Makefile')
-rw-r--r--lang/jimtcl/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/lang/jimtcl/Makefile b/lang/jimtcl/Makefile
index 3a2e8a78487..42305914890 100644
--- a/lang/jimtcl/Makefile
+++ b/lang/jimtcl/Makefile
@@ -1,33 +1,30 @@
-# $NetBSD: Makefile,v 1.1 2015/04/04 12:54:07 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2016/10/25 19:03:05 kamil Exp $
-GITHUB_PROJECT= jimtcl
-DISTNAME= 0.76
-PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+DISTNAME= jimtcl-0.77
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}
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
+CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/jimtcl
+CONFIGURE_ARGS+= --full # Enable optional features
+CONFIGURE_ARGS+= --shared
+CONFIGURE_ARGS+= --disable-jim-regexp
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
+TEST_TARGET= test
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"