openbsd-ports/devel/libsoup/Makefile
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

49 lines
1016 B
Makefile

# $OpenBSD: Makefile,v 1.128 2021/02/23 19:39:16 sthen Exp $
COMMENT = HTTP client/server library for GNOME
GNOME_PROJECT = libsoup
GNOME_VERSION = 2.72.0
SHARED_LIBS += soup-2.4 10.6 # 1.11.0
SHARED_LIBS += soup-gnome-2.4 8.1 # 1.11.0
API_VERSION = 2.4
SUBST_VARS = API_VERSION
CATEGORIES = devel www
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE= Yes
WANTLIB += brotlidec gio-2.0 glib-2.0 gobject-2.0 intl psl sqlite3
WANTLIB += xml2 z
MODULES = devel/meson \
lang/python \
x11/gnome
MODGNOME_TOOLS = gobject-introspection vala
MODPY_RUNDEP = No
RUN_DEPENDS = net/glib2-networking
LIB_DEPENDS = archivers/brotli \
databases/sqlite3 \
devel/glib2 \
net/libpsl \
textproc/libxml
CONFIGURE_ARGS = -Dgssapi=disabled \
-Dntlm=disabled \
-Dsysprof=disabled \
-Dtests=false \
-Dtls_check=false
DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.mk>