pkgsrc/audio/mp3blaster/options.mk
2015-12-29 04:54:34 +00:00

26 lines
598 B
Makefile

# $NetBSD: options.mk,v 1.2 2015/12/29 04:54:35 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mp3blaster
PKG_SUPPORTED_OPTIONS= esound oss sdl
PKG_SUGGESTED_OPTIONS= oss
.if ${OPSYS} == "Darwin"
PKG_SUGGESTED_OPTIONS= sdl
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --with-esd=yes
.include "../../audio/esound/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Moss)
CONFIGURE_ARGS+= --with-oss=yes
.include "../../mk/oss.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --with-sdl=yes
.include "../../devel/SDL/buildlink3.mk"
.endif