pkgsrc/audio/freeswitch-music/options.mk
rillig b49e05bea1 audio: align variable assignments and directives
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 21:09:12 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.6 2019/11/02 21:09:13 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeswitch
PKG_SUPPORTED_OPTIONS= freeswitch-08k freeswitch-16k freeswitch-32k freeswitch-48k
PKG_SUGGESTED_OPTIONS= freeswitch-08k freeswitch-16k
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfreeswitch-08k)
DISTFILES+= freeswitch-sounds-music-8000-1.0.8.tar.gz
INSTALLATION_DIRS+= share/freeswitch/sounds/music/8000
SOUND_DIRS+= 8000
.endif
.if !empty(PKG_OPTIONS:Mfreeswitch-16k)
DISTFILES+= freeswitch-sounds-music-16000-1.0.8.tar.gz
SOUND_DIRS+= 16000
INSTALLATION_DIRS+= share/freeswitch/sounds/music/16000
.endif
.if !empty(PKG_OPTIONS:Mfreeswitch-32k)
DISTFILES+= freeswitch-sounds-music-32000-1.0.8.tar.gz
SOUND_DIRS+= 32000
INSTALLATION_DIRS+= share/freeswitch/sounds/music/32000
.endif
.if !empty(PKG_OPTIONS:Mfreeswitch-48k)
DISTFILES+= freeswitch-sounds-music-48000-1.0.8.tar.gz
SOUND_DIRS+= 48000
INSTALLATION_DIRS+= share/freeswitch/sounds/music/48000
.endif
.for opt in ${PKG_SUPPORTED_OPTIONS}
. if !empty(PKG_OPTIONS:M${opt})
PLIST_SUBST+= ${opt}=""
. else
PLIST_SUBST+= ${opt}="@comment "
. endif
.endfor
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}