multimedia/mpvpaper: avoid pidof in auto-pause after 08f1b09225

(cherry picked from commit 15dbfe858d)
This commit is contained in:
Jan Beich 2022-09-23 18:05:44 +00:00
parent cdfb41c6ea
commit 26ab9c488e

View File

@ -1,5 +1,6 @@
PORTNAME= mpvpaper
DISTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= multimedia wayland
MAINTAINER= jbeich@FreeBSD.org
@ -20,7 +21,9 @@ PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} 's/pidof/pgrep/' ${WRKSRC}/src/main.c
@${REINPLACE_CMD} -e 's/pidof/pgrep/' \
${WRKSRC}/src/holder.c \
${WRKSRC}/src/main.c
post-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \