From 0ef221ab629234e3fc00d564cb25f81254b2d5ae Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 24 Jan 2024 08:58:45 +0100 Subject: manprefix: move the manpages for the ports I maintain to share/man --- deskutils/i3lock/Makefile | 5 +++-- deskutils/xcbautolock/Makefile | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'deskutils') 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 -- cgit v1.2.3