pkgsrc/audio/grip/options.mk
triaxx 686cbd9d56 Fix MASTER_SITES that did not used MASTER_SITE_SOURCEFORGE.
Remove useless patches using buildlink framework (thanks to wip/grip).
2017-08-18 13:26:37 +00:00

28 lines
617 B
Makefile

# $NetBSD: options.mk,v 1.2 2017/08/18 13:26:37 triaxx Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.grip
PKG_SUPPORTED_OPTIONS= cdparanoia id3
PKG_SUGGESTED_OPTIONS= cdparanoia id3
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
###
### Cdparanoia support
###
.if !empty(PKG_OPTIONS:Mcdparanoia)
BUILDLINK_FNAME_TRANSFORM.cdparanoia+= -e s,/cdparanoia/,/,g
. include "../../audio/cdparanoia/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-cdpar
.endif
###
### ID3v2 support
###
.if !empty(PKG_OPTIONS:Mid3)
. include "../../audio/id3lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-id3
.endif