blob: f0624c0f3d4d5ea990fde800fbb0a3bbee7235ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.6 2003/06/02 01:19:00 jschauma Exp $
DISTNAME= lua-5.0
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= tech-pkg@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
${CP} ${WRKSRC}/doc/luac.1 ${BUILD_DIRS}/luac
post-install:
${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
.include "../../mk/bsd.pkg.mk"
|