mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
beb1c1fe19
Ports using USES=lua:module or lua:flavors will be flavored. A range of supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ) for ports not supporting all lua versions. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of flavored lua ports, in a similar way as PHP or Python flavors. PR: 245038 Submitted by: andrew tao11 riddles org uk Reviewed by: mat, kevans, russ haley gmail com Approved by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D16494
29 lines
702 B
Makefile
29 lines
702 B
Makefile
# Created by: Andrew Lewis <freeghb@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= luaexpat
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 5
|
|
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
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2
|
|
|
|
USES= lua:module
|
|
USES+= gmake
|
|
ALL_TARGET= lib
|
|
|
|
CFLAGS+= -fPIC
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_ARGS+= COMMON_CFLAGS="-Wall"
|
|
MAKE_ENV= LUA_CDIR=${LUA_MODLIBDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_INC="-I${LUA_INCDIR}" EXPAT_INC="-I${LOCALBASE}/include"
|
|
|
|
.include <bsd.port.mk>
|