svn commit: r394883 - head/games/mirrormagic

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Aug 20 14:50:46 UTC 2015


Author: amdmi3
Date: Thu Aug 20 14:50:45 2015
New Revision: 394883
URL: https://svnweb.freebsd.org/changeset/ports/394883

Log:
  - Switch to options helpers

Modified:
  head/games/mirrormagic/Makefile

Modified: head/games/mirrormagic/Makefile
==============================================================================
--- head/games/mirrormagic/Makefile	Thu Aug 20 14:32:30 2015	(r394882)
+++ head/games/mirrormagic/Makefile	Thu Aug 20 14:50:45 2015	(r394883)
@@ -32,15 +32,10 @@ DESKTOP_ENTRIES="Mirror Magic" \
 OPTIONS_DEFINE=	SDL
 OPTIONS_DEFAULT=SDL
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSDL}
-USE_SDL=	image mixer sdl
-ALL_TARGET=	sdl
-.else
-USE_XORG=	x11
-ALL_TARGET=	x11
-.endif
+SDL_USE=		SDL=image,mixer,sdl
+SDL_ALL_TARGET=		sdl
+SDL_USE_OFF=		XORG=x11,xt
+SDL_ALL_TARGET_OFF=	x11
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' \


More information about the svn-ports-head mailing list