Manual tweak multimedia/haruna
[dports.git] / multimedia / mpvpaper / Makefile
1 PORTNAME=       mpvpaper
2 DISTVERSION=    1.3
3 PORTREVISION=   3
4 CATEGORIES=     multimedia wayland
5
6 MAINTAINER=     jbeich@FreeBSD.org
7 COMMENT=        Video wallpaper for wlroots compositors
8 WWW=            https://github.com/GhostNaN/mpvpaper
9
10 LICENSE=        GPLv3
11
12 BUILD_DEPENDS=  wayland-protocols>0:graphics/wayland-protocols
13 LIB_DEPENDS=    libwayland-egl.so:graphics/wayland \
14                 libmpv.so:multimedia/mpv
15
16 USES=           compiler:c11 gl meson pkgconfig
17 USE_GITHUB=     yes
18 USE_GL=         egl
19 GH_ACCOUNT=     GhostNaN
20 PLIST_FILES=    bin/${PORTNAME} \
21                 bin/${PORTNAME}-holder \
22                 share/man/man1/${PORTNAME}.1.gz
23
24 post-patch:
25         @${REINPLACE_CMD} -e 's/pidof/pgrep/' \
26                 ${WRKSRC}/src/holder.c \
27                 ${WRKSRC}/src/main.c
28
29 post-install:
30         ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
31                 ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
32
33 .include <bsd.port.mk>