Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= luaexpat |
4 |
PORTNAME= luaexpat |
5 |
PORTVERSION= 1.2.0 |
5 |
PORTVERSION= 1.3.0 |
6 |
CATEGORIES= textproc |
6 |
CATEGORIES= textproc |
7 |
MASTER_SITES= http://matthewwild.co.uk/projects/luaexpat/ \ |
7 |
MASTER_SITES= http://matthewwild.co.uk/projects/luaexpat/ \ |
8 |
http://redundancy.redundancy.org/mirror/ |
8 |
http://redundancy.redundancy.org/mirror/ |
Lines 14-31
Link Here
|
14 |
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 |
14 |
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 |
15 |
|
15 |
|
16 |
USES= gmake |
16 |
USES= gmake |
17 |
MAKEFILE= makefile |
|
|
18 |
ALL_TARGET= lib |
17 |
ALL_TARGET= lib |
19 |
USE_LUA= 5.0-5.1 |
18 |
USE_LUA= 5.1-5.2 |
20 |
LUA_PREMK= yes |
|
|
21 |
WANT_LUA_VER= 5.1 |
19 |
WANT_LUA_VER= 5.1 |
22 |
|
20 |
|
23 |
CFLAGS+= -fPIC |
21 |
CFLAGS+= -fPIC |
|
|
22 |
LDFLAGS+= -L${LOCALBASE}/lib |
23 |
MAKE_ENV= LUA_CDIR=${LUA_MODLIBDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_INC="-I${LUA_INCDIR}" EXPAT_INC="-I${LOCALBASE}/include" |
24 |
|
24 |
|
25 |
.include <bsd.port.pre.mk> |
25 |
.include <bsd.port.mk> |
26 |
|
|
|
27 |
.if ${LUA_VER} == 5.0 |
28 |
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build |
29 |
.endif |
30 |
|
31 |
.include <bsd.port.post.mk> |