mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
7215ba5a5a
- Respect CC - Check for lua version correctly PR: 136786, 136789 Submitted by: Andrew Lewis <freeghb@gmail.com> (maintainer)
34 lines
698 B
Makefile
34 lines
698 B
Makefile
# New ports collection makefile for: luaexpat
|
|
# Date created: 25 June 2009
|
|
# Whom: Andrew Lewis <freeghb@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= luaexpat
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/2469/
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= freeghb@gmail.com
|
|
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>
|