aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/luaexpat/Makefile
blob: 36d819d10e6c837b5057f5d17f801cd03a04e01c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    luaexpat
# Date created:             25 June 2009
# Whom:                 Andrew Lewis <freeghb@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   luaexpat
PORTVERSION=    1.2.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=    expat.6:${PORTSDIR}/textproc/expat2

MAKEFILE=   makefile
ALL_TARGET= lib
USE_LUA=    5.0-5.1
LUA_PREMK=  yes
WANT_LUA_VER=   5.1

CFLAGS+=    -fPIC

.include <bsd.port.pre.mk>

.if ${LUA_VER} == 5.0
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build
.endif

.include <bsd.port.post.mk>