pkgsrc/audio/mp3blaster/options.mk

27 lines
598 B
Makefile
Raw Normal View History

2015-12-29 05:54:34 +01:00
# $NetBSD: options.mk,v 1.2 2015/12/29 04:54:35 dholland Exp $
2015-12-29 05:54:34 +01:00
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)
2015-12-29 05:54:34 +01:00
CONFIGURE_ARGS+= --with-esd=yes
.include "../../audio/esound/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Moss)
2015-12-29 05:54:34 +01:00
CONFIGURE_ARGS+= --with-oss=yes
.include "../../mk/oss.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msdl)
2015-12-29 05:54:34 +01:00
CONFIGURE_ARGS+= --with-sdl=yes
.include "../../devel/SDL/buildlink3.mk"
.endif