=================================================================== RCS file: /cvs/ports/games/maxr/Makefile,v retrieving revision 1.4 retrieving revision 1.15 diff -u -r1.4 -r1.15 --- ports/games/maxr/Makefile 2009/10/10 08:05:05 1.4 +++ ports/games/maxr/Makefile 2016/04/14 13:24:43 1.15 @@ -1,41 +1,32 @@ -# $OpenBSD: Makefile,v 1.4 2009/10/10 07:05:05 yason Exp $ +# $OpenBSD: Makefile,v 1.15 2016/04/14 13:24:43 kirby Exp $ -COMMENT = M.A.X clone +COMMENT = Mechanized Assault & eXploration Reloaded -DISTNAME = maxr-0.2.6 +DISTNAME = maxr-0.2.8 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 += FLAC SDL SDL_mixer SDL_net c m mikmod ogg pthread +WANTLIB += smpeg sndio stdc++ usbhid vorbis vorbisfile MASTER_SITES = http://www.maxr.org/downloads/ -LIB_DEPENDS = SDL::devel/sdl \ - SDL_mixer.>3::devel/sdl-mixer \ - SDL_net::devel/sdl-net \ - mikmod::audio/libmikmod \ - ogg::audio/libogg \ - smpeg::devel/smpeg \ - vorbis,vorbisfile::audio/libvorbis +MODULES = converters/libiconv +LIB_DEPENDS = devel/sdl-mixer \ + devel/sdl-net -USE_X11 = Yes CONFIGURE_STYLE = gnu CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ - LIBS="-pthread" + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" -post-patch: +pre-configure: @perl -pi -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in .include