summaryrefslogtreecommitdiffstats
path: root/net-im/folks/Makefile
blob: 8d79c543c61a783c1894edfd7f802ca7b6daf2ac (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
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    folks
# Date created:             23 July 2010
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/net-im/folks/Makefile,v 1.27 2012/02/27 23:21:47 kwm Exp $
#

PORTNAME=   folks
PORTVERSION=    0.7.0
CATEGORIES= net-im
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    library to aggregates people from multiple sources

BUILD_DEPENDS=  vapigen:${PORTSDIR}/lang/vala-vapigen \
        g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    gee.2:${PORTSDIR}/devel/libgee \
        telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib

CONFLICTS=  folks-0.4.[0-9]*

USE_XZ=     yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomehier gnomehack intlhack ltverhack evolutiondataserver3
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

PLIST_SUB=  LIBVER=25 VERSION=33

#OPTIONS=   SOCIALWEB "Enable social web backend" on

#.include <bsd.port.options.mk>

#.if defined(WITH_SOCIALWEB)
#LIB_DEPENDS+=  socialweb.0:${PORTSDIR}/www/libsocialweb
#CONFIGURE_ARGS+=--enable-libsocialweb-backend=yes
#.else
CONFIGURE_ARGS+=--enable-libsocialweb-backend=no
#.endif

post-patch:
    @${REINPLACE_CMD} -e 's|^build_old_libs=yes|build_old_libs=no|g' \
        ${WRKDIR}/gnome-libtool

.include <bsd.port.mk>