diff options
author | ume <ume@FreeBSD.org> | 2012-06-17 03:11:44 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2012-06-17 03:11:44 +0800 |
commit | d4202fd56c042fe87f0d2aadc2bc1cc6e532960d (patch) | |
tree | 9bd64d7598218e46d7ea8698a1cb51eb6f5ca491 /audio/gkrellmms2 | |
parent | dc89b2aff8e35796f0607fc867ad0c2b86ababd6 (diff) | |
download | freebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.tar.gz freebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.tar.zst freebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.zip |
Convert to use new OPTIONS framework.
Diffstat (limited to 'audio/gkrellmms2')
-rw-r--r-- | audio/gkrellmms2/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile index 229e0d3ca88c..aaf7d309a857 100644 --- a/audio/gkrellmms2/Makefile +++ b/audio/gkrellmms2/Makefile @@ -33,24 +33,19 @@ MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \ LOCALEDIR=${PREFIX}/share/locale \ enable_nls=1 -OPTIONS= BEEP_MEDIA_PLAYER "Use beep" off \ - XMMS "Use XMMS" on +OPTIONS_SINGLE= PLAYER +OPTIONS_SINGLE_PLAYER= BMP XMMS +OPTIONS_DEFAULT= XMMS +BMP_DESC= Use Beep Media Player +XMMS_DESC= Use XMMS -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITH_BEEP_MEDIA_PLAYER) && !defined(WITH_XMMS) -.if defined(WITHOUT_BEEP_MEDIA_PLAYER) && defined(WITHOUT_XMMS) -BROKEN= You need to select beep or XMMS. Run 'make config' again! -.endif -WITH_XMMS= yes -.elif defined(WITH_BEEP_MEDIA_PLAYER) && defined(WITH_XMMS) -BROKEN= beep and XMMS are mutually exclusive. Run 'make config' again! -.endif -.if defined(WITH_BEEP_MEDIA_PLAYER) +.if ${PORT_OPTIONS:MBMP} LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player MAKE_ENV+= USE_BMP=yes -.elif defined(WITH_XMMS) +.elif ${PORT_OPTIONS:MXMMS} LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |