aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgdamm5/Makefile
blob: d33bde44d2722f3ecfadc0898b384b78ad886652 (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$

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

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

BUILD_DEPENDS=  gm4:devel/m4

USES=       gmake libtool pathfix pkgconfig tar:xz
USE_GNOME=  libgda5 glibmm
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --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:databases/libgda5-bdb
RUN_DEPENDS+=   ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:databases/libgda5-bdb
PLIST_SUB+= BDB=""
.else
PLIST_SUB+= BDB=""
.endif

.include <bsd.port.mk>