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.
29 lines
603 B
Makefile
29 lines
603 B
Makefile
# $OpenBSD: Makefile,v 1.7 2021/02/23 19:39:23 sthen Exp $
|
|
|
|
COMMENT = one-button treasure collecting game
|
|
|
|
MODPY_EGG_VERSION = 1.2.0
|
|
DISTNAME = mysticmine-${MODPY_EGG_VERSION}
|
|
|
|
GH_ACCOUNT = dewitters
|
|
GH_PROJECT = MysticMine
|
|
GH_COMMIT = 2fc0a5eaa0ab299c3a23ce17ae1c56a98055a44c
|
|
REVISION = 2
|
|
|
|
CATEGORIES = games
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = pthread ${MODPY_WANTLIB}
|
|
|
|
MODULES = lang/python
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
|
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR}
|
|
RUN_DEPENDS = devel/pygame${MODPY_FLAVOR} \
|
|
math/py-numpy${MODPY_FLAVOR}
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|