aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rasqal/Makefile
blob: 81d65212c2e7f0ce36b06d4a99d8ef4e88e0db33 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ex:ts=8
# New ports collection makefile for:    redland
# Date created:         Nov 22, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   rasqal
PORTVERSION=    0.9.27
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.0:${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>