aboutsummaryrefslogtreecommitdiff
path: root/games/mirrormagic
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-20 14:50:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-20 14:50:45 +0000
commit01d76fa066fba0f0e9316e79b2d975172e5079b2 (patch)
treead4e2e59b3c90a881308f2bb3f813299647beb72 /games/mirrormagic
parent72771f10c0ccc76e852982996825a4ff91dbf9db (diff)
downloadports-01d76fa066fba0f0e9316e79b2d975172e5079b2.tar.gz
ports-01d76fa066fba0f0e9316e79b2d975172e5079b2.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=394883
Diffstat (limited to 'games/mirrormagic')
-rw-r--r--games/mirrormagic/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index afa6d4b9ef97..0cf99fad14dc 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -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' \