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

PORTNAME=   libgdata
PORTVERSION=    0.4.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"

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

.include <bsd.port.mk>