# $NetBSD: Makefile,v 1.34 2019/12/12 16:24:22 nia Exp $ DISTNAME= mpc-0.33 PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= https://www.musicpd.org/download/mpc/0/ EXTRACT_SUFX= .tar.xz MAINTAINER= simonb@NetBSD.org HOMEPAGE= https://musicpd.org/ COMMENT= Command-line client for musicpd LICENSE= gnu-gpl-v2 USE_TOOLS+= pkg-config LDFLAGS+= ${BUILDLINK_LDADD.iconv} SUBST_CLASSES+= sphinx SUBST_STAGE.sphinx= pre-configure SUBST_FILES.sphinx= meson.build SUBST_MESSAGE.sphinx= Fixing sphinx binary name. SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX}," PYTHON_FOR_BUILD_ONLY= tool PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool .include "../../devel/meson/build.mk" BUILDLINK_API_DEPENDS.libmpdclient+= libmpdclient>=2.9 .include "../../audio/libmpdclient/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk"