2020-03-13 04:59:13 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2020/03/13 04:59:13 kirby Exp $
|
2017-11-16 10:46:52 +00:00
|
|
|
|
2017-12-18 08:46:15 +00:00
|
|
|
BROKEN-powerpc =out of memory when compiling fifePYTHON_wrap.cxx
|
|
|
|
BROKEN-sparc64 =out of memory when compiling fifePYTHON_wrap.cxx
|
2017-11-04 22:03:17 +00:00
|
|
|
|
|
|
|
COMMENT = 2D game engine
|
|
|
|
|
|
|
|
GH_ACCOUNT = fifengine
|
|
|
|
GH_PROJECT = fifengine
|
|
|
|
GH_TAGNAME = 0.4.1
|
2020-03-12 06:58:25 +00:00
|
|
|
REVISION = 2
|
2017-11-04 22:03:17 +00:00
|
|
|
|
|
|
|
CATEGORIES = games
|
|
|
|
|
2020-03-12 06:58:25 +00:00
|
|
|
HOMEPAGE = https://www.fifengine.net/
|
2017-11-04 22:03:17 +00:00
|
|
|
|
|
|
|
# LGPLv2.1+
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2017-11-04 22:03:17 +00:00
|
|
|
|
|
|
|
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
|
2017-11-10 10:28:53 +00:00
|
|
|
WANTLIB += m ogg openal png pthread ${MODPY_WANTLIB} tinyxml vorbis
|
2017-11-04 22:03:17 +00:00
|
|
|
WANTLIB += vorbisfile z
|
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2017-11-04 22:03:17 +00:00
|
|
|
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>
|