git: 3e2b774ac5a2 - main - Templates/BSD.local.dist: Add share/man/cat1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 18:33:27 UTC
The branch main has been updated by bofh:

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

commit 3e2b774ac5a2dd6281bf7f6bfa5e8ebe56834ef8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 13:42:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-28 18:33:05 +0000

    Templates/BSD.local.dist: Add share/man/cat1
    
    - Remove NOOP MKDIR in other ports
    
    Approved by:    portmgr
---
 Templates/BSD.local.dist     | 2 ++
 mail/sendmail-devel/Makefile | 1 -
 mail/sendmail/Makefile       | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Templates/BSD.local.dist b/Templates/BSD.local.dist
index a51f58c5d436..afcad52b28e3 100644
--- a/Templates/BSD.local.dist
+++ b/Templates/BSD.local.dist
@@ -653,6 +653,8 @@
             ..
         ..
         man
+            cat1
+            ..
             man1
             ..
             man2
diff --git a/mail/sendmail-devel/Makefile b/mail/sendmail-devel/Makefile
index 2a613756efe7..51c268e75a01 100644
--- a/mail/sendmail-devel/Makefile
+++ b/mail/sendmail-devel/Makefile
@@ -220,7 +220,6 @@ post-build:
 
 pre-install:
 	${MKDIR} ${STAGEDIR}/etc/mail \
-		${STAGEDIR}${PREFIX}/share/man/cat1 \
 		${STAGEDIR}${PREFIX}/share/man/cat5 \
 		${STAGEDIR}${PREFIX}/share/man/cat8
 	@${CAT} ${PKGDIR}/pkg-plist >${PLIST}
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index f6ae13074d6e..a1d607b86886 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -218,7 +218,6 @@ post-build:
 
 pre-install:
 	${MKDIR} ${STAGEDIR}/etc/mail \
-		${STAGEDIR}${PREFIX}/share/man/cat1 \
 		${STAGEDIR}${PREFIX}/share/man/cat5 \
 		${STAGEDIR}${PREFIX}/share/man/cat8
 	@${CAT} ${PKGDIR}/pkg-plist >${PLIST}