8 MAINTAINER= tobik@FreeBSD.org
9 COMMENT= Adventure Game Studio Engine
12 LICENSE_FILE= ${WRKSRC}/License.txt
14 BUILD_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro
15 LIB_DEPENDS= liballeg.so:devel/allegro \
16 libogg.so:audio/libogg \
17 libtheora.so:multimedia/libtheora \
18 libvorbis.so:audio/libvorbis \
19 libfreetype.so:print/freetype2
21 BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11"
24 GH_ACCOUNT= adventuregamestudio
26 USES= gmake localbase pkgconfig tar:xz
29 BUILD_WRKSRC= ${WRKSRC}/Engine
36 @${REINPLACE_CMD} 's|<endian.h>|<sys/endian.h>|' \
37 ${WRKSRC}/Common/core/endianness.h
38 @${REINPLACE_CMD} 's|HWND editor_window_handle = NULL;|HWND editor_window_handle = 0;|g' \
39 ${WRKSRC}/Engine/debug/debug.cpp
40 @${REINPLACE_CMD} -e 's|return cd_player|return 0; // cd_player|g' \
41 -e 's|cd_exit|//cd_exit|g' \
42 ${WRKSRC}/Engine/platform/linux/acpllnx.cpp
45 ${INSTALL_PROGRAM} ${WRKSRC}/Engine/ags ${STAGEDIR}${PREFIX}/bin
47 .include <bsd.port.mk>