summaryrefslogtreecommitdiff
path: root/security/libsecret/Makefile
blob: 167804e517f35bfc24a1c78919595cb41f573799 (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
PORTNAME=	libsecret
PORTVERSION=	0.20.5
PORTREVISION=	3
CATEGORIES=	security gnome
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library to access the secret service API
WWW=		https://wiki.gnome.org/Projects/Libsecret/

LICENSE=	LGPL21

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \
		docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
		libgpg-error.so:security/libgpg-error
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygobject>0:devel/py-pygobject@${PY_FLAVOR}

USES=		compiler gnome meson pkgconfig python tar:xz vala:build
USE_GNOME=	glib20 intltool introspection:build libxslt:build

TESTING_UNSAFE=	gi.repository.GLib.GError: g-io-error-quark: Remote closed the output

pre-test:
	@${MKDIR} ${BINARY_LINKDIR}
	@${LN} -s ${PYTHON_CMD} ${BINARY_LINKDIR}/python3

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang
CFLAGS+=	-Wno-incompatible-function-pointer-types
.endif

.include <bsd.port.post.mk>