[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / games / fifengine

File: [local] / ports / games / fifengine / Makefile (download)

Revision 1.21, Mon May 6 12:23:33 2024 UTC (3 weeks, 5 days ago) by sthen
Branch: MAIN
Changes since 1.20: +1 -1 lines

bump REVISION for py3.10 -> py3.11 switch

BROKEN-powerpc =out of memory when compiling fifePYTHON_wrap.cxx
BROKEN-sparc64 =out of memory when compiling fifePYTHON_wrap.cxx
BROKEN-i386 =	out of memory when compiling fifePYTHON_wrap.cxx (not every time but most)

COMMENT =	2D game engine

GH_ACCOUNT =	fifengine
GH_PROJECT =	fifengine
GH_COMMIT =	be64c707dea6b3250bd4355bf5c825d25920087d
DISTNAME =	fifengine-0.4.2
REVISION =	5

CATEGORIES =	games

HOMEPAGE =	https://www.fifengine.net/

# LGPLv2.1+
PERMIT_PACKAGE =	Yes

WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += GL GLEW SDL2 SDL2_image SDL2_ttf boost_filesystem-mt
WANTLIB += boost_system-mt fifechan fifechan_opengl fifechan_sdl
WANTLIB += m 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>=0.1.5 \
			graphics/glew \
			textproc/tinyxml
RUN_DEPENDS =		devel/py-future${MODPY_FLAVOR} \
			textproc/py-yaml${MODPY_FLAVOR}

CONFIGURE_ARGS += 	-DPYTHON_EXECUTABLE=${MODPY_BIN} \
			-Wno-dev

NO_TEST =		Yes

post-install:
	${MODPY_BIN} -m compileall ${WRKINST}/${MODPY_SITEPKG}

.include <bsd.port.mk>