diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-13 00:35:45 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-13 00:35:45 +0800 |
commit | b0ad879e3e23b8ba6d75396d593d1bba436ffed6 (patch) | |
tree | 8b078441d20301eb3b13f3b6b3a374c4688468a4 /games/kuklomenos | |
parent | 624c78988bf68a8f633b795635f8ba4b2fffed13 (diff) | |
download | freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.gz freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.tar.zst freebsd-ports-gnome-b0ad879e3e23b8ba6d75396d593d1bba436ffed6.zip |
Convert to new options framework
Diffstat (limited to 'games/kuklomenos')
-rw-r--r-- | games/kuklomenos/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/kuklomenos/Makefile b/games/kuklomenos/Makefile index 68ab2a4951dc..17162234a95b 100644 --- a/games/kuklomenos/Makefile +++ b/games/kuklomenos/Makefile @@ -17,7 +17,8 @@ LICENSE= GPLv3 LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl -OPTIONS= VORBIS "Enable Ogg/Vorbis support" on +OPTIONS_DEFINE= VORBIS +OPTIONS_DEFAULT= VORBIS USE_SDL= sdl GNU_CONFIGURE= yes @@ -28,12 +29,12 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} .include <bsd.port.options.mk> -.if defined(WITHOUT_VORBIS) -CONFIGURE_ARGS+=--disable-sound -PLIST_SUB+= VORBIS="@comment " -.else +.if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis PLIST_SUB+= VORBIS="" +.else +CONFIGURE_ARGS+=--disable-sound +PLIST_SUB+= VORBIS="@comment " .endif post-patch: |