aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-18 17:31:33 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-18 17:31:33 +0800
commit431c114e9a87fd7d44e8eac15c057fdb70d6e77e (patch)
tree4a07a369f1adc818866117e2ac55cddbb6f92f6f /games
parent2455b606a6b5728424e0d86b3eded72d4f13d334 (diff)
downloadfreebsd-ports-gnome-431c114e9a87fd7d44e8eac15c057fdb70d6e77e.tar.gz
freebsd-ports-gnome-431c114e9a87fd7d44e8eac15c057fdb70d6e77e.tar.zst
freebsd-ports-gnome-431c114e9a87fd7d44e8eac15c057fdb70d6e77e.zip
- Switch to opt_CMAKE_BOOL
- Improve indentation
Diffstat (limited to 'games')
-rw-r--r--games/instead/Makefile39
1 files changed, 18 insertions, 21 deletions
diff --git a/games/instead/Makefile b/games/instead/Makefile
index 5ab0dc3a6601..2fb44dae4564 100644
--- a/games/instead/Makefile
+++ b/games/instead/Makefile
@@ -21,29 +21,26 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
PORTDATA= *
-OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT=SDL2 GTK2
-OPTIONS_SINGLE= SDL_VERSION
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= SDL2 GTK2
+OPTIONS_SINGLE= SDL_VERSION
OPTIONS_SINGLE_SDL_VERSION= SDL SDL2
-OPTIONS_RADIO= GTK_VERSION
+OPTIONS_RADIO= GTK_VERSION
OPTIONS_RADIO_GTK_VERSION= GTK2 GTK3
-SDL_VERSION_DESC=SDL version
-SDL_DESC= Use SDL 1.2
-SDL2_DESC= Use SDL 2.0
-GTK_VERSION_DESC=GTK version for file open dialog
-GTK2_DESC= Use GTK 2
-GTK3_DESC= Use GTK 3
-
-SDL_USE= SDL=sdl,image,ttf,mixer
-SDL2_USE= SDL=sdl2,image2,ttf2,mixer2
-SDL2_CMAKE_ON= -DWITH_SDL2=ON
-SDL2_CMAKE_OFF= -DWITH_SDL2=OFF
-GTK2_USE= GNOME=gtk20
-GTK2_CMAKE_ON= -DWITH_GTK2=ON
-GTK2_CMAKE_OFF= -DWITH_GTK2=OFF
-GTK3_USE= GNOME=gtk30
-GTK3_CMAKE_ON= -DWITH_GTK3=ON
-GTK3_CMAKE_OFF= -DWITH_GTK3=OFF
+SDL_VERSION_DESC= SDL version
+SDL_DESC= Use SDL 1.2
+SDL2_DESC= Use SDL 2.0
+GTK_VERSION_DESC= GTK version for file open dialog
+GTK2_DESC= Use GTK 2
+GTK3_DESC= Use GTK 3
+
+SDL_USE= SDL=sdl,image,ttf,mixer
+SDL2_USE= SDL=sdl2,image2,ttf2,mixer2
+SDL2_CMAKE_BOOL= WITH_SDL2
+GTK2_USE= GNOME=gtk20
+GTK2_CMAKE_BOOL= WITH_GTK2
+GTK3_USE= GNOME=gtk30
+GTK3_CMAKE_BOOL= WITH_GTK3
.include <bsd.port.mk>