git: 60726f58880f - main - net/netpipes: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 10:05:39 UTC
The branch main has been updated by bofh:

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

commit 60726f58880f0b225b0be726cf2dd61d292f9e8f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 09:34:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:05:17 +0000

    net/netpipes: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/netpipes/Makefile             |  1 +
 net/netpipes/files/patch-Makefile | 22 +++++++++++++---------
 net/netpipes/pkg-plist            | 14 +++++++-------
 3 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/net/netpipes/Makefile b/net/netpipes/Makefile
index 85692597024f..23b5a566ca31 100644
--- a/net/netpipes/Makefile
+++ b/net/netpipes/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	netpipes
 PORTVERSION=	4.2
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	LOCAL/kris
 DISTNAME=	netpipes-4.2-export
diff --git a/net/netpipes/files/patch-Makefile b/net/netpipes/files/patch-Makefile
index 97b8b6147e1e..045c41f34ced 100644
--- a/net/netpipes/files/patch-Makefile
+++ b/net/netpipes/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig	1998-10-29 07:00:03.000000000 +1030
-+++ Makefile	2014-05-11 13:28:21.742500328 +0930
-@@ -17,7 +17,7 @@
+--- Makefile.orig	1998-10-28 20:30:03 UTC
++++ Makefile
+@@ -17,10 +17,10 @@
  
  # You probably want to change this:
  #INSTROOT = ${HOME}
@@ -8,8 +8,12 @@
 +INSTROOT = ${STAGEDIR}/${PREFIX}
  #INSTROOT = /usr/local
  INSTBIN = ${INSTROOT}/bin
- INSTMAN = ${INSTROOT}/man
-@@ -59,7 +59,7 @@
+-INSTMAN = ${INSTROOT}/man
++INSTMAN = ${INSTROOT}/share/man
+ 
+ # For those who wish to use gcc instead of the vendor's compiler.
+ #CC=gcc -Wall
+@@ -59,7 +59,7 @@ INSTMAN = ${INSTROOT}/man
  #CFLAGS = -DPOSIX_SIG -DHAVE_INET_ATON $(CDEBUGFLAGS)
  
  # Linux (developed with RedHat 4.2, libc5)
@@ -18,7 +22,7 @@
  
  # SGI
  #CFLAGS = -DSYSV $(CDEBUGFLAGS)
-@@ -71,7 +71,7 @@
+@@ -71,7 +71,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CD
  #CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
  
  # FreeBSD
@@ -27,7 +31,7 @@
  
  # AIX 4.1.4 and 3.2.5
  #CFLAGS = -DPOSIX_SIG -DAIX $(CDEBUGFLAGS)
-@@ -86,7 +86,7 @@
+@@ -86,7 +86,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CD
  
  # gcc can handle both -O and -g at once
  #CDEBUGFLAGS = -g # -Wall -DDEBUG
@@ -36,7 +40,7 @@
  
  ######################################################################
  
-@@ -104,8 +104,7 @@
+@@ -104,8 +104,7 @@ MANPAGES = netpipes.1 faucet.1 hose.1 \
  SSLLIB = -L../SSLeay-0.8.1 -lssl -lcrypto
  
  MANPAGES = netpipes.1 faucet.1 hose.1 \
@@ -46,7 +50,7 @@
  PROGRAMS = faucet hose sockdown getpeername timelimit encapsulate
  
  all	: ${PROGRAMS}
-@@ -138,15 +137,9 @@
+@@ -138,15 +137,9 @@ install : all
  	${CC} ${CFLAGS} ${SSLINC} -c $<
  
  install : all
diff --git a/net/netpipes/pkg-plist b/net/netpipes/pkg-plist
index aa631b88e75c..451e38b6a0d4 100644
--- a/net/netpipes/pkg-plist
+++ b/net/netpipes/pkg-plist
@@ -5,10 +5,10 @@ bin/getsockname
 bin/hose
 bin/sockdown
 bin/timelimit
-man/man1/encapsulate.1.gz
-man/man1/faucet.1.gz
-man/man1/getpeername.1.gz
-man/man1/hose.1.gz
-man/man1/netpipes.1.gz
-man/man1/sockdown.1.gz
-man/man1/timelimit.1.gz
+share/man/man1/encapsulate.1.gz
+share/man/man1/faucet.1.gz
+share/man/man1/getpeername.1.gz
+share/man/man1/hose.1.gz
+share/man/man1/netpipes.1.gz
+share/man/man1/sockdown.1.gz
+share/man/man1/timelimit.1.gz