[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / jimtcl

File: [cvs.NetBSD.org] / pkgsrc / lang / jimtcl / Makefile (download)

Revision 1.1, Sat Apr 4 12:54:07 2015 UTC (4 years, 9 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2

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.

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