=================================================================== RCS file: /cvs/ports/games/gemrb/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.10 diff -u -r1.1 -r1.10 --- ports/games/gemrb/Attic/Makefile 2009/12/13 12:08:30 1.1 +++ ports/games/gemrb/Attic/Makefile 2013/08/20 17:46:45 1.10 @@ -1,82 +1,47 @@ -# $OpenBSD: Makefile,v 1.1 2009/12/13 12:08:30 yason Exp $ -#ONLY_FOR_ARCHS = ??? -#NOT_FOR_ARCHS = ??? +# $OpenBSD: Makefile,v 1.10 2013/08/20 17:46:45 kirby Exp $ -COMMENT = open-source implementation of Bioware's Infinity Engine +SHARED_ONLY = Yes -DISTNAME = gemrb-0.6.0 +SHARED_LIBS += gemrb_core 0.0 -SHARED_LIBS = 2DAImporter 0.0 \ - ACMImporter 0.0 \ - AREImporter 0.0 \ - BAMImporter 0.0 \ - BIFImporter 0.0 \ - BMPImporter 0.0 \ - CHUImporter 0.0 \ - CREImporter 0.0 \ - DLGImporter 0.0 \ - EFFImporter 0.0 \ - FXOpcodes 0.0 \ - GAMImporter 0.0 \ - GUIScript 0.0 \ - IDSImporter 0.0 \ - INIImporter 0.0 \ - ITMImporter 0.0 \ - IWDOpcodes 0.0 \ - KEYImporter 0.0 \ - MOSImporter 0.0 \ - MUSImporter 0.0 \ - MVEPlayer 0.0 \ - NullSound 0.0 \ - OpenALAudio 0.0 \ - PLTImporter 0.0 \ - PNGImporter 0.0 \ - PROImporter 0.0 \ - PSTOpcodes 0.0 \ - SDLVideo 0.0 \ - SPLImporter 0.0 \ - STOImporter 0.0 \ - TISImporter 0.0 \ - TLKImporter 0.0 \ - WEDImporter 0.0 \ - WMPImporter 0.0 \ - ZLibMgr 0.0 \ - gemrb_core 0.0 +COMMENT = open-source implementation of Bioware's Infinity Engine -CATEGORIES = games +DISTNAME = gemrb-0.8.0.1 -HOMEPAGE = http://linux.prinas.si/gemrb/doku.php +CATEGORIES = games emulators x11 -#MAINTAINER = ??? +HOMEPAGE = http://gemrb.sourceforge.net/ +MAINTAINER = Kirill Bychkov + # GPLv2 PERMIT_PACKAGE_CDROM = Yes -PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM =Yes -PERMIT_DISTFILES_FTP = Yes MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gemrb/} -WANTLIB = X11 Xau Xdmcp Xext Xrandr Xrender c m ossaudio pthread \ - pthread-stubs sndio stdc++ usbhid util xcb z +WANTLIB += SDL SDL_mixer c freetype iconv m openal png pthread stdc++ +WANTLIB += vorbisfile z ${MODPY_WANTLIB} -MODULES = lang/python -LIB_DEPENDS = SDL::devel/sdl \ - openal::audio/openal +MODULES = devel/cmake lang/python +LIB_DEPENDS = devel/sdl-mixer \ + graphics/png \ + audio/openal \ + audio/libvorbis \ + ${MODPY_LIB_DEPENDS} +RUN_DEPENDS = devel/desktop-file-utils \ + x11/gtk+2,-guic -USE_X11 = Yes -USE_LIBTOOL = Yes -CONFIGURE_STYLE = gnu old -CONFIGURE_ARGS += --mandir=${PREFIX}/man \ - --sysconfdir=${SYSCONFDIR}/gemrb \ - ${CONFIGURE_SHARED} -CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include/libpng \ - LDFLAGS="-L${LOCALBASE}/lib -lutil -logg" +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: - ${INSTALL_DATA_DIR} ${PREFIX}/share/gemrb/etc - ${INSTALL_DATA} ${WRKSRC}/gemrb/GemRB.cfg.sample ${PREFIX}/share/gemrb/etc + cd ${PREFIX}/share/gemrb/GUIScripts/ && find * -name \*.py \ + -exec ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gemrb/GUIScripts/{} \; .include