openbsd-ports/games/fifengine/Makefile
kirby 4e120954bb remove BROKEN-i386. builds fine there.
tested with unknown-horizons, the only consumer.
ok sthen@
2020-03-13 04:59:13 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2020/03/13 04:59:13 kirby Exp $
BROKEN-powerpc =out of memory when compiling fifePYTHON_wrap.cxx
BROKEN-sparc64 =out of memory when compiling fifePYTHON_wrap.cxx
COMMENT = 2D game engine
GH_ACCOUNT = fifengine
GH_PROJECT = fifengine
GH_TAGNAME = 0.4.1
REVISION = 2
CATEGORIES = games
HOMEPAGE = https://www.fifengine.net/
# LGPLv2.1+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += GL SDL2 SDL2_image SDL2_ttf boost_filesystem-mt boost_regex-mt
WANTLIB += boost_system-mt fifechan fifechan_opengl fifechan_sdl
WANTLIB += m ogg openal png pthread ${MODPY_WANTLIB} tinyxml vorbis
WANTLIB += vorbisfile z
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake \
lang/python
BUILD_DEPENDS = devel/swig>=3.0.12
LIB_DEPENDS = audio/libvorbis \
audio/openal \
devel/boost \
devel/sdl2-image \
devel/sdl2-ttf \
games/fifechan \
textproc/tinyxml
RUN_DEPENDS = textproc/py-yaml
NO_TEST = Yes
post-install:
${MODPY_BIN} -m compileall ${WRKINST}/${MODPY_SITEPKG}
.include <bsd.port.mk>