x11-toolkits/xwallpaper: moved manpages to share/man

Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy
This commit is contained in:
Rodrigo Osorio 2024-03-05 22:11:09 +01:00
parent 5abb4eb89f
commit a1f3f24ff3

View file

@ -1,6 +1,6 @@
PORTNAME= xwallpaper PORTNAME= xwallpaper
DISTVERSION= 0.7.4 DISTVERSION= 0.7.4
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= x11-toolkits CATEGORIES= x11-toolkits
MASTER_SITES= https://github.com/stoeckmann/xwallpaper/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/stoeckmann/xwallpaper/releases/download/v${DISTVERSION}/
@ -12,15 +12,16 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpixman-1.so:x11/pixman \ LIB_DEPENDS= libpixman-1.so:x11/pixman \
libxcb-image.so:x11/xcb-util-image \ libxcb-image.so:x11/xcb-util-image \
libxcb-util.so:x11/xcb-util libxcb-util.so:x11/xcb-util
USES= autoreconf jpeg pkgconfig xorg tar:xz USES= autoreconf jpeg pkgconfig tar:xz xorg
USE_XORG= x11 USE_XORG= x11
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
PLIST_FILES=bin/xwallpaper \ PLIST_FILES= bin/xwallpaper \
man/man1/xwallpaper.1.gz \ share/man/man1/xwallpaper.1.gz \
share/zsh/site-functions/_xwallpaper share/zsh/site-functions/_xwallpaper
.include <bsd.port.mk> .include <bsd.port.mk>