1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Convert to USES=lua

This commit is contained in:
Baptiste Daroussin 2014-05-26 15:38:21 +00:00
parent e7c3cd6a2d
commit ecd30ca8b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355392

View File

@ -11,21 +11,12 @@ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= lx@FreeBSD.org
COMMENT= LuaExpat is a SAX XML parser based on the Expat library
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake
USES= gmake lua:51
MAKEFILE= makefile
ALL_TARGET= lib
USE_LUA= 5.0-5.1
LUA_PREMK= yes
WANT_LUA_VER= 5.1
CFLAGS+= -fPIC
.include <bsd.port.pre.mk>
.if ${LUA_VER} == 5.0
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>