2015-09-24 00:36:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2015/09/24 04:36:41 ajacoutot Exp $
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
COMMENT= accounts management library for GLib applications
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
DISTNAME= libaccounts-glib-1.18
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
SHARED_LIBS += accounts-glib 1.0 # 1.3
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
CATEGORIES= net
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
HOMEPAGE= https://gitlab.com/groups/accounts-sso
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2013-03-29 09:59:41 -04:00
|
|
|
# LGPLv2.1
|
2015-09-24 00:36:41 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-04-21 14:51:24 -04:00
|
|
|
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 lzma m pcre
|
2014-08-30 03:22:56 -04:00
|
|
|
WANTLIB += pthread sqlite3 xml2 z
|
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
# from https://gitlab.com/accounts-sso/libaccounts-glib/tags
|
|
|
|
MASTER_SITES= https://distfiles.bsdfrog.org/
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}-17201ad512e86d248ac158046ac322e7164adc87
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
BUILD_DEPENDS= devel/py-gobject3
|
|
|
|
RUN_DEPENDS= devel/py-gobject3
|
|
|
|
LIB_DEPENDS= textproc/libxml
|
2014-08-30 03:22:56 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
MODGNOME_TOOLS= docbook gobject-introspection
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
USE_GMAKE= Yes
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2015-09-24 00:36:41 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --disable-gcov \
|
|
|
|
--disable-tests
|
2013-03-29 09:16:17 -04:00
|
|
|
|
2014-08-30 03:22:56 -04:00
|
|
|
# XXX check if still needed at next update
|
2015-09-24 00:36:41 -04:00
|
|
|
CONFIGURE_ENV += HAVE_GCOV_FALSE='\#'
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.69
|
|
|
|
AUTOMAKE_VERSION= 1.15
|
|
|
|
CONFIGURE_ARGS += --enable-gtk-doc
|
|
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS} \
|
|
|
|
devel/libtool \
|
|
|
|
textproc/gtk-doc
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
# XXX check if still needed at next update
|
|
|
|
sed -i "s,-Werror,," ${WRKSRC}/libaccounts-glib/Makefile.am
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
NOCONFIGURE=1 \
|
|
|
|
./autogen.sh
|
2013-03-29 09:16:17 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|