1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/textproc/luaexpat/Makefile
Antoine Brodin a9aa4c46d1 Switch back to lua 5.1, the two consumers of those ports (audio/lua51-mpd
and net-im/prosody) need it

Pointy hat:	sunpoet
2015-06-25 16:53:31 +00:00

25 lines
662 B
Makefile

# Created by: Andrew Lewis <freeghb@gmail.com>
# $FreeBSD$
PORTNAME= luaexpat
PORTVERSION= 1.3.0
CATEGORIES= textproc
MASTER_SITES= http://matthewwild.co.uk/projects/luaexpat/ \
http://redundancy.redundancy.org/mirror/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= lx@FreeBSD.org
COMMENT= LuaExpat is a SAX XML parser based on the Expat library
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake lua:51
ALL_TARGET= lib
CFLAGS+= -DLUA_INT_LONG
CFLAGS+= -fPIC
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= LUA_CDIR=${LUA_MODLIBDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_INC="-I${LUA_INCDIR}" EXPAT_INC="-I${LOCALBASE}/include"
.include <bsd.port.mk>