openbsd-ports/lang/lua/Makefile
jsg b0139828d6 Update to 5.1.4 a bugfix release, see
http://www.lua.org/bugs.html for more information.

tested by a bunch of people,
'looks correct' mbalmer@, ok sthen@
2008-11-07 12:23:12 +00:00

37 lines
877 B
Makefile

# $OpenBSD: Makefile,v 1.35 2008/11/07 12:23:12 jsg Exp $
COMMENT= powerful, light-weight programming language
DISTNAME= lua-5.1.4
CATEGORIES= lang
MASTER_SITES= 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.ntua.gr/pub/lang/lua/ \
http://ftp.chg.ru/pub/lang/lua/
HOMEPAGE= http://www.lua.org/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SHARED_ONLY= Yes
SHARED_LIBS= lua 5.1
MAKE_FLAGS+= LIBlua_VERSION="${LIBlua_VERSION}"
WANTLIB= c m edit curses
NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's:\@prefix@:${PREFIX}/:g;' ${WRKSRC}/etc/lua.pc
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>