=================================================================== RCS file: /cvs/ports/games/maxr/Makefile,v retrieving revision 1.2 retrieving revision 1.16 diff -u -r1.2 -r1.16 --- ports/games/maxr/Makefile 2009/03/07 20:04:13 1.2 +++ ports/games/maxr/Makefile 2016/07/11 10:02:17 1.16 @@ -1,41 +1,27 @@ -# $OpenBSD: Makefile,v 1.2 2009/03/07 20:04:13 yason Exp $ +# $OpenBSD: Makefile,v 1.16 2016/07/11 10:02:17 kirby Exp $ -COMMENT = M.A.X clone +COMMENT = Mechanized Assault & eXploration Reloaded -DISTNAME = maxr-0.2.4 +DISTNAME = maxr-0.2.9 CATEGORIES = games x11 -HOMEPAGE = http://www.maxthegame.de +HOMEPAGE = http://www.maxr.org/ -MAINTAINER = Kirill Bychkov +MAINTAINER = Kirill Bychkov -# GPL +# GPLv2, GNU FDL PERMIT_PACKAGE_CDROM = Yes -PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM =Yes -PERMIT_DISTFILES_FTP = Yes -WANTLIB = X11 Xau Xdmcp Xext Xrandr Xrender c m iconv pthread \ - sndio stdc++ usbhid +WANTLIB += SDL2 SDL2_mixer SDL2_net c m pthread MASTER_SITES = http://www.maxr.org/downloads/ -LIB_DEPENDS = SDL.>=8::devel/sdl \ - SDL_mixer.>=3.1::devel/sdl-mixer \ - SDL_net::devel/sdl-net \ - mikmod.>=2::audio/libmikmod \ - ogg.>=5::audio/libogg \ - smpeg.>=2::devel/smpeg \ - vorbis.>=6,vorbisfile.>=5::audio/libvorbis - -USE_X11 = Yes -CONFIGURE_STYLE = gnu -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ - LIBS="-pthread" - -post-patch: - @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