2009-07-14 08:02:55 +02:00
|
|
|
# New ports collection makefile for: luaexpat
|
|
|
|
# Date created: 25 June 2009
|
2009-07-14 08:36:53 +02:00
|
|
|
# Whom: Andrew Lewis <freeghb@gmail.com>
|
2009-07-14 08:02:55 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= luaexpat
|
2011-06-08 20:20:46 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2009-07-14 08:02:55 +02:00
|
|
|
CATEGORIES= textproc
|
2011-06-08 20:20:46 +02:00
|
|
|
MASTER_SITES= http://matthewwild.co.uk/projects/luaexpat/ \
|
|
|
|
http://redundancy.redundancy.org/mirror/
|
2009-07-14 08:02:55 +02:00
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
|
2011-06-08 20:20:46 +02:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2009-07-14 08:02:55 +02:00
|
|
|
COMMENT= LuaExpat is a SAX XML parser based on the Expat library
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= lib
|
|
|
|
USE_LUA= 5.0-5.1
|
2009-07-16 00:54:33 +02:00
|
|
|
LUA_PREMK= yes
|
2009-07-14 08:02:55 +02:00
|
|
|
WANT_LUA_VER= 5.1
|
|
|
|
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
|
2009-07-16 00:54:33 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${LUA_VER} == 5.0
|
2009-07-14 08:02:55 +02:00
|
|
|
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build
|
|
|
|
.endif
|
|
|
|
|
2009-07-16 00:54:33 +02:00
|
|
|
.include <bsd.port.post.mk>
|