=================================================================== RCS file: /cvs/ports/games/gemrb/Attic/Makefile,v retrieving revision 1.7 retrieving revision 1.10 diff -u -r1.7 -r1.10 --- ports/games/gemrb/Attic/Makefile 2013/05/06 07:20:43 1.7 +++ ports/games/gemrb/Attic/Makefile 2013/08/20 17:46:45 1.10 @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.7 2013/05/06 07:20:43 kirby Exp $ +# $OpenBSD: Makefile,v 1.10 2013/08/20 17:46:45 kirby Exp $ SHARED_ONLY = Yes -SHARED_LIBS += gemrb_core 0.0 +SHARED_LIBS += gemrb_core 0.0 COMMENT = open-source implementation of Bioware's Infinity Engine -DISTNAME = gemrb-0.8.0 +DISTNAME = gemrb-0.8.0.1 CATEGORIES = games emulators x11 @@ -19,8 +19,8 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gemrb/} -WANTLIB += SDL SDL_mixer c freetype iconv m pthread stdc++ vorbisfile -WANTLIB += z +WANTLIB += SDL SDL_mixer c freetype iconv m openal png pthread stdc++ +WANTLIB += vorbisfile z ${MODPY_WANTLIB} MODULES = devel/cmake lang/python LIB_DEPENDS = devel/sdl-mixer \ @@ -28,14 +28,20 @@ audio/openal \ audio/libvorbis \ ${MODPY_LIB_DEPENDS} -RUN_DEPENDS = devel/desktop-file-utils +RUN_DEPENDS = devel/desktop-file-utils \ + x11/gtk+2,-guic CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release \ -DSYSCONF_DIR=${SYSCONFDIR}/gemrb/ \ -DEXAMPLE_CONF_DIR=${PREFIX}/share/examples/gemrb/ \ -DMAN_DIR=${PREFIX}/man/man6 \ + -DCMAKE_MODULE_LINKER_FLAGS=-lc \ -DDISABLE_WERROR=1 -NO_REGRESS = Yes +NO_TEST = Yes + +post-install: + cd ${PREFIX}/share/gemrb/GUIScripts/ && find * -name \*.py \ + -exec ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gemrb/GUIScripts/{} \; .include