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

53 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2021/02/23 19:39:23 sthen Exp $
# Requires OpenGL>=3.3, only usable on archs that support
# modern video cards
ONLY_FOR_ARCHS = amd64 aarch64 i386
COMMENT = clone of the touhou games
VERSION = v1.3.1
DISTNAME = taisei-${VERSION}
PKGNAME = taisei-${VERSION:S/^v//}
CATEGORIES = games
HOMEPAGE = https://taisei-project.org/
# MIT
# Soundtrack: CC-BY 4.0 / Photos: PD and CC-0
PERMIT_PACKAGE = Yes
WANTLIB += SDL2 SDL2_mixer c crypto freetype m opusfile png webpdecoder
WANTLIB += z
MASTER_SITES= https://github.com/taisei-project/taisei/releases/download/${VERSION}/
EXTRACT_SUFX= .tar.xz
MODULES = devel/meson \
lang/python
MODPY_RUNDEP = No
RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
x11/gtk+3,-guic
LIB_DEPENDS = audio/opusfile \
devel/sdl2>=2.0.5 \
devel/sdl2-mixer>=2.0.4 \
graphics/libwebp>=0.5 \
graphics/png>=1.5.0
# Don't include docs
# Don't zip the ressources, it avoids using archivers/libzip
# Don't call git(1), use upstream version as version string
CONFIGURE_ARGS += -Ddocs=false \
-Denable_zip=false \
-Dversion_fallback=${VERSION}
NO_TEST = Yes
.include <bsd.port.mk>