aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-20 22:50:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-20 22:50:45 +0800
commitc286cd93b26268a07f63165afca166ad1df34aa7 (patch)
treead4e2e59b3c90a881308f2bb3f813299647beb72 /games
parent0a5584eaaad45b043fd87ba94ecf2d803dab068a (diff)
downloadfreebsd-ports-gnome-c286cd93b26268a07f63165afca166ad1df34aa7.tar.gz
freebsd-ports-gnome-c286cd93b26268a07f63165afca166ad1df34aa7.tar.zst
freebsd-ports-gnome-c286cd93b26268a07f63165afca166ad1df34aa7.zip
- Switch to options helpers
Diffstat (limited to 'games')
-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' \