aboutsummaryrefslogtreecommitdiff
path: root/x11/swaylock
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 /x11/swaylock
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 'x11/swaylock')
-rw-r--r--x11/swaylock/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile
index 237f209bf411..1e31d1d9e632 100644
--- a/x11/swaylock/Makefile
+++ b/x11/swaylock/Makefile
@@ -29,12 +29,10 @@ OPTIONS_DEFINE= MANPAGES PIXBUF
OPTIONS_DEFAULT=MANPAGES PIXBUF
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
-MANPAGES_MESON_ON= -Dman-pages=enabled
-MANPAGES_MESON_OFF= -Dman-pages=disabled
+MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
PIXBUF_USE= GNOME=gdkpixbuf2
-PIXBUF_MESON_ON= -Dgdk-pixbuf=enabled
-PIXBUF_MESON_OFF= -Dgdk-pixbuf=disabled
+PIXBUF_MESON_ENABLED= gdk-pixbuf
.include <bsd.port.mk>