head 1.52; access; symbols pkgsrc-2013Q3:1.51.0.2 pkgsrc-2013Q3-base:1.51 pkgsrc-2013Q2:1.49.0.6 pkgsrc-2013Q2-base:1.49 pkgsrc-2013Q1:1.49.0.4 pkgsrc-2013Q1-base:1.49 pkgsrc-2012Q4:1.49.0.2 pkgsrc-2012Q4-base:1.49 pkgsrc-2012Q3:1.48.0.6 pkgsrc-2012Q3-base:1.48 pkgsrc-2012Q2:1.48.0.4 pkgsrc-2012Q2-base:1.48 pkgsrc-2012Q1:1.48.0.2 pkgsrc-2012Q1-base:1.48 pkgsrc-2011Q4:1.47.0.4 pkgsrc-2011Q4-base:1.47 pkgsrc-2011Q3:1.47.0.2 pkgsrc-2011Q3-base:1.47 pkgsrc-2011Q2:1.46.0.4 pkgsrc-2011Q2-base:1.46 pkgsrc-2011Q1:1.46.0.2 pkgsrc-2011Q1-base:1.46 pkgsrc-2010Q4:1.44.0.10 pkgsrc-2010Q4-base:1.44 pkgsrc-2010Q3:1.44.0.8 pkgsrc-2010Q3-base:1.44 pkgsrc-2010Q2:1.44.0.6 pkgsrc-2010Q2-base:1.44 pkgsrc-2010Q1:1.44.0.4 pkgsrc-2010Q1-base:1.44 pkgsrc-2009Q4:1.44.0.2 pkgsrc-2009Q4-base:1.44 pkgsrc-2009Q3:1.43.0.2 pkgsrc-2009Q3-base:1.43 pkgsrc-2009Q2:1.42.0.2 pkgsrc-2009Q2-base:1.42 pkgsrc-2009Q1:1.40.0.2 pkgsrc-2009Q1-base:1.40 pkgsrc-2008Q4:1.38.0.6 pkgsrc-2008Q4-base:1.38 pkgsrc-2008Q3:1.38.0.4 pkgsrc-2008Q3-base:1.38 cube-native-xorg:1.38.0.2 cube-native-xorg-base:1.38 pkgsrc-2008Q2:1.37.0.6 pkgsrc-2008Q2-base:1.37 cwrapper:1.37.0.4 pkgsrc-2008Q1:1.37.0.2 pkgsrc-2008Q1-base:1.37 pkgsrc-2007Q4:1.35.0.2 pkgsrc-2007Q4-base:1.35 pkgsrc-2007Q3:1.34.0.2 pkgsrc-2007Q3-base:1.34 pkgsrc-2007Q2:1.33.0.2 pkgsrc-2007Q2-base:1.33 pkgsrc-2007Q1:1.32.0.4 pkgsrc-2007Q1-base:1.32 pkgsrc-2006Q4:1.32.0.2 pkgsrc-2006Q4-base:1.32 pkgsrc-2006Q3:1.31.0.2 pkgsrc-2006Q3-base:1.31 pkgsrc-2006Q2:1.29.0.2 pkgsrc-2006Q2-base:1.29 pkgsrc-2006Q1:1.28.0.2 pkgsrc-2006Q1-base:1.28 pkgsrc-2005Q4:1.27.0.4 pkgsrc-2005Q4-base:1.27 pkgsrc-2005Q3:1.27.0.2 pkgsrc-2005Q3-base:1.27 pkgsrc-2005Q2:1.24.0.2 pkgsrc-2005Q2-base:1.24 pkgsrc-2005Q1:1.21.0.4 pkgsrc-2005Q1-base:1.21 pkgsrc-2004Q4:1.21.0.2 pkgsrc-2004Q4-base:1.21 pkgsrc-2004Q3:1.16.0.4 pkgsrc-2004Q3-base:1.16 pkgsrc-2004Q2:1.16.0.2 pkgsrc-2004Q2-base:1.16 pkgsrc-2004Q1:1.12.0.2 pkgsrc-2004Q1-base:1.12 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.52 date 2013.10.30.06.18.09; author dholland; state dead; branches; next 1.51; commitid hUvNwQ9eb8Zothbx; 1.51 date 2013.07.15.02.02.23; author ryoon; state Exp; branches; next 1.50; commitid aGblgSa9xp3HyvXw; 1.50 date 2013.07.04.18.04.42; author adam; state Exp; branches; next 1.49; commitid TSTFhpwgexGTebWw; 1.49 date 2012.10.02.20.11.44; author asau; state Exp; branches; next 1.48; 1.48 date 2012.03.12.15.49.27; author wiz; state Exp; branches; next 1.47; 1.47 date 2011.10.03.04.29.24; author dholland; state Exp; branches; next 1.46; 1.46 date 2011.03.11.12.44.30; author zafer; state Exp; branches; next 1.45; 1.45 date 2011.01.19.13.46.13; author adam; state Exp; branches; next 1.44; 1.44 date 2009.11.05.18.03.49; author joerg; state Exp; branches; next 1.43; 1.43 date 2009.07.10.20.30.21; author minskim; state Exp; branches; next 1.42; 1.42 date 2009.05.30.16.08.58; author joerg; state Exp; branches; next 1.41; 1.41 date 2009.05.20.00.58.19; author wiz; state Exp; branches; next 1.40; 1.40 date 2009.01.20.16.30.39; author sketch; state Exp; branches; next 1.39; 1.39 date 2009.01.11.23.15.55; author minskim; state Exp; branches; next 1.38; 1.38 date 2008.09.07.14.03.42; author wiz; state Exp; branches; next 1.37; 1.37 date 2008.02.27.18.52.16; author jlam; state Exp; branches; next 1.36; 1.36 date 2008.02.11.19.54.55; author adam; state Exp; branches; next 1.35; 1.35 date 2007.12.02.00.10.40; author wiz; state Exp; branches; next 1.34; 1.34 date 2007.07.02.13.36.38; author joerg; state Exp; branches; next 1.33; 1.33 date 2007.06.15.17.45.37; author obache; state Exp; branches; next 1.32; 1.32 date 2006.11.03.06.46.21; author joerg; state Exp; branches; next 1.31; 1.31 date 2006.09.06.14.58.00; author abs; state Exp; branches; next 1.30; 1.30 date 2006.08.14.22.31.39; author wiz; state Exp; branches; next 1.29; 1.29 date 2006.06.01.06.52.27; author rillig; state Exp; branches; next 1.28; 1.28 date 2006.03.04.21.29.54; author jlam; state Exp; branches; next 1.27; 1.27 date 2005.09.07.02.13.19; author reed; state Exp; branches; next 1.26; 1.26 date 2005.09.06.18.31.37; author jlam; state Exp; branches; next 1.25; 1.25 date 2005.09.04.04.59.36; author jlam; state Exp; branches; next 1.24; 1.24 date 2005.06.07.03.52.10; author minskim; state Exp; branches; next 1.23; 1.23 date 2005.06.07.03.47.24; author minskim; state Exp; branches; next 1.22; 1.22 date 2005.04.11.21.46.14; author tv; state Exp; branches; next 1.21; 1.21 date 2004.12.14.18.22.44; author minskim; state Exp; branches; next 1.20; 1.20 date 2004.12.03.15.15.00; author wiz; state Exp; branches; next 1.19; 1.19 date 2004.10.23.19.10.25; author kristerw; state Exp; branches; next 1.18; 1.18 date 2004.10.15.21.17.50; author minskim; state Exp; branches; next 1.17; 1.17 date 2004.10.02.20.54.59; author cube; state Exp; branches; next 1.16; 1.16 date 2004.06.12.03.02.27; author grant; state Exp; branches; next 1.15; 1.15 date 2004.06.12.03.01.59; author grant; state Exp; branches; next 1.14; 1.14 date 2004.04.05.14.54.34; author xtraeme; state Exp; branches; next 1.13; 1.13 date 2004.04.05.02.31.06; author xtraeme; state Exp; branches; next 1.12; 1.12 date 2004.02.24.00.05.26; author cube; state Exp; branches; next 1.11; 1.11 date 2004.01.26.13.55.14; author abs; state Exp; branches; next 1.10; 1.10 date 2004.01.25.10.48.21; author cube; state Exp; branches; next 1.9; 1.9 date 2004.01.05.10.06.43; author cube; state Exp; branches; next 1.8; 1.8 date 2003.12.30.17.27.31; author cjep; state Exp; branches; next 1.7; 1.7 date 2003.07.17.21.44.49; author grant; state Exp; branches; next 1.6; 1.6 date 2003.06.02.01.19.00; author jschauma; state Exp; branches; next 1.5; 1.5 date 2003.04.29.23.33.56; author jtb; state Exp; branches; next 1.4; 1.4 date 2003.04.04.17.35.20; author abs; state Exp; branches; next 1.3; 1.3 date 2003.02.22.00.51.58; author jtb; state Exp; branches; next 1.2; 1.2 date 2001.11.14.14.47.55; author agc; state Exp; branches; next 1.1; 1.1 date 2001.06.19.14.47.22; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.06.19.14.47.22; author jtb; state Exp; branches; next ; desc @@ 1.52 log @Reimport lang/lua as lang/lua52, and bring back the previous Lua 5.1 package as lang/lua51. I've adjusted the depends and switched the PKGNAMEs but these packages are otherwise unchanged. This means that you can't install both at once. There are preliminary patches for that (see tech-pkg) but they aren't quite ready yet. This also doesn't include agc's builtin.mk, although it should be possible to drop it into the lua51 package with only very minor modifications. I don't think the builtin packages will allow having one builtin.mk for both lua51 and lua52, but I'd be happy to be shown wrong about that. Add infrastructure support for Lua module packages (including multiversion support), application packages written in Lua, and a redirecting bl3.mk file for packages that just link Lua in. This is based on the Python infrastructure. The new variable LUA_VERSION_DEFAULT picks which Lua package you get by default; it is set to 52 so as to maintain the status quo. Packages can set LUA_VERSIONS_ACCEPTED and/or LUA_VERSIONS_INCOMPATIBLE. I have found (I think) most or all the packages that don't work with lua51 and will be marking those; I have not tracked down most of the ones that don't work with lua52 yet as I was originally intending to roll back to 5.1 as the default. @ text @# $NetBSD: Makefile,v 1.51 2013/07/15 02:02:23 ryoon Exp $ DISTNAME= lua-${LUA_VERSION} CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ http://www.tecgraf.puc-rio.br/lua/ftp/ MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://www.lua.org/ COMMENT= Powerful light-weight language for extending applications LICENSE= mit .include "../../lang/lua/version.mk" PKG_INSTALLATION_TYPES= overwrite pkgviews .include "../../mk/bsd.prefs.mk" USE_LIBTOOL= yes USE_TOOLS+= gmake MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl:Q} MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q} CFLAGS+= -DLUA_ROOT=\"${PREFIX}/\" PKGCONFIG_OVERRIDE= ${WRKSRC}/lua.pc INSTALLATION_DIRS+= lib/pkgconfig share/doc/lua .if ${OPSYS} == "FreeBSD" BUILD_TARGET= freebsd .elif !empty(OPSYS:M*BSD*) || ${OPSYS} == "DragonFly" BUILD_TARGET= bsd .elif ${OPSYS} == "Linux" BUILD_TARGET= linux .elif ${OPSYS} == "Darwin" BUILD_TARGET= macosx .elif ${OPSYS} == "SunOS" BUILD_TARGET= solaris .elif ${OPSYS} == "AIX" BUILD_TARGET= aix .else BUILD_TARGET= generic .endif pre-configure: sed -e 's,@@PREFIX@@,${PREFIX},g' \ -e 's,@@VER@@,${PKGVERSION_NOREV:R},g' \ -e 's,@@REV@@,${PKGVERSION_NOREV},g' \ ${FILESDIR}/lua.pc.in > ${WRKSRC}/lua.pc post-install: ${INSTALL_DATA} ${WRKSRC}/lua.pc ${DESTDIR}${PREFIX}/lib/pkgconfig ${INSTALL_DATA} ${WRKSRC}/doc/*.??? ${DESTDIR}${PREFIX}/share/doc/lua ${INSTALL_DATA} ${WRKSRC}/doc/*.???? ${DESTDIR}${PREFIX}/share/doc/lua .include "../../mk/readline.buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.51 log @* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2013/07/04 18:04:42 adam Exp $ @ 1.50 log @Lua 5.2 was released on 16 Dec 2011. Its main new features are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector, goto statement, and finalizers for tables. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2012/10/02 20:11:44 asau Exp $ d55 1 a55 1 .include "../../devel/readline/buildlink3.mk" @ 1.49 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2012/03/12 15:49:27 wiz Exp $ d25 2 a26 4 MAKE_FLAGS+= CC=cc DOCDIR= ${PREFIX}/share/doc/lua EGDIR= ${PREFIX}/share/examples/lua d44 5 a48 8 PKGCONFIG_OVERRIDE= ${WRKSRC}/etc/lua.pc INSTALLATION_DIRS+= lib/pkgconfig SUBST_CLASSES+= pc-prefix SUBST_FILES.pc-prefix+= ${WRKSRC}/etc/lua.pc SUBST_SED.pc-prefix+= -e "s,/usr/local,${PREFIX}," SUBST_STAGE.pc-prefix= post-build d51 3 a53 20 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} set -e; \ cd ${WRKSRC}; for f in README COPYRIGHT HISTORY; do \ ${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}; \ done set -e; \ cd ${WRKSRC}/doc; for f in *.html *.gif; do \ ${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}; \ done ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} set -e; \ cd ${WRKSRC}/test; for f in README *.lua; do \ ${INSTALL_DATA} "$$f" ${DESTDIR}${EGDIR}; \ done ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/etc set -e; \ cd ${WRKSRC}/etc; for f in README *.c *.ico *.lua; do \ ${INSTALL_DATA} "$$f" ${DESTDIR}${EGDIR}/etc; \ done ${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${DESTDIR}${PREFIX}/lib/pkgconfig @ 1.48 log @Update to 5.1.5. Lua 5.1.5 released. This is a bug-fix release. (no further changelog found) Remove master site that doesn't have new tarball. Fix pkglint warning in patch-ac. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2011/10/03 04:29:24 dholland Exp $ a15 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.47 log @Belated revbump for Makefile rev 1.45 (from January), which changed the linkage of the package and gives me a non-broken liblua.so on current. The one I had around from sometime last year had broken compatibility references in it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2011/03/11 12:44:30 zafer Exp $ a3 1 PKGREVISION= 3 d6 1 a6 3 ftp://ftp.gwdg.de/pub/languages/lua/ \ http://www.tecgraf.puc-rio.br/lua/ftp/ \ http://ftp.gwdg.de/pub/languages/lua/ @ 1.46 log @update master_sites. remove dead mirrors. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2011/01/19 13:46:13 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.45 log @Pass LDFLAGS during linking; pkglint clean-up @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2009/11/05 18:03:49 joerg Exp $ d6 1 a6 1 MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ a7 3 ftp://ftp.u-aizu.ac.jp/pub/lang/lua/ \ ftp://ftp.chg.ru/pub/lang/lua/ \ http://www.lua.org/ftp/ \ d9 1 a9 3 http://ftp.gwdg.de/pub/languages/lua/ \ http://mirrors.sunsite.dk/lua/ \ http://ftp.chg.ru/pub/lang/lua/ @ 1.44 log @Override CC in the Makefiles as newer libtool does not handle alternative compiler names without explicit tag. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2009/07/10 20:30:21 minskim Exp $ d57 2 a83 1 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig @ 1.43 log @Set LICENSE for lua. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2009/05/30 16:08:58 joerg Exp $ d34 2 @ 1.42 log @Unbreak shared library loading for cases when mk.conf explicitly sets CFLAGS. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2009/05/20 00:58:19 wiz Exp $ d19 1 @ 1.41 log @Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib major change. Reported by Robert Elz in PR 41345. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2009/01/20 16:30:39 sketch Exp $ d4 1 a4 1 PKGREVISION= 1 d25 2 a35 2 .include "../../mk/bsd.prefs.mk" @ 1.40 log @Use our INSTALL_DATA. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2009/01/11 23:15:55 minskim Exp $ d4 1 @ 1.39 log @Add module.mk for Lua packages. Suggested by Aleksey Cheusov on pkgsrc-users@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2008/09/07 14:03:42 wiz Exp $ d27 1 @ 1.38 log @Update to 5.1.4: Bugfix release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2008/02/27 18:52:16 jlam Exp $ d3 1 a3 1 DISTNAME= lua-5.1.4 d19 2 @ 1.37 log @+ Remove dependency on ncurses (!!) of all things -- lua doens't have any curses code in it. It only needs readline for the "io" module, and the readline/buildlink3.mk now handles pulling in any necessary dependencies for the terminal library that it uses. Bump the PKGREVISION to 1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2008/02/11 19:54:55 adam Exp $ d3 1 a3 2 DISTNAME= lua-5.1.3 PKGREVISION= 1 @ 1.36 log @Changes 5.1.3: * This is a bug-fix release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2007/12/02 00:10:40 wiz Exp $ d4 1 a78 1 .include "../../devel/ncurses/buildlink3.mk" @ 1.35 log @Remove ex-MASTER_SITEs. From Zafer Aydogan. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2007/07/02 13:36:38 joerg Exp $ d3 1 a3 2 DISTNAME= lua-5.1.2 PKGREVISION= 1 d25 1 a25 1 CFLAGS+= -DLUA_ROOT=\"${PREFIX:Q}/\" d53 1 a53 1 SUBST_STAGE.pc-prefix+= post-build @ 1.34 log @Override /usr/local as LUA_ROOT and ensure that the default search path matches the pkgsrc environment. Bump revision. From Simon Schubert via IRC. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2007/06/15 17:45:37 obache Exp $ a6 1 ftp://ftp.ntua.gr/pub/lang/lua/ \ a8 2 ftp://ftp.ucore.com/lua/dist/ \ ftp://sunsite.dk/pub/languages/lua/ \ @ 1.33 log @Update lua to 5.1.2. Patch provided by Holger Weiss in PR 36333. And specify more platform target. This release fixes all known bugs in 5.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2006/11/03 06:46:21 joerg Exp $ d4 1 a27 2 MAKE_ENV+= MYCFLAGS=${CFLAGS:M*:Q} MAKE_ENV+= MYLDFLAGS=${LDFLAGS:M*:Q}\ ${LIBS:M*:Q} d29 1 @ 1.32 log @DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2006/09/06 14:58:00 abs Exp $ d3 1 a3 2 DISTNAME= lua-5.1.1 PKGREVISION= 1 d36 3 a38 1 .if !empty(OPSYS:M*BSD*) d42 6 @ 1.31 log @update lua to 5.1.1nb1 - fix build on linux (and hopefully some others) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2006/08/14 22:31:39 wiz Exp $ d24 1 d53 1 a53 1 ${INSTALL_DATA_DIR} ${DOCDIR} d56 1 a56 1 ${INSTALL_DATA} "$$f" ${DOCDIR}; \ d60 1 a60 1 ${INSTALL_DATA} "$$f" ${DOCDIR}; \ d62 1 a62 1 ${INSTALL_DATA_DIR} ${EGDIR} d65 1 a65 1 ${INSTALL_DATA} "$$f" ${EGDIR}; \ d67 1 a67 1 ${INSTALL_DATA_DIR} ${EGDIR}/etc d70 1 a70 1 ${INSTALL_DATA} "$$f" ${EGDIR}/etc; \ d72 2 a73 2 ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig ${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${PREFIX}/lib/pkgconfig @ 1.30 log @Update to 5.1.1. Almost all dependencies need adaptation -> bump API. Changes: * Changes from version 5.0 to 5.1 ------------------------------- Language: + new module system. + new semantics for control variables of fors. + new semantics for setn/getn. + new syntax/semantics for varargs. + new long strings and comments. + new `mod' operator (`%') + new length operator #t + metatables for all types API: + new functions: lua_createtable, lua_get(set)field, lua_push(to)integer. + user supplies memory allocator (lua_open becomes lua_newstate). + luaopen_* functionst must be called through Lua. Implementation: + new configuration scheme via luaconf.h. + incremental garbage collection. + better handling of end-of-line in the lexer. + fully reentrant parser (new Lua function `load') + better support for 64-bit machines. + native loadlib support for Mac OS X. + standard distribution in only one library (lualib.a merged into lua.a) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2006/06/01 06:52:27 rillig Exp $ d4 1 d34 5 d40 3 @ 1.29 log @On Linux, -ldl must be included into the libtool archive to make other packages work, for example games/fillet-ng. This fixes PR 31171. Bumped PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2006/03/04 21:29:54 jlam Exp $ d3 1 a3 2 DISTNAME= lua-5.0.2 PKGREVISION= 5 d25 1 d33 3 a35 1 .include "../../mk/dlopen.buildlink3.mk" d37 4 a40 2 post-build: cd ${WRKSRC}/etc && ${SETENV} ${MAKE_ENV} ${MAKE} bin2c d59 1 a59 1 cd ${WRKSRC}/etc; for f in README *.c *.h *.lua lua.magic lua.xpm; do \ d62 2 a63 1 ${INSTALL_PROGRAM} ${WRKSRC}/etc/bin2c ${PREFIX}/bin d65 3 @ 1.28 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2005/09/07 02:13:19 reed Exp $ d4 1 a4 1 PKGREVISION= 4 d26 3 a28 5 DL_AUTO_VARS= yes LIBS+= ${BUILDLINK_LDADD.dl} LUA_CFLAGS= ${CFLAGS} LUA_LDFLAGS= ${LDFLAGS} ${LIBS} MAKE_ENV+= MYCFLAGS=${LUA_CFLAGS:Q} MYLDFLAGS=${LUA_LDFLAGS:Q} d40 1 d42 1 a42 1 ${INSTALL_DATA} $$f ${DOCDIR}; \ d44 1 d46 1 a46 1 ${INSTALL_DATA} $$f ${DOCDIR}; \ d49 1 d51 1 a51 1 ${INSTALL_DATA} $$f ${EGDIR}; \ d54 1 d56 1 a56 1 ${INSTALL_DATA} $$f ${EGDIR}/etc; \ @ 1.27 log @Set maintainer to tech-pkg. Bruce is not maintaining these packages. Thank you Bruce for helping with pkgsrc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2005/09/06 18:31:37 jlam Exp $ d19 1 a19 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.26 log @Add ${BUILDLINK_LDADD.dl} to LIBS as lua has no configure script to detect and add "-ldl" (on systems that need it) by itself during the build. This addresses pkg/31171. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2005/09/04 04:59:36 jlam Exp $ d19 1 a19 1 MAINTAINER= pkgsrc@@bjan.freeshell.org @ 1.25 log @Libtoolize lua build. Since the shared library version has changed, bump the PKGREVISION to 4, and set BUILDLINK_RECOMMENDED.lua appropriately in the buildlink3.mk file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2005/06/07 03:52:10 minskim Exp $ d27 1 @ 1.24 log @Make libraries link against libdl if it is available. This fixes PR pkg/29389. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2005/06/07 03:47:24 minskim Exp $ d4 1 a4 1 PKGREVISION= 3 d25 5 a29 2 BUILD_TARGET= all so INSTALL_TARGET= install soinstall d31 2 a32 3 CFLAGS+= -fPIC LIBS+= ${BUILDLINK_LDADD.dl} MAKE_ENV+= LIBS="${LIBS}" d40 15 a54 13 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lua cd ${WRKSRC}; ${INSTALL_DATA} README COPYRIGHT \ HISTORY ${PREFIX}/share/doc/lua ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/lua cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.gif \ ${PREFIX}/share/doc/html/lua ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lua cd ${WRKSRC}/test && ${INSTALL_DATA} README *.lua \ ${PREFIX}/share/examples/lua ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lua/etc cd ${WRKSRC}/etc && ${INSTALL_DATA} README *.c *.h \ *.lua lua.magic lua.xpm \ ${PREFIX}/share/examples/lua/etc @ 1.23 log @Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2005/04/11 21:46:14 tv Exp $ d4 1 a4 1 PKGREVISION= 2 d32 2 @ 1.22 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2004/12/14 18:22:44 minskim Exp $ d29 1 a29 3 LIBS.Interix+= -ldl LIBS.Linux+= -ldl LIBS.SunOS+= -ldl @ 1.21 log @"-ldl" is needed to build on Linux. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2004/12/03 15:15:00 wiz Exp $ a24 1 USE_BUILDLINK3= yes @ 1.20 log @Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs. Suggested by Roland Illig, ok'd by various. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2004/10/23 19:10:25 kristerw Exp $ d31 1 @ 1.19 log @Add -fPIC to CFLAGS to make this work on more architectures. Bump PKGREVISION. Thanks to Masao Uebayashi for the patch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2004/10/15 21:17:50 minskim Exp $ d26 1 a26 1 ALL_TARGET= all so @ 1.18 log @Needs -ldl on Interix. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2004/10/02 20:54:59 cube Exp $ d4 1 a4 1 PKGREVISION= 1 d29 1 @ 1.17 log @o Unconditionally enable popen() support. o Enable pkgviews installation (hi cube, the one from pkgsrcCon 2004 who forgot to commit this) Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2004/06/12 03:02:27 grant Exp $ d29 1 @ 1.16 log @set ${MAKE_ENV} in the environment before calling ${MAKE}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2004/06/12 03:01:59 grant Exp $ d4 1 d23 2 @ 1.15 log @- don't hardcode CC=gcc - don't hardcode RANLIB=ranlib - don't pass gcc specific -W flags - needs -ldl on Solaris @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2004/04/05 14:54:34 xtraeme Exp $ d30 1 a30 1 cd ${WRKSRC}/etc && ${MAKE} bin2c @ 1.14 log @Install bin2c binary located in ${WRKSRC}/etc, it's needed to build some lua libraries; pointed out by pancake. No bump PKGREVISION this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2004/04/05 02:31:06 xtraeme Exp $ d26 3 @ 1.13 log @Update lua to 5.0.2, from Bruce J.A. Nourish via tech-pkg@@. Lua 5.0.2 is a bugfix release, which contains the following fixes: src/ldo.c Attempt to resume running coroutine crashed Lua src/lgc.c C functions also may have stacks larger than current top Userdata to be collected still counted into new GC threshold src/lgc.h Userdata to be collected still counted into new GC threshold src/lparser.c Syntax `local function' did not increment stack size src/lvm.c `pc' address was invalidated when a coroutine was suspended Count hook might be called without being set src/lib/lbaselib.c Buffer overflow for unusual %p representation Wrong number of returns from chunks loaded from stdin src/lib/liolib.c `file.close()' could not be called without arguments Buffer overflow for unusual %p representation src/luac/luac.c Missing lock/unlock @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2004/01/26 13:55:14 abs Exp $ d26 3 d43 1 @ 1.12 log @bl3ification needed by new ion. Reported by Stoned Elipot and Krister Walfridsson. ``Oops''. @ text @d3 1 a3 2 DISTNAME= lua-5.0.1 PKGREVISION= 1 d18 1 a18 1 MAINTAINER= tech-pkg@@NetBSD.org d22 3 a24 11 USE_BUILDLINK3= yes MAKE_ENV+= NOGCCERROR=yes BUILD_DIRS= ${WRKSRC}/objdir post-extract: ${MKDIR} ${BUILD_DIRS} post-patch: ${CP} ${WRKSRC}/doc/lua.1 ${BUILD_DIRS}/lua ${CP} ${WRKSRC}/doc/luac.1 ${BUILD_DIRS}/luac d28 1 a28 1 cd ${WRKSRC}; ${INSTALL_DATA} README COPYRIGHT \ d31 1 a31 1 cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.gif \ @ 1.11 log @Set 'MAKE_ENV+= NOGCCERROR=yes' to avoid a warning causing sparc64 build to break. Reported to lua authors. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2004/01/25 10:48:21 cube Exp $ d23 1 a23 1 USE_BUILDLINK2= yes @ 1.10 log @Compile and install etc/bin2c, which is expected by some modules. Fixes PR 24219 by pancake at phreaker dot net. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2004/01/05 10:06:43 cube Exp $ d23 2 a24 1 USE_BUILDLINK2= yes d40 1 a40 1 cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.gif \ @ 1.9 log @Update to 5.0.1. There is no changelog in the tarball, because it is a pre-release. However, it is unlikely to change for the final release of 5.0.1. Fixed bugs: 1. lua_closethread exists only in the manual 2. attempt to resume a running coroutine crashes Lua 3. file:close cannot be called without a file. (results in seg. fault) 4. C functions may have stacks larger than current top 5. `pc' address is invalidated when a coroutine is suspended 6. userdata to be collected still counts into new GC threshold, increasing memory consumption 7. IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generate up to 60 characters in a `printf'. That causes a buffer overflow in `tostring'. 8. syntax `local function' does not increment stack size 9. count hook may be called without being set @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2003/12/30 17:27:31 cjep Exp $ d4 1 @ 1.8 log @Add trailing / to HOMEPAGEs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2003/07/17 21:44:49 grant Exp $ d3 1 a3 1 DISTNAME= lua-5.0 @ 1.7 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/06/02 01:19:00 jschauma Exp $ d19 1 a19 1 HOMEPAGE= http://www.lua.org @ 1.6 log @Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2003/04/29 23:33:56 jtb Exp $ d18 1 a18 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.5 log @Update to version 5.0. * Changes from version 4.0 to 5.0 ------------------------------- Language: + lexical scoping. + Lua coroutines. + standard libraries now packaged in tables. + tags replaced by metatables and tag methods replaced by metamethods, stored in metatables. + proper tail calls. + each function can have its own global table, which can be shared. + new __newindex metamethod, called when we insert a new key into a table. + new block comments: --[[ ... ]]. + new generic for. + new weak tables. + new boolean type. + new syntax "local function". + (f()) returns the first value returned by f. + {f()} fills a table with all values returned by f. + \n ignored in [[\n . + fixed and-or priorities. + more general syntax for function definition (e.g. function a.x.y:f()...end). + more general syntax for function calls (e.g. (print or write)(9)). + new functions (time/date, tmpfile, unpack, require, load*, etc.). API: + chunks are loaded by using lua_load; new luaL_loadfile and luaL_loadbuffer. + introduced lightweight userdata, a simple "void*" without a metatable. + new error handling protocol: the core no longer prints error messages; all errors are reported to the caller on the stack. + new lua_atpanic for host cleanup. + new, signal-safe, hook scheme. Implementation: + new license: MIT. + new, faster, register-based virtual machine. + support for external multithreading and coroutines. + new and consistent error message format. + the core no longer needs "stdio.h" for anything (except for a single use of sprintf to convert numbers to strings). + lua.c now runs the environment variable LUA_INIT, if present. It can be "@@filename", to run a file, or the chunk itself. + support for user extensions in lua.c. sample implementation given for command line editing. + new dynamic loading library, active by default on several platforms. + safe garbage-collector metamethods. + precompiled bytecodes checked for integrity (secure binary dostring). + strings are fully aligned. + position capture in string.find. + read('*l') can read lines with embedded zeros. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2003/04/04 17:35:20 abs Exp $ d18 1 a18 1 MAINTAINER= packages@@netbsd.org @ 1.4 log @Shorten COMMENT @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2003/02/22 00:51:58 jtb Exp $ d3 1 a3 1 DISTNAME= lua-4.0.1 d22 3 a24 1 BUILD_DIRS= ${WRKSRC}/build d41 2 a42 4 ${RM} -f ${WRKSRC}/test/lua* cd ${WRKSRC}/test && ${PAX} -rw . ${PREFIX}/share/examples/lua ${RM} -f ${WRKSRC}/etc/Makefile ${RM} -f ${WRKSRC}/etc/lua.ico d44 3 a46 1 cd ${WRKSRC}/etc && ${PAX} -rw . ${PREFIX}/share/examples/lua/etc @ 1.3 log @Update to version 4.0.1. Added my own makefiles to create shared versions of the libraries using bsd.lib.mk. Changes in Lua itself: lua/src/lapi.c lua/src/lstring.c Fixed a bug in lua_pushuserdata(L, NULL) lua/src/ldo.c lua/src/lgc.c lua/src/lgc.h Give a good chance for GC before parsing lua/src/lparser.c Fixed a bug (did not accept `;' after a `return') lua/src/lvm.c Fixed a bug (linehook off by 1) lua/src/lib/lbaselib.c Fixed a bug in rawget and rawset (seg. fault if given extra arguments) Fixed a bug in dostring (identification of precompiled chunks) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/11/14 14:47:55 agc Exp $ d20 1 a20 1 COMMENT= Powerful, light-weight programming language for extending applications @ 1.2 log @Replace "${GTAR} cf - . | (cd ... ; ${GTAR} xf - )" pipelines with a single instance of ${PAX}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/06/19 14:47:22 jtb Exp $ d3 1 a3 1 DISTNAME= lua-4.0 d6 1 a6 2 ftp://csg.uwaterloo.ca/pub/lhf/lua/ \ ftp://ftp.freesoftware.com/pub/languages/lua/ \ a7 1 ftp://ftp.ntua.gr/pub/lang/lua/ \ d9 8 a16 1 ftp://ftp.ucore.com/lua/dist/ d22 1 a22 1 WRKSRC= ${WRKDIR}/lua d25 5 a29 1 @@cd ${WRKSRC}/test; ${RM} -f lua luac d39 1 d41 4 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d30 1 a30 2 (cd ${WRKSRC}/test/; ${GTAR} cf - . ) | \ (cd ${PREFIX}/share/examples/lua/; ${GTAR} xf -) @ 1.1.1.1 log @Initial import of lua. Lua is a powerful, light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management, making it ideal for configuration, scripting, and rapid prototyping. Lua is a language engine that you can embed into your application. This means that, besides syntax and semantics, Lua has an API that allows the application to exchange data with Lua programs and also to extend Lua with C functions. In this sense, Lua can be regarded as a language framework for building domain-specific languages. Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost. The result is a fast language engine with small footprint, making it ideal in embedded systems too. @ text @@