openbsd-ports/lang/lua/Makefile

37 lines
854 B
Makefile
Raw Normal View History

2007-10-29 18:38:42 -04:00
# $OpenBSD: Makefile,v 1.33 2007/10/29 22:38:42 jolan Exp $
COMMENT= powerful, light-weight programming language
2007-04-03 03:05:06 -04:00
DISTNAME= lua-5.1.2
PKGNAME= ${DISTNAME}p1
2006-07-30 00:25:41 -04:00
CATEGORIES= lang
2002-10-27 09:12:47 -05:00
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
WANTLIB= c m edit curses
NO_REGRESS= Yes
pre-configure:
2006-10-29 14:45:54 -05:00
@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>