Files
ports/sysutils/dunst/files/patch-Makefile
T

74 lines
3.7 KiB
Plaintext

--- Makefile.orig 2026-03-27 15:21:58 UTC
+++ Makefile
@@ -230,51 +230,51 @@ install-dunst: dunst doc
install: install-dunst install-dunstctl install-dunstrc install-service
install-dunst: dunst doc
- ${INSTALL} -Dm755 dunst ${DESTDIR}${BINDIR}/dunst
- ${INSTALL} -Dm644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1
- ${INSTALL} -Dm644 docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5
- ${INSTALL} -Dm644 docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1
- ${INSTALL} -Dm644 docs/dunstify.1 ${DESTDIR}${MANPREFIX}/man1/dunstify.1
+ ${INSTALL} -m555 dunst ${DESTDIR}${BINDIR}/dunst
+ ${INSTALL} -m644 docs/dunst.1 ${DESTDIR}${MANPREFIX}/man1/dunst.1
+ ${INSTALL} -m644 docs/dunst.5 ${DESTDIR}${MANPREFIX}/man5/dunst.5
+ ${INSTALL} -m644 docs/dunstctl.1 ${DESTDIR}${MANPREFIX}/man1/dunstctl.1
+ ${INSTALL} -m644 docs/dunstify.1 ${DESTDIR}${MANPREFIX}/man1/dunstify.1
install-dunstctl: dunstctl
- ${INSTALL} -Dm755 dunstctl ${DESTDIR}${BINDIR}/dunstctl
+ ${INSTALL} -m555 dunstctl ${DESTDIR}${BINDIR}/dunstctl
ifeq (1,${SYSCONF_FORCE_NEW})
install-dunstrc:
- ${INSTALL} -Dm644 dunstrc ${DESTDIR}${SYSCONFFILE}
+ ${INSTALL} -m644 dunstrc ${DESTDIR}${SYSCONFFILE}
endif
install-service: install-service-dbus
install-service-dbus: service-dbus
- ${INSTALL} -Dm644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service
+ ${INSTALL} -m644 org.knopwob.dunst.service ${DESTDIR}${SERVICEDIR_DBUS}/org.knopwob.dunst.service
ifneq (0,${SYSTEMD})
install-service: install-service-systemd
install-service-systemd: service-systemd
- ${INSTALL} -Dm644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service
+ ${INSTALL} -m644 dunst.systemd.service ${DESTDIR}${SERVICEDIR_SYSTEMD}/dunst.service
endif
ifneq (0,${DUNSTIFY})
install: install-dunstify
install-dunstify: dunstify
- ${INSTALL} -Dm755 dunstify ${DESTDIR}${BINDIR}/dunstify
+ ${INSTALL} -m755 dunstify ${DESTDIR}${BINDIR}/dunstify
endif
ifneq (0,${COMPLETIONS})
install: install-completions
install-completions:
- ${INSTALL} -Dm644 completions/dunst.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunst
- ${INSTALL} -Dm644 completions/dunstctl.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstctl
- ${INSTALL} -Dm644 completions/_dunst.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunst
- ${INSTALL} -Dm644 completions/_dunstctl.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstctl
- ${INSTALL} -Dm644 completions/dunst.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunst.fish
- ${INSTALL} -Dm644 completions/dunstctl.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstctl.fish
+ ${INSTALL} -m644 completions/dunst.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunst
+ ${INSTALL} -m644 completions/dunstctl.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstctl
+ ${INSTALL} -m644 completions/_dunst.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunst
+ ${INSTALL} -m644 completions/_dunstctl.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstctl
+ ${INSTALL} -m644 completions/dunst.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunst.fish
+ ${INSTALL} -m644 completions/dunstctl.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstctl.fish
ifneq (0,${DUNSTIFY})
install: install-completions-dunstify
install-completions-dunstify:
- ${INSTALL} -Dm644 completions/dunstify.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstify
- ${INSTALL} -Dm644 completions/_dunstify.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstify
- ${INSTALL} -Dm644 completions/dunstify.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstify.fish
+ ${INSTALL} -m644 completions/dunstify.bashcomp ${DESTDIR}${BASHCOMPLETIONDIR}/dunstify
+ ${INSTALL} -m644 completions/_dunstify.zshcomp ${DESTDIR}${ZSHCOMPLETIONDIR}/_dunstify
+ ${INSTALL} -m644 completions/dunstify.fishcomp ${DESTDIR}${FISHCOMPLETIONDIR}/dunstify.fish
endif
endif