aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-glib/Makefile
blob: 585105fc70e94d1aee8df717a3ed2d21cd14314e (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:    telepathy-glib
# Date created:             Apr 19 2007
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/net-im/telepathy-glib/Makefile,v 1.4 2008/03/20 02:57:19 marcus Exp $

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

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

LIB_PC_DEPENDS= gobject-2.0.pc:${PORTSDIR}/devel/glib20 \
        dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib

BUILD_DEPENDS=  xsltproc:${PORTSDIR}/textproc/libxslt

BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+=   ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}

USE_AUTOTOOLS=  libtool:22
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  gnomehack pkgconfig glib20 ltverhack
USE_PYTHON_BUILD=   yes

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

.include <bsd.port.mk>