git: e93dca2124df - main - security/please: Move man page to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:58 UTC
The branch main has been updated by yasu:

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

commit e93dca2124dfcc6335ba3fd20e0342494b1dcd76
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:15:56 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:15:57 +0000

    security/please: Move man page to share/man
    
    Approved by:    portmgr (blanket)
---
 security/please/Makefile             |  3 ++-
 security/please/files/patch-Makefile | 12 ++++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/security/please/Makefile b/security/please/Makefile
index 068f34a4b88d..f610c50c4eea 100644
--- a/security/please/Makefile
+++ b/security/please/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	please
 PORTVERSION=	3.0
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -13,7 +14,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	MagikBSD
 
 PLIST_FILES=	"@(,,4555) bin/please" "@sample etc/pam.d/please.sample" \
-		man/man1/please.1.gz
+		share/man/man1/please.1.gz
 
 post-install:
 	${CP} ${WRKSRC}/pam.d/please.BSD \
diff --git a/security/please/files/patch-Makefile b/security/please/files/patch-Makefile
index a6e44b548645..8d5563c97c1b 100644
--- a/security/please/files/patch-Makefile
+++ b/security/please/files/patch-Makefile
@@ -1,11 +1,15 @@
---- Makefile.orig	2021-02-26 22:51:55 UTC
+--- Makefile.orig	2023-06-11 18:04:30 UTC
 +++ Makefile
-@@ -24,7 +24,7 @@ ${BIN}.1: ${BIN}.rst
+@@ -24,9 +24,9 @@ install: all
  
  install: all
  	install -d ${DESTDIR}${PREFIX}/bin
 -	install -m 4555 -s ${BIN} ${DESTDIR}${PREFIX}/bin
+-	install -d ${DESTDIR}${PREFIX}/man/man1
+-	install -m 0444 ${BIN}.1.gz ${DESTDIR}${PREFIX}/man/man1
 +	install -m 0555 -s ${BIN} ${DESTDIR}${PREFIX}/bin
- 	install -d ${DESTDIR}${PREFIX}/man/man1
- 	install -m 0444 ${BIN}.1.gz ${DESTDIR}${PREFIX}/man/man1
++	install -d ${DESTDIR}${PREFIX}/share/man/man1
++	install -m 0444 ${BIN}.1.gz ${DESTDIR}${PREFIX}/share/man/man1
  
+ clean:
+ 	rm -f ${BIN} ${OBJ} ${BIN}.1.gz