summaryrefslogtreecommitdiffstats
path: root/graphics/libchamplain010/Makefile
blob: 6c3230f1ecda3414a5ac019687f037a93b8bb46a (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
# New ports collection makefile for:   libchamplain
# Date Created:         04 Aug 2009
# Whom:             Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/graphics/libchamplain010/Makefile,v 1.3 2011/04/04 09:46:37 kwm Exp $
#

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

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

LIB_DEPENDS=    sqlite3.8:${PORTSDIR}/databases/sqlite3 \
        clutter-gtk-1.0.0:${PORTSDIR}/graphics/clutter-gtk3 \
        soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome

LATEST_LINK=    libchamplain010
USE_BZIP2=  yes
USE_GNOME=  pkgconfig gtk30 gnomehack ltverhack
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-gtk-doc-html=no

PLIST_SUB=  VERSION=0.10

post-patch:
    @${REINPLACE_CMD} -e 's|DOC_MODULE = libchamplain|DOC_MODULE = libchamplain-gtk3|g' \
        ${WRKSRC}/docs/reference/Makefile.in \
        ${WRKSRC}/docs/reference-gtk/Makefile.in

.include <bsd.port.mk>