1999-07-05 21:28:28 -04:00
|
|
|
# New ports collection makefile for: lua
|
|
|
|
# Date created: 27 June 1999
|
|
|
|
# Whom: Richard Kiss <richard@homemail.com>
|
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1999-07-05 21:28:28 -04:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= lua
|
2001-01-03 03:45:15 -05:00
|
|
|
PORTVERSION= 4.0
|
1999-07-05 21:28:28 -04:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
|
|
|
|
ftp://csg.uwaterloo.ca/pub/lhf/lua/ \
|
2000-05-14 01:40:52 -04:00
|
|
|
ftp://ftp.freesoftware.com/pub/languages/lua/ \
|
1999-07-05 21:28:28 -04:00
|
|
|
ftp://ftp.ntua.gr/pub/lang/lua/ \
|
|
|
|
ftp://ftp.uni-trier.de/pub/languages/lua/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/languages/lua/
|
2001-01-03 03:45:15 -05:00
|
|
|
DISTNAME= lua-4.0
|
1999-07-05 21:28:28 -04:00
|
|
|
|
|
|
|
MAINTAINER= richard@homemail.com
|
|
|
|
|
|
|
|
MAN1= luac.1
|
2001-01-16 12:33:20 -05:00
|
|
|
WRKSRC= ${WRKDIR}/lua
|
1999-07-05 21:28:28 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/lua
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/luac ${PREFIX}/bin
|
2001-01-03 03:45:15 -05:00
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/doc/luac.1 ${PREFIX}/man/man1/luac.1
|
1999-07-05 21:28:28 -04:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/idx.html ${PREFIX}/share/doc/lua
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/lua
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/luac.html ${PREFIX}/share/doc/lua
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/lua
|
1999-07-08 02:02:55 -04:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/include/lua.h ${PREFIX}/include
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/include/luadebug.h ${PREFIX}/include
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/include/lualib.h ${PREFIX}/include
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/include/lauxlib.h ${PREFIX}/include
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/lib/liblua.a ${PREFIX}/lib
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/lib/liblualib.a ${PREFIX}/lib
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/lua
|
|
|
|
@strip ${PREFIX}/bin/luac
|
1999-07-05 21:28:28 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|