summaryrefslogtreecommitdiff
path: root/net/glib-networking/Makefile
blob: d85b9631c01366576178d5d8bae4ae31e94559c3 (plain)
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
PORTNAME=	glib-networking
PORTVERSION=	2.76.0
CATEGORIES=	net
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	Network-related giomodules for glib

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
RUN_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas

PORTSCOUT=	limitw:1,even

USES=		compiler:c11 gettext gnome localbase meson pkgconfig \
		python:build tar:xz
USE_GNOME=	glib20

BINARY_ALIAS=	python3=${PYTHON_VERSION}

OPTIONS_DEFINE=	GNUTLS PROXY
PROXY_DESC=	Proxy configuration support via libproxy
OPTIONS_SUB=	yes
OPTIONS_DEFAULT=	GNUTLS PROXY

GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
GNUTLS_USES_OFF=	ssl
GNUTLS_CONFIGURE_OFF=	-Dgnutls=disabled -Dopenssl=enabled

PROXY_LIB_DEPENDS=	libproxy.so:net/libproxy
PROXY_CONFIGURE_OFF=	-Dlibproxy=disabled -Denvironment_proxy=enabled

post-install:
	${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
	${RM} -r ${STAGEDIR}${PREFIX}/share/installed-tests

.include <bsd.port.mk>

GNUTLS_DESC+=	(OpenSSL if off)