Edit

IABSD.fr/ports/x11/dunst/Makefile

Branch :

  • Show log

    Commit

  • Author : volker
    Date : 2026-03-03 19:12:54
    Hash : f7ff742e
    Message : x11/dunst: Update to 0.13.1 While here, enable wayland support. From Maintainer Timo Myyra, with tweak from me

  • x11/dunst/Makefile
  • COMMENT =	customizable and lightweight notification-daemon
    
    GH_ACCOUNT =	dunst-project
    GH_PROJECT =	dunst
    GH_TAGNAME =	v1.13.1
    
    CATEGORIES =	x11
    
    HOMEPAGE=	https://dunst-project.org/
    
    MAINTAINER =	Timo Myyra <timo.myyra@bittivirhe.fi>
    
    # BSD
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += X11 Xext Xinerama Xrandr Xss c cairo gdk_pixbuf-2.0
    WANTLIB += gio-2.0 glib-2.0 gobject-2.0 harfbuzz intl m notify
    WANTLIB += pango-1.0 pangocairo-1.0 pthread
    WANTLIB += wayland-client wayland-cursor
    
    # C11 with GNU extensions
    COMPILER =	base-clang ports-gcc
    COMPILER_LANGS = c
    CFLAGS +=	-std=gnu11
    
    USE_GMAKE =	Yes
    
    BUILD_DEPENDS =	graphics/png \
    		wayland/libinput-openbsd \
    		x11/dbus
    
    LIB_DEPENDS +=	devel/gettext,-runtime \
    		devel/glib2 \
    		devel/libnotify \
    		devel/pango \
    		graphics/cairo \
    		graphics/gdk-pixbuf2 \
    		wayland/wayland
    
    RUN_DEPENDS +=	x11/dbus
    
    TEST_DEPENDS =	shells/bash
    
    MAKE_FLAGS =	PREFIX="${PREFIX}" \
    		MANPREFIX="${PREFIX}/man" \
    		DATADIR="${PREFIX}/share/examples" \
    		SYSCONFDIR="/etc" \
    		BASHCOMPLETIONDIR="${LOCALBASE}/share/bash-completion/completions" \
    		FISHCOMPLETIONDIR="${LOCALBASE}/share/fish/vendor_completions.d" \
    		ZSHCOMPLETIONDIR="${LOCALBASE}/share/zsh/site-functions"
    
    pre-configure:
    	${SUBST_CMD} ${WRKSRC}/docs/dunst.1.pod.in \
    		${WRKSRC}/docs/dunst.5.pod ${WRKSRC}/dunstrc
    
    post-install:
    	mv ${WRKINST}/${SYSCONFDIR}/dunst ${PREFIX}/share
    
    .include <bsd.port.mk>