freebsd-ports/textproc/rasqal/Makefile
Raphael Kubo da Costa 10fc63d5f9 Update to 0.9.29.
2012-05-14 22:17:34 +00:00

50 lines
1.2 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: redland
# Date created: Nov 22, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= rasqal
PORTVERSION= 0.9.29
CATEGORIES= textproc
MASTER_SITES= http://download.librdf.org/source/ \
SF/librdf/${PORTNAME}/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= A high-level interface for RDF
LIB_DEPENDS= raptor2.0:${PORTSDIR}/textproc/raptor2 \
pcre.1:${PORTSDIR}/devel/pcre
USE_GNOME= gnomehack lthack pkgconfig
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
MAN1= rasqal-config.1 roqet.1
MAN3= librasqal.3
OPTIONS+= MPFR "Use MPFR library for decimals (implies GMP)" off
OPTIONS+= GMP "Use Gnu MP library for decimals" off
.include <bsd.port.options.mk>
# Set to mpfr if MPFR is on, gmp if only GMP is on and none if neither.
# This guards against $user setting both GMP and MPFR, since we can't be
# very verbose in explaining our options.
.if defined(WITH_MPFR)
CONFIGURE_ARGS+= --with-decimal=mpfr --with-mpfr=${LOCALBASE}
LIB_DEPENDS+= mpfr.4:${PORTSDIR}/math/mpfr
.elif defined(WITH_GMP)
CONFIGURE_ARGS+= --with-decimal=gmp
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
.else
CONFIGURE_ARGS+= --with-decimal=none
.endif
.include <bsd.port.mk>