summaryrefslogblamecommitdiffstats
path: root/databases/libgdamm5/Makefile
blob: 536f1938904beea9bb9c6989fe78fe921f627ac5 (plain) (tree)
1
2
3
4
5
6
                                                      
           
                                                                                       

                        
                      






                                               




                                        

                                 



                                                       
                   


                              
                                                                                    







                                                                                                  
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/databases/libgdamm5/Makefile 17268 2013-04-01 05:13:11Z 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
USE_GMAKE=  yes
USES=       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>