aboutsummaryrefslogtreecommitdiff
path: root/audio/musicpc
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-02-25 22:07:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-02-25 22:07:54 +0000
commit0335c38a4b27892d8da53dbbdb70b1fffc6aba0b (patch)
tree2616b56081f1f233cbc8261e31e92505ef25daee /audio/musicpc
parent884c315c62251cecb08e804006318ef02b8aa1a9 (diff)
downloadports-0335c38a4b27892d8da53dbbdb70b1fffc6aba0b.tar.gz
ports-0335c38a4b27892d8da53dbbdb70b1fffc6aba0b.zip
Add option helper for MESON_ARGS = -Dfoo=enabled
feature options define combo like auto/yes/no in a standand way. In other words, upstream projects of ports that use _MESON_YES are supposed to migrate to _MESON_ENABLED. https://mesonbuild.com/Build-options.html#features Reviewed by: tobik (implicit) Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D19127
Notes
Notes: svn path=/head/; revision=493901
Diffstat (limited to 'audio/musicpc')
-rw-r--r--audio/musicpc/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/musicpc/Makefile b/audio/musicpc/Makefile
index 83db35fb09af..38e4bd6944ed 100644
--- a/audio/musicpc/Makefile
+++ b/audio/musicpc/Makefile
@@ -23,13 +23,11 @@ OPTIONS_DEFAULT= DOCS ICONV
DOCS_USES= python:env
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
-DOCS_MESON_ON= -Ddocumentation=enabled
-DOCS_MESON_OFF= -Ddocumentation=disabled
+DOCS_MESON_ENABLED= documentation
ICONV_USES= iconv
ICONV_LDFLAGS= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
-ICONV_MESON_ON= -Diconv=enabled
-ICONV_MESON_OFF= -Diconv=disabled
+ICONV_MESON_ENABLED= iconv
PORTDOCS= AUTHORS README.rst NEWS