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
941 B
Makefile

# $OpenBSD: Makefile,v 1.52 2021/02/23 19:39:30 sthen Exp $
COMMENT= video DVDs and CDs creation tool
MODPY_EGG_VERSION= ${GH_TAGNAME}
DISTNAME= devede-${MODPY_EGG_VERSION}
REVISION= 3
GH_TAGNAME= 4.8.9
GH_ACCOUNT= rastersoft
GH_PROJECT= devedeng
CATEGORIES= multimedia x11
HOMEPAGE= http://www.rastersoft.com/programas/devede.html
# GPLv3
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_ADJ_FILES= src/devede_ng.py
BUILD_DEPENDS= devel/gettext,-tools
# needed because NO_BUILD is set below
BUILD_DEPENDS += ${_MODPY_BUILD_DEPENDS}
RUN_DEPENDS= devel/desktop-file-utils \
devel/py-gobject3${MODPY_FLAVOR}
# pygobject GTK3 introspection (not provided by indirect dependencies)
RUN_DEPENDS += x11/gtk+3
NO_BUILD= Yes
NO_TEST= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/setup.py \
${WRKSRC}/src/devedeng/configuration_data.py
post-install:
cd ${PREFIX}/bin && ln -s devede_ng.py devede
.include <bsd.port.mk>