=================================================================== RCS file: /cvs/ports/games/maxr/Makefile,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ports/games/maxr/Makefile 2016/04/14 13:24:43 1.15 +++ ports/games/maxr/Makefile 2016/07/11 10:02:17 1.16 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.15 2016/04/14 13:24:43 kirby Exp $ +# $OpenBSD: Makefile,v 1.16 2016/07/11 10:02:17 kirby Exp $ COMMENT = Mechanized Assault & eXploration Reloaded -DISTNAME = maxr-0.2.8 +DISTNAME = maxr-0.2.9 CATEGORIES = games x11 @@ -13,20 +13,15 @@ # GPLv2, GNU FDL PERMIT_PACKAGE_CDROM = Yes -WANTLIB += FLAC SDL SDL_mixer SDL_net c m mikmod ogg pthread -WANTLIB += smpeg sndio stdc++ usbhid vorbis vorbisfile +WANTLIB += SDL2 SDL2_mixer SDL2_net c m pthread MASTER_SITES = http://www.maxr.org/downloads/ -MODULES = converters/libiconv -LIB_DEPENDS = devel/sdl-mixer \ - devel/sdl-net - -CONFIGURE_STYLE = gnu -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" - -pre-configure: - @perl -pi -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in +MODULES = devel/cmake gcc4 +MODGCC4_LANGS += c++ +MODGCC4_ARCHS = * +LIB_DEPENDS = converters/libiconv \ + devel/sdl2-mixer \ + devel/sdl2-net .include