2009-06-24 10:19:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2009/06/24 14:19:06 jolan Exp $
|
2001-05-05 21:27:52 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= powerful, light-weight programming language
|
2000-08-15 23:15:41 -04:00
|
|
|
|
2008-11-07 07:23:12 -05:00
|
|
|
DISTNAME= lua-5.1.4
|
2009-06-24 10:19:06 -04:00
|
|
|
PKGNAME= lua-5.1.4p0
|
2006-07-30 00:25:41 -04:00
|
|
|
CATEGORIES= lang
|
2002-10-27 09:12:47 -05:00
|
|
|
|
2003-12-02 19:56:43 -05:00
|
|
|
MASTER_SITES= http://www.lua.org/ftp/ \
|
2004-04-07 21:44:41 -04:00
|
|
|
http://www.tecgraf.puc-rio.br/lua/ftp/ \
|
2003-12-02 19:56:43 -05:00
|
|
|
http://ftp.gwdg.de/pub/languages/lua/ \
|
|
|
|
http://mirrors.sunsite.dk/lua/ \
|
2004-04-07 21:44:41 -04:00
|
|
|
http://ftp.ntua.gr/pub/lang/lua/ \
|
2003-12-02 19:56:43 -05:00
|
|
|
http://ftp.chg.ru/pub/lang/lua/
|
2000-08-15 23:15:41 -04:00
|
|
|
|
2003-12-02 19:56:43 -05:00
|
|
|
HOMEPAGE= http://www.lua.org/
|
2000-08-15 23:15:41 -04:00
|
|
|
|
2003-12-02 19:56:43 -05:00
|
|
|
# MIT
|
2000-08-15 23:15:41 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-09-24 22:39:06 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
SHARED_LIBS= lua 5.1
|
2008-04-19 13:59:32 -04:00
|
|
|
MAKE_FLAGS+= LIBlua_VERSION="${LIBlua_VERSION}"
|
2005-04-27 12:41:11 -04:00
|
|
|
WANTLIB= c m edit curses
|
2003-12-02 19:56:43 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-08-15 23:15:41 -04:00
|
|
|
|
2006-09-24 22:39:06 -04:00
|
|
|
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
|
2000-08-15 23:15:41 -04:00
|
|
|
|
2003-12-02 19:56:43 -05:00
|
|
|
.include <bsd.port.mk>
|