=================================================================== RCS file: /cvs/ports/games/maxr/Makefile,v retrieving revision 1.1 retrieving revision 1.17 diff -u -r1.1 -r1.17 --- ports/games/maxr/Makefile 2009/03/03 15:10:04 1.1 +++ ports/games/maxr/Makefile 2021/05/12 15:33:54 1.17 @@ -1,37 +1,25 @@ -# $OpenBSD: Makefile,v 1.1 2009/03/03 15:10:04 yason Exp $ +# $OpenBSD: Makefile,v 1.17 2021/05/12 15:33:54 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 = https://www.maxr.org/ -MAINTAINER = Kirill Bychkov +MAINTAINER = Kirill Bychkov -# GPL -PERMIT_PACKAGE_CDROM = Yes -PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM =Yes -PERMIT_DISTFILES_FTP = Yes +# GPLv2, GNU FDL +PERMIT_PACKAGE = 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/ +MASTER_SITES = https://www.maxr.org/downloads/ -LIB_DEPENDS = SDL.>=8::devel/sdl \ - SDL_mixer::devel/sdl-mixer \ - SDL_net::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" - -post-patch: - @perl -pi -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in +MODULES = devel/cmake +LIB_DEPENDS = converters/libiconv \ + devel/sdl2-mixer \ + devel/sdl2-net .include