# $OpenBSD: Makefile.template,v 1.78 2018/07/09 15:00:06 jca Exp $

COMMENT =	script to configure FNA games to run on OpenBSD
DISTNAME =	fnaify-1.0
CATEGORIES =	games
HOMEPAGE =	https://thfr.info
MAINTAINER =	Thomas Frohwein <thfr@openbsd.org>

# ISC
PERMIT_PACKAGE_CDROM =	Yes

MASTER_SITES =		https://thfr.info/distfiles/fnaify/

# it may be possible to drop audio/openal and a few others when FACT update
# has been disseminated to all FNA games
RUN_DEPENDS =	audio/libogg \
		audio/libvorbis \
		audio/openal \
		devel/sdl2 \
		devel/sdl2-image \
		graphics/jpeg \
		graphics/mojoshader \
		graphics/png \
		lang/mono \
		multimedia/libtheora \
		multimedia/libtheorafile \
		multimedia/libtheoraplay

NO_BUILD =		Yes
NO_TEST =		Yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/fnaify ${PREFIX}/bin

.include <bsd.port.mk>
