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

36 lines
687 B
Makefile

# $OpenBSD: Makefile,v 1.17 2021/02/23 19:39:36 sthen Exp $
COMMENT= scalable PostScript fonts generator for MetaFont
CATEGORIES= fonts print
DISTNAME= mftrace-1.2.15
REVISION = 6
HOMEPAGE= http://lilypond.org/mftrace/
# GPL
PERMIT_PACKAGE= Yes
MASTER_SITES= http://lilypond.org/download/sources/mftrace/
WANTLIB= c
MODULES= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
BUILD_DEPENDS= graphics/potrace
RUN_DEPENDS= graphics/potrace \
print/t1utils \
print/fontforge \
print/texlive/base
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= PYTHON=${MODPY_BIN}
MAKE_FILE= GNUmakefile
FAKE_FLAGS= MODPY_SITEPKG=${MODPY_SITEPKG}
NO_TEST= Yes
.include <bsd.port.mk>