aboutsummaryrefslogtreecommitdiffstats
path: root/databases/glom/Makefile
blob: bd4879821e7521bd88f9f89ca6e9fc96f3abdd6d (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
45
46
47
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/databases/glom/Makefile,v 1.30 2010/11/04 15:57:03 kwm Exp $

PORTNAME=   glom
PORTVERSION=    1.12.2
PORTREVISION=   6
CATEGORIES= databases gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= kwm@FreeBSD.org
COMMENT=    GNOME database designer and user interface

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    gdamm-4.0.12:${PORTSDIR}/databases/libgdamm \
        gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
        gtksourceviewmm-2.0.2:${PORTSDIR}/x11-toolkits/libgtksourceviewmm \
        avahi-ui.0:${PORTSDIR}/net/avahi-gtk \
        epc-1.0.2:${PORTSDIR}/www/libepc \
        goocanvasmm-1.0.5:${PORTSDIR}/graphics/goocanvasmm
BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-4.0.pc:${PORTSDIR}/databases/libgda4-postgresql
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/libgda-postgres-4.0.pc:${PORTSDIR}/databases/libgda4-postgresql

USE_BZIP2=  yes
USE_PYTHON= yes
GNU_CONFIGURE=  yes
USES=       gettext pathfix shared-mime-info gmake pkgconfig
USE_GNOME=  gnomedocutils gnomeprefix pygnomeextras
USE_LDCONFIG=   yes
USE_PGSQL=  yes
INSTALLS_OMF=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-postgres-utils=${LOCALBASE}/bin
INSTALLS_ICONS= yes

# Note: USE_PGSQL has already been set above.
BUILD_DEPENDS+= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
RUN_DEPENDS+=   postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server

NO_STAGE=   yes
.include <bsd.port.mk>