openbsd-ports/games/fnaify/Makefile
thfr 8e10606582 update to fnaify 3.1
Release Notes: https://github.com/rfht/fnaify/releases/tag/3.1

Main change is that it no longer removes bundled Steamworks.NET.dll. If
you want to run a game that usually bundles it, but has been installed
or run with a previous version of fnaify, you may need to do this:

$ mv fnaify-backup/Steamworks.NET.dll .

Tested with most of the catalogue of FNA/fnaify supported games.
2022-12-18 18:43:04 +00:00

41 lines
860 B
Makefile

# Don't bother on non-mono archs.
ONLY_FOR_ARCHS = ${MONO_ARCHS}
V = 3.1
COMMENT = run FNA/XNA games on OpenBSD
DISTNAME = fnaify-${V}
CATEGORIES = games
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# ISC
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/rfht/fnaify/releases/download/${V}/
# it may be possible to drop audio/openal and a few others when FAudio
# has been disseminated to all FNA games
RUN_DEPENDS = audio/faudio \
audio/libogg \
audio/libvorbis \
audio/openal \
devel/sdl2-image \
games/fna \
games/steamworks-nosteam \
graphics/fna3d \
graphics/jpeg \
graphics/png \
lang/mono \
misc/libstubborn \
multimedia/libtheora \
multimedia/libtheorafile \
multimedia/libtheoraplay
NO_BUILD = Yes
NO_TEST = Yes
do-configure:
sed -i 's,\/usr/\local,${LOCALBASE},g' ${WRKSRC}/fnaify
.include <bsd.port.mk>