git: a046c6f225fc - main - procmail-bgrb: move man pages

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 01 Mar 2024 21:11:43 UTC
The branch main has been updated by cy:

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

commit a046c6f225fc3c15d0141b70961765e75e0c428a
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-01 19:35:58 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-01 21:11:19 +0000

    procmail-bgrb: move man pages
---
 mail/procmail-bgrb/Makefile             |  2 +-
 mail/procmail-bgrb/files/patch-Makefile | 91 +++++++++++++++------------------
 mail/procmail-bgrb/pkg-plist            | 14 ++---
 3 files changed, 49 insertions(+), 58 deletions(-)

diff --git a/mail/procmail-bgrb/Makefile b/mail/procmail-bgrb/Makefile
index 5848407fd050..9c9cf73327f2 100644
--- a/mail/procmail-bgrb/Makefile
+++ b/mail/procmail-bgrb/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	procmail
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 PKGNAMESUFFIX=	-bgrb
 
diff --git a/mail/procmail-bgrb/files/patch-Makefile b/mail/procmail-bgrb/files/patch-Makefile
index 91a38924c475..4f48efa95f50 100644
--- a/mail/procmail-bgrb/files/patch-Makefile
+++ b/mail/procmail-bgrb/files/patch-Makefile
@@ -1,50 +1,41 @@
-*** Makefile.orig	Mon Apr 28 04:27:40 1997
---- Makefile	Wed May 14 18:16:50 1997
-***************
-*** 2,8 ****
-  
-  # BASENAME should point to where the whole lot will be installed
-  # change BASENAME to your home directory if need be
-! BASENAME	= /usr
-  # For display in the man pages
-  VISIBLE_BASENAME= $(BASENAME)
-  
---- 2,8 ----
-  
-  # BASENAME should point to where the whole lot will be installed
-  # change BASENAME to your home directory if need be
-! BASENAME      = $(DESTDIR)$(PREFIX)
-  # For display in the man pages
-  VISIBLE_BASENAME= $(BASENAME)
-  
-***************
-*** 53,59 ****
---- 53,63 ----
-  
-  # Makefile.0 - mark, don't (re)move this, a sed script needs it
-  
-+ .if defined(BATCH)
-+ LOCKINGTEST=/tmp .
-+ .else
-  LOCKINGTEST=__defaults__
-+ .endif
-  
-  #LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
-  #			If LOCKINGTEST is defined, autoconf will NOT
-***************
-*** 86,92 ****
-   #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
-  
-  # The place to put your favourite extra cc flag
-! CFLAGS0 = -O #$(GCC_WARNINGS)
-  LDFLAGS0= -s
-  # Read my libs :-)
-  LIBS=
---- 90,96 ----
-   #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
-  
-  # The place to put your favourite extra cc flag
-! CFLAGS0 = #-O #$(GCC_WARNINGS)
-  LDFLAGS0= -s
-  # Read my libs :-)
-  LIBS=
+--- Makefile.orig	2024-03-01 11:31:48.391757000 -0800
++++ Makefile	2024-03-01 11:33:37.299163000 -0800
+@@ -2,7 +2,7 @@
+ 
+ # BASENAME should point to where the whole lot will be installed
+ # change BASENAME to your home directory if need be
+-BASENAME	= /usr
++BASENAME      = $(DESTDIR)$(PREFIX)
+ # For display in the man pages
+ VISIBLE_BASENAME= $(BASENAME)
+ 
+@@ -11,7 +11,7 @@
+ #ARCHITECTURE	=.sun4
+ 
+ BINDIR_TAIL	= bin$(ARCHITECTURE)
+-MANDIR		= $(BASENAME)/man
++MANDIR		= $(BASENAME)/share/man
+ BINDIR		= $(BASENAME)/$(BINDIR_TAIL)
+ VISIBLE_BINDIR	= $(VISIBLE_BASENAME)/$(BINDIR_TAIL)
+ # MAN1SUFFIX for regular utility manuals
+@@ -53,7 +53,11 @@
+ 
+ # Makefile.0 - mark, don't (re)move this, a sed script needs it
+ 
++.if defined(BATCH)
++LOCKINGTEST=/tmp .
++.else
+ LOCKINGTEST=__defaults__
++.endif
+ 
+ #LOCKINGTEST=/tmp .	# Uncomment and add any directories you see fit.
+ #			If LOCKINGTEST is defined, autoconf will NOT
+@@ -86,7 +90,7 @@
+  #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
+ 
+ # The place to put your favourite extra cc flag
+-CFLAGS0 = -O #$(GCC_WARNINGS)
++CFLAGS0 = #-O #$(GCC_WARNINGS)
+ LDFLAGS0= -s
+ # Read my libs :-)
+ LIBS=
diff --git a/mail/procmail-bgrb/pkg-plist b/mail/procmail-bgrb/pkg-plist
index 5716a194572d..fa003b1a9e42 100644
--- a/mail/procmail-bgrb/pkg-plist
+++ b/mail/procmail-bgrb/pkg-plist
@@ -2,10 +2,10 @@ bin/formail
 @(,mail,2755) bin/lockfile
 bin/mailstat
 @(,mail,6755) bin/procmail
-man/man1/formail.1.gz
-man/man1/lockfile.1.gz
-man/man1/mailstat.1.gz
-man/man1/procmail.1.gz
-man/man5/procmailex.5.gz
-man/man5/procmailrc.5.gz
-man/man5/procmailsc.5.gz
+share/man/man1/formail.1.gz
+share/man/man1/lockfile.1.gz
+share/man/man1/mailstat.1.gz
+share/man/man1/procmail.1.gz
+share/man/man5/procmailex.5.gz
+share/man/man5/procmailrc.5.gz
+share/man/man5/procmailsc.5.gz