aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-salut/Makefile
blob: 7ea640f6387524c27fe810d87441a6a44ea1c476 (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
# New ports collection makefile for:    telepathy-salut
# Date created:             Apr 16 2007
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Link-local Connection Manager for Telepathy Framework

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

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}

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig
USE_OPENSSL=    yes

CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}

post-patch:
    @${REINPLACE_CMD} -e 's|make -C|${GMAKE} -C|g' \
        ${WRKSRC}/src/Makefile.in \
        ${WRKSRC}/tests/Makefile.in \
        ${WRKSRC}/lib/gibber/examples/Makefile.in

.include <bsd.port.mk>