aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-08 03:23:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-08 03:23:55 +0800
commit42d92025abd8bbb87ebf93d47ea901c991ad5475 (patch)
tree422114662950c4e29894e0529fd76b88425c9525 /games
parentfd85e7b2b7706582d7bf1921b94e08808f385233 (diff)
downloadfreebsd-ports-gnome-42d92025abd8bbb87ebf93d47ea901c991ad5475.tar.gz
freebsd-ports-gnome-42d92025abd8bbb87ebf93d47ea901c991ad5475.tar.zst
freebsd-ports-gnome-42d92025abd8bbb87ebf93d47ea901c991ad5475.zip
- Remove MAN6
- Rework OPTIONS
Diffstat (limited to 'games')
-rw-r--r--games/chromium-bsu/Makefile55
1 files changed, 24 insertions, 31 deletions
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile
index b3cfef459203..2cf2e1146de6 100644
--- a/games/chromium-bsu/Makefile
+++ b/games/chromium-bsu/Makefile
@@ -25,36 +25,29 @@ INSTALLS_ICONS= yes
PORTDOCS= *
PORTDATA= *
-MAN6= chromium-bsu.6
-
-OPTIONS_DEFINE= SDL_MIXER GLUT NLS DOCS
-SDL_MIXER_DESC= Use SDL_mixer instead of OpenAL for audio
-GLUT_DESC= Use GLUT instead of SDL for video
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGLUT}
-USE_GL+= glut
-CONFIGURE_ARGS+=--disable-sdl --disable-sdlimage
-.else
-USE_SDL+= sdl image
-CONFIGURE_ARGS+=--disable-glut
-.endif
-
-.if ${PORT_OPTIONS:MSDL_MIXER}
-USE_SDL+= mixer
-CONFIGURE_ARGS+=--disable-openal
-.else
-USES+= openal:al,alut
-CONFIGURE_ARGS+=--disable-sdlmixer
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_DEFINE= NLS DOCS
+OPTIONS_SINGLE= AUDIO VIDEO
+OPTIONS_SINGLE_AUDIO= OPENAL SDL_MIXER
+OPTIONS_SINGLE_VIDEO= SDL GLUT
+OPTIONS_DEFAULT= OPENAL SDL
+OPTIONS_SUB= yes
+
+VIDEO_DESC= Video output selection
+AUDIO_DESC= Audio output selection
+OPENAL_DESC= Use OpenAL for audio
+SDL_MIXER_DESC= Use SDL_mixer for audio
+SDL_DESC= Use SDL for video output
+GLUT_DESC= Use GLUT for video output
+
+SDL_MIXER_USE= SDL=mixer
+SDL_MIXER_CONFIGURE_ENABLE=sdlmixer
+OPENAL_USES= openal:al,alut
+OPENAL_CONFIGURE_ENABLE=openal
+GLUT_USE= GL=glut
+GLUT_CONFIGURE_ENABLE= glut
+SDL_USE= SDL=sdl,image
+SDL_CONFIGURE_ENABLE= sdl sdlimage
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>