Skip to content

Commit

Permalink
procmail-bgrb: move man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cschuber committed Mar 1, 2024
1 parent d03cdd0 commit a046c6f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 58 deletions.
2 changes: 1 addition & 1 deletion mail/procmail-bgrb/Makefile
@@ -1,7 +1,7 @@
PORTNAME= procmail
DISTVERSIONPREFIX= v
DISTVERSION= 3.24
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
PKGNAMESUFFIX= -bgrb

Expand Down
91 changes: 41 additions & 50 deletions 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=
14 changes: 7 additions & 7 deletions mail/procmail-bgrb/pkg-plist
Expand Up @@ -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

0 comments on commit a046c6f

Please sign in to comment.