freebsd-ports/textproc/luaexpat/Makefile
2014-06-21 13:35:16 +00:00

23 lines
638 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+= -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>