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

46 lines
1.0 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.59 2021/02/23 19:39:41 sthen Exp $
COMMENT= simple encrypted backup tool for GNOME
GNOME_VERSION= 42.7
GNOME_PROJECT= deja-dup
# override gnome MODULE
EXTRACT_SUFX= .tar.gz
CATEGORIES= sysutils
HOMEPAGE= https://launchpad.net/deja-dup
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += atk-1.0 c gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
WANTLIB += gpg-error gtk-3 handy-1 intl json-glib-1.0 secret-1
WANTLIB += soup-2.4
MASTER_SITES= https://gitlab.gnome.org/World/deja-dup/-/archive/${GNOME_VERSION}/
MODULES= devel/meson \
devel/dconf \
lang/python \
x11/gnome
MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache vala yelp
RUN_DEPENDS= sysutils/duplicity
LIB_DEPENDS= devel/json-glib \
devel/libsoup \
x11/gnome/libsecret \
x11/libhandy
DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/deja-dup
mv ${WRKINST}/etc/xdg ${PREFIX}/share/examples/deja-dup/
.include <bsd.port.mk>