aboutsummaryrefslogtreecommitdiff
path: root/textproc/rasqal/Makefile
blob: ede7e643ead7c17f04a7dc7ebca2d6c6f9dfea6b (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	rasqal
PORTVERSION=	0.9.33
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://download.librdf.org/source/ \
		SF/librdf/${PORTNAME}/${PORTVERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	High-level interface for RDF

# Even though GPLv3 is not explicitly mentioned in the port's LICENSE.html, one
# of its licenses is "GPLv2 or newer", which includes GPLv3.
LICENSE=	APACHE20 GPLv2 GPLv3 LGPL21
LICENSE_COMB=	dual

LIB_DEPENDS=	libraptor2.so:textproc/raptor2 \
		libpcre.so:devel/pcre

USES=		gmake libtool pathfix perl5 pkgconfig ssl
USE_PERL5=	build
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

OPTIONS_RADIO=	DEC
OPTIONS_RADIO_DEC=	GMP MPFR

GMP_DESC=	Use GMP library for decimals
MPFR_DESC=	Use MPFR library for decimals

GMP_CONFIGURE_ON=	--with-decimal=gmp --with-gmp=${LOCALBASE}
GMP_LIB_DEPENDS=	libgmp.so:math/gmp
MPFR_CONFIGURE_ON=	--with-decimal=mpfr --with-mpfr=${LOCALBASE}
MPFR_LIB_DEPENDS=	libmpfr.so:math/mpfr

.include <bsd.port.options.mk>

.if empty(PORT_OPTIONS:MMPFR) && empty(PORT_OPTIONS:MGMP)
CONFIGURE_ARGS+=--with-decimal=none
.endif

.include <bsd.port.mk>