=================================================================== RCS file: /cvs/ports/games/maxr/Makefile,v retrieving revision 1.5 retrieving revision 1.16 diff -u -r1.5 -r1.16 --- ports/games/maxr/Makefile 2009/10/17 15:33:14 1.5 +++ ports/games/maxr/Makefile 2016/07/11 10:02:17 1.16 @@ -1,41 +1,27 @@ -# $OpenBSD: Makefile,v 1.5 2009/10/17 14:33:14 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.6 +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 \ - pthread-stubs sndio stdc++ usbhid xcb +WANTLIB += SDL2 SDL2_mixer SDL2_net c m pthread MASTER_SITES = http://www.maxr.org/downloads/ -LIB_DEPENDS = SDL::devel/sdl \ - SDL_mixer.>=4::devel/sdl-mixer \ - SDL_net::devel/sdl-net \ - mikmod::audio/libmikmod \ - ogg::audio/libogg \ - smpeg::devel/smpeg \ - vorbis,vorbisfile::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