summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-01-24 08:58:45 +0100
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-01-24 08:59:53 +0100
commit0ef221ab629234e3fc00d564cb25f81254b2d5ae (patch)
treee7e66fca36a169d414363c903987b02e4c0d4881 /deskutils
parentff0f94260bce8568b76d512bb8c622abd203131e (diff)
downloadfreebsd-ports-0ef221ab629234e3fc00d564cb25f81254b2d5ae.zip
manprefix: move the manpages for the ports I maintain to share/man
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/i3lock/Makefile5
-rw-r--r--deskutils/xcbautolock/Makefile5
2 files changed, 7 insertions, 3 deletions
diff --git a/deskutils/i3lock/Makefile b/deskutils/i3lock/Makefile
index 2518805b244b..6ba6ea7408bd 100644
--- a/deskutils/i3lock/Makefile
+++ b/deskutils/i3lock/Makefile
@@ -1,6 +1,6 @@
PORTNAME= i3lock
PORTVERSION= 2.13
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils x11
MASTER_SITES= http://i3wm.org/${PORTNAME}/
@@ -23,7 +23,7 @@ LIB_DEPENDS= libcairo.so:graphics/cairo \
RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper
PLIST_FILES= bin/i3lock \
- man/man1/i3lock.1.gz \
+ share/man/man1/i3lock.1.gz \
etc/pam.d/i3lock
USES= gmake iconv localbase pkgconfig tar:bzip2 xorg
@@ -31,6 +31,7 @@ LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xorgproto xext
USE_CSTD= c99
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFLICTS_INSTALL= i3lock-color
diff --git a/deskutils/xcbautolock/Makefile b/deskutils/xcbautolock/Makefile
index 6ce7eafe8fd3..2cb54d77e1bc 100644
--- a/deskutils/xcbautolock/Makefile
+++ b/deskutils/xcbautolock/Makefile
@@ -1,5 +1,6 @@
PORTNAME= xcbautolock
PORTVERSION= 0.2.2
+PORTREVISION= 1
CATEGORIES= deskutils x11
MAINTAINER= bapt@FreeBSD.org
@@ -13,9 +14,11 @@ USE_CSTD= c99
USE_GITHUB= yes
GH_ACCOUNT= bapt
+MAKE_ENV= MANDIR=${PREFIX}/share/man/man1
+
LIB_DEPENDS= libxcb-screensaver.so:x11/libxcb
PLIST_FILES= bin/xcbautolock \
- man/man1/xcbautolock.1.gz
+ share/man/man1/xcbautolock.1.gz
.include <bsd.port.mk>