summaryrefslogtreecommitdiffstats
path: root/devel/libgdata/Makefile
blob: 795b715941ff9342176ae039c1eeee1c29d1d903 (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
# New ports collection makefile for:    libgdata
# Date created:             9 May 2009
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   libgdata
PORTVERSION=    0.6.0
CATEGORIES= devel
MASTER_SITES=   GNOME

MAINTAINER= kwm@FreeBSD.org
COMMENT=    GLib based implimentation of the GData protocol

LIB_DEPENDS=    soup-2.4.1:${PORTSDIR}/devel/libsoup

USE_BZIP2=  yes
USE_LDCONFIG=   yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  intltool
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include " \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--with-html-dir="${PREFIX}/share/doc"
# introspection is broken
CONFIGURE_ARGS+=--enable-introspection=no

post-patch:
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>