pkgsrc-wip/ezstream/options.mk
Blue Rats 7f01e4b803 Use options framework to enable the user to tailor this build by selecting
or deselecting the iconv, taglib, and vorbis options. The latter two are
enabled by default.
2012-12-04 00:36:37 +00:00

25 lines
603 B
Makefile

# $NetBSD: options.mk,v 1.1 2012/12/04 00:36:37 othyro Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ezstream
PKG_SUPPORTED_OPTIONS= iconv taglib vorbis
PKG_SUGGESTED_OPTIONS+= taglib vorbis
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Miconv)
.include "../../converters/libiconv/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libiconv
.endif
.if !empty(PKG_OPTIONS:Mtaglib)
.include "../../audio/taglib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-taglib
.endif
.if !empty(PKG_OPTIONS:Mvorbis)
.include "../../audio/libvorbis/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libvorbis
.endif