summaryrefslogtreecommitdiffstats
path: root/graphics/libchamplain08/Makefile
blob: 753f8bafbb962a54baa667863f3dadfaaa40690e (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/graphics/libchamplain08/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   libchamplain
PORTVERSION=    0.8.3
CATEGORIES= graphics
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    C library aimed to provide a Gtk+ widget to display rasterized maps and markers

LIB_DEPENDS=    clutter-gtk-0.10:${PORTSDIR}/graphics/clutter-gtk \
        soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome

LATEST_LINK=    libchamplain08
USE_BZIP2=  yes
USES=       gmake pathfix pkgconfig
USE_GNOME=  gtk20 ltverhack:1 gnomehier
USE_GL=     gl
USE_AUTOTOOLS=  libtool
USE_SQLITE= yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PLIST_SUB=  VERSION=0.8

# python bindings need to get ported
WITHOUT_PYTHON=yes

.if !defined(WITHOUT_PYTHON)
USE_PYTHON= yes
PYCLUTTER_GTK=      ${LOCALBASE}/libdata/pkgconfig/pyclutter-gtk-0.10.pc
BUILD_DEPENDS+=     ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
RUN_DEPENDS+=       ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
CONFIGURE_ARGS+=    --enable-python=yes
PLIST_SUB+=     PYTHON=""
.else
CONFIGURE_ARGS+=    --enable-python=no
PLIST_SUB+=     PYTHON="@comment "
.endif

.include <bsd.port.mk>