freebsd-ports/textproc/luaexpat/Makefile
Antoine Brodin 464f9914b8 - Switch textproc/luaexpat to default version of lua
- Introduce textproc/luaexpat-51 that uses lua 5.1
- Use textproc/luaexpat-51 in net-im/prosody

This fixes the build of multimedia/libquvi-scripts09 (60 ports skipped,
including gnome3)

With hat:	portmgr
2017-02-18 22:28:49 +00:00

26 lines
672 B
Makefile

# Created by: Andrew Lewis <freeghb@gmail.com>
# $FreeBSD$
PORTNAME= luaexpat
PORTVERSION= 1.3.0
PORTREVISION= 2
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:textproc/expat2
USES?= lua
USES+= gmake
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>