pkgsrc/lang/jimtcl/Makefile
rodent 107f8b48c2 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.
2015-04-04 12:54:07 +00:00

33 lines
947 B
Makefile

# $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"