# Ports collection makefile for:	qore
# Date created:				12 November 2009
# Whom:					B. Estrade <estrabd@gmail.com>
#
# $FreeBSD: ports/lang/qore/Makefile,v 1.6 2010/07/07 11:55:24 araujo Exp $
#

PORTNAME=	qore
PORTVERSION=	0.8.0
CATEGORIES=	lang
MASTER_SITES=	SF/qore/qore/${PORTVERSION}/

MAINTAINER=	estrabd@gmail.com
COMMENT=	The Qore Programming Language

LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre \
		xml2:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
		${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison

USE_OPENSSL=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	"LEX=${LOCALBASE}/bin/flex"
CONFIGURE_ARGS=	--disable-debug --disable-static

MAN1=		qore.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "powerpc"
BROKEN=		Does not compile on powerpc
.endif

.include <bsd.port.post.mk>
