diff options
author | jtb <jtb@pkgsrc.org> | 2003-04-29 23:15:35 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-04-29 23:15:35 +0000 |
commit | 0f13b54ed11a40a47da559c2f53992a3f9e23b4e (patch) | |
tree | 4658b8d8749293e140eff6ff31c3368b3a16ceec /lang/lua4/Makefile | |
parent | 97161507210d27e4dd15a0515ba8781b4354af4a (diff) | |
download | pkgsrc-0f13b54ed11a40a47da559c2f53992a3f9e23b4e.tar.gz |
Import of lua4 for packages requiring lua version 4.
Lua is a powerful, light-weight programming language designed for
extending applications. Lua is also frequently used as a
general-purpose, stand-alone language.
Diffstat (limited to 'lang/lua4/Makefile')
-rw-r--r-- | lang/lua4/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile new file mode 100644 index 00000000000..a9cbd863ccc --- /dev/null +++ b/lang/lua4/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/29 23:15:35 jtb Exp $ + +DISTNAME= lua-4.0.1 +PKGNAME= lua4-4.01 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ + ftp://ftp.ntua.gr/pub/lang/lua/ \ + ftp://ftp.gwdg.de/pub/languages/lua/ \ + ftp://ftp.u-aizu.ac.jp/pub/lang/lua/ \ + ftp://ftp.ucore.com/lua/dist/ \ + ftp://sunsite.dk/pub/languages/lua/ \ + ftp://ftp.chg.ru/pub/lang/lua/ \ + http://www.lua.org/ftp/ \ + http://www.tecgraf.puc-rio.br/lua/ftp/ \ + http://ftp.gwdg.de/pub/languages/lua/ \ + http://mirrors.sunsite.dk/lua/ \ + http://ftp.chg.ru/pub/lang/lua/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.lua.org +COMMENT= Powerful light-weight language for extending applications + +USE_BUILDLINK2= yes + +BUILD_DIRS= ${WRKSRC}/objdir + +post-extract: + ${MKDIR} ${BUILD_DIRS} + +post-patch: + ${CP} ${WRKSRC}/doc/lua.1 ${BUILD_DIRS}/lua/lua4.1 + ${CP} ${WRKSRC}/doc/luac.1 ${BUILD_DIRS}/luac/luac4.1 + +pre-install: + for f in ${WRKSRC}/include/*.h; do \ + ${SED} -e 's:lua.h:lua4.h:g' $$f > $$f.tmp \ + && ${MV} $$f.tmp $$f; \ + done + +.include "../../mk/bsd.pkg.mk" |