aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgdamm5/Makefile
blob: 581eec6dcdc98f98460e5c12bf850783eda74479 (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/databases/libgdamm5/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   libgdamm
PORTVERSION=    4.99.6
CATEGORIES= databases gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= bland@FreeBSD.org
COMMENT=    C++ wrapper for libgda5 library

BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4

USE_AUTOTOOLS=  libtool
USE_XZ=     yes
USES=       gmake pathfix pkgconfig
USE_GNOME=  libgda5 glibmm
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --enable-static --disable-documentation

OPTIONS_DEFINE= BDB

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MBDB} || exists(${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc)
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:${PORTSDIR}/databases/libgda5-bdb
RUN_DEPENDS+=   ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:${PORTSDIR}/databases/libgda5-bdb
PLIST_SUB+= BDB=""
.else
PLIST_SUB+= BDB=""
.endif

.include <bsd.port.mk>