aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-04-05 13:55:35 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-04-05 14:25:20 +0000
commit30840c2819e395d66a8bdc6eb3c0583bd42f5dda (patch)
treea7f00e1a2d343a6f419b2af82f0b52ab36a2f64a
parent990a1168dbdb813920b0d0bc3d6ceec28672ddb8 (diff)
downloadports-30840c2819e395d66a8bdc6eb3c0583bd42f5dda.tar.gz
ports-30840c2819e395d66a8bdc6eb3c0583bd42f5dda.zip
x11/waybar: simplify CONFLICTS
-rw-r--r--x11/waybar/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index 4dd5632c26a2..74cbbd6f03b4 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -2,6 +2,7 @@ PORTNAME= waybar
DISTVERSION= 0.9.17
PORTREVISION= 1
CATEGORIES= x11 wayland
+PKGNAMESUFFIX= ${FLAVOR:N${FLAVORS:[1]}:C/.+/-${FLAVOR}/}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Highly customizable Wayland bar for Sway and wlroots-based compositors
@@ -20,9 +21,7 @@ LIB_DEPENDS= libdate-tz.so:devel/date \
TEST_DEPENDS= catch>0:devel/catch
FLAVORS= default nopulse
-default_CONFLICTS_INSTALL= ${PORTNAME}-nopulse
-nopulse_CONFLICTS_INSTALL= ${PORTNAME}
-nopulse_PKGNAMESUFFIX= -nopulse
+CONFLICTS_INSTALL= ${PORTNAME}*
USES= compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB= yes