aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/libaccounts-glib/Makefile
blob: 89e5cd640cc160b28ad437fb6cec0d765e6ef469 (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
# Created by: Tobias C. Berner <tcberner@gmail.com>
# $FreeBSD$

PORTNAME=   libaccounts-glib
PORTVERSION=    1.18
PORTREVISION=   1
CATEGORIES= net-im
MASTER_SITES=   https://drive.google.com/uc?export=download&id=0B8fX9XOwH_g4U1NzNmg0cWoxNGM&dummy= \
        LOCAL/rakuco

MAINTAINER= kde@FreeBSD.org
COMMENT=    Accounts and SSO framework for Linux and POSIX based platforms

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libsqlite3.so:${PORTSDIR}/databases/sqlite3

FETCH_BEFORE_ARGS=  -o ${DISTFILES}

GNU_CONFIGURE=  YES
# The line below is a hack required when the port is configure either without
# devel/libcheck installed or with --disable-tests.
# A proper fix has been submitted upstream:
# https://gitlab.com/accounts-sso/libaccounts-glib/merge_requests/1
CONFIGURE_ENV=  HAVE_GCOV_FALSE='\#'
CONFIGURE_ARGS= --disable-tests
INSTALL_TARGET= install-strip

USES=       gmake libtool pathfix pkgconfig python
USE_GNOME=  pygobject3 introspection libxml2

post-patch:
    @${REINPLACE_CMD} -e 's|-Werror||g' \
        ${WRKSRC}/libaccounts-glib/Makefile.in

.include <bsd.port.mk>