git: 3378a655620d - main - security/krb5-1*: Fix plist error

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 22:52:46 UTC
The branch main has been updated by cy:

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

commit 3378a655620d4e40d86f03860211b94c88e207fd
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-01-29 21:48:22 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-01-29 22:52:31 +0000

    security/krb5-1*: Fix plist error
    
    Fix:
    
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    Error: Missing: @dir %%DOCSDIR%%
    ===> Error: Plist issues found.
    *** Error code 1
---
 security/krb5-119/Makefile | 3 ++-
 security/krb5-120/Makefile | 3 ++-
 security/krb5-121/Makefile | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/security/krb5-119/Makefile b/security/krb5-119/Makefile
index a4c7fc4883d0..bbb940486a0f 100644
--- a/security/krb5-119/Makefile
+++ b/security/krb5-119/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		krb5
 PORTVERSION=		1.19.4
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -118,6 +118,7 @@ PDF_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
 .include <bsd.port.pre.mk>
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
 # html documentation
 .if ${PORT_OPTIONS:MKRB5_PDF}
 	pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
diff --git a/security/krb5-120/Makefile b/security/krb5-120/Makefile
index 308dfad27678..bd6c3b2f424a 100644
--- a/security/krb5-120/Makefile
+++ b/security/krb5-120/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		krb5
 PORTVERSION=		1.20.2
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -111,6 +111,7 @@ PDF_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
 .include <bsd.port.pre.mk>
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
 # html documentation
 .if ${PORT_OPTIONS:MKRB5_PDF}
 	pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
diff --git a/security/krb5-121/Makefile b/security/krb5-121/Makefile
index 037afc573fc5..c43ac9ca5a2d 100644
--- a/security/krb5-121/Makefile
+++ b/security/krb5-121/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		krb5
 PORTVERSION=		1.21.2
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -111,6 +111,7 @@ PDF_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
 .include <bsd.port.pre.mk>
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
 # html documentation
 .if ${PORT_OPTIONS:MKRB5_PDF}
 	pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`