summaryrefslogtreecommitdiffstats
path: root/databases/libgdamm5/Makefile
blob: a4b2ea8206f41806ec7743b88398c8c3146234a0 (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
# New ports collection makefile for:    libglademm
# Date created:         1 Oct 2003
# Whom:                 Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

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

LIB_DEPENDS=    glibmm-2.4:${PORTSDIR}/devel/glibmm
BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4

USE_AUTOTOOLS=  libtool
USE_XZ=     yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack libgda5
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --enable-static --disable-documentation

OPTIONS=    BDB "Build the Berkely DB bindings also" off

.include <bsd.port.options.mk>

.if defined(WITH_BDB) || 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>