git: aad092d50862 - main - security/op: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:49 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aad092d50862fb91cab41708e5eac2ed5033a911

commit aad092d50862fb91cab41708e5eac2ed5033a911
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 17:11:20 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:26 +0000

    security/op: Move manpages to share/man
---
 security/op/Makefile  | 9 ++++++---
 security/op/pkg-plist | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/security/op/Makefile b/security/op/Makefile
index a8cc4978d6b0..c9646061c554 100644
--- a/security/op/Makefile
+++ b/security/op/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	op
-PORTVERSION=	1.34
-PORTREVISION=	2
+DISTVERSION=	1.34
+PORTREVISION=	3
 CATEGORIES=	security
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -13,9 +13,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USE_GITHUB=	yes
 GH_ACCOUNT=	dagwieers
 
-GNU_CONFIGURE=	yes
+GNU_CONFIGURE=		yes
 CONFLICTS_INSTALL=	security/1password-client
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 post-configure:
 	@${REINPLACE_CMD} -e 's|\(OPENLOG_VOID\) 0|\1 1|' ${WRKSRC}/config.h
 
diff --git a/security/op/pkg-plist b/security/op/pkg-plist
index 3ac3227e1d26..d5109eee727b 100644
--- a/security/op/pkg-plist
+++ b/security/op/pkg-plist
@@ -1,4 +1,4 @@
 @(,,4755) bin/op
 @sample(,,600) etc/op.conf.sample
-man/man1/op.1.gz
+share/man/man1/op.1.gz
 @dir etc/op.d