openbsd-ports/lang/lua/Makefile
pedro 24a30b2607 Also provide a shared version of the Lua library
Discussed with and okay jolan@
2006-09-25 02:39:06 +00:00

35 lines
788 B
Makefile

# $OpenBSD: Makefile,v 1.25 2006/09/25 02:39:06 pedro Exp $
COMMENT= "powerful, light-weight programming language"
DISTNAME= lua-5.1.1
PKGNAME= ${DISTNAME}p0
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/
MAINTAINER= Pedro Martelletto <pedro@openbsd.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:
@perl -pi -e 's:\@prefix@:${PREFIX}/:g;' ${WRKSRC}/src/luaconf.h
.include <bsd.port.mk>