summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-glib/Makefile
blob: 272dd2b88e67a6063fa1984abd42c0aa9dc9de6b (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
# New ports collection makefile for:    telepathy-glib
# Date created:             Apr 19 2007
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#    $MCom$

PORTNAME=   telepathy-glib
PORTVERSION=    0.18.2
CATEGORIES= net-im
MASTER_SITES=   http://telepathy.freedesktop.org/releases/${PORTNAME}/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GLib utility library for the Telepathy framework

BUILD_DEPENDS=  xsltproc:${PORTSDIR}/textproc/libxslt \
        vala-vapigen>=0.14.0:${PORTSDIR}/lang/vala-vapigen \
        g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    vapigen:${PORTSDIR}/lang/vala-vapigen

USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  gnomehack pkgconfig glib20 ltverhack gnomehier
USE_PYTHON_BUILD=   yes
MAKE_JOBS_UNSAFE=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-vala-bindings

post-patch:
    @${REINPLACE_CMD} -e 's|\(^pkgconfigdir =\).*|\1 ${PREFIX}/libdata/pkgconfig|' \
        ${WRKSRC}/telepathy-glib/Makefile.in

.include <bsd.port.mk>