git: b660396ba73b - main - net/freebsd-uucp: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:24:43 UTC
The branch main has been updated by dinoex:

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

commit b660396ba73bad2672accb3221c2d8c2119e175a
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:24:29 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:24:29 +0000

    net/freebsd-uucp: use ${PREFIX}/share/man
---
 net/freebsd-uucp/Makefile                 |  2 +-
 net/freebsd-uucp/files/patch-Makefile     | 11 +++++++++++
 net/freebsd-uucp/files/patch-Makefile.inc | 11 +++++++++++
 net/freebsd-uucp/pkg-plist                | 28 ++++++++++++++--------------
 4 files changed, 37 insertions(+), 15 deletions(-)

diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index be9f798face2..e337157d3dbc 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	freebsd-uucp
-PORTREVISION=	3
+PORTREVISION=	4
 DISTVERSIONPREFIX=	r
 DISTVERSION=	1_07_4
 CATEGORIES=	net comms
diff --git a/net/freebsd-uucp/files/patch-Makefile b/net/freebsd-uucp/files/patch-Makefile
new file mode 100644
index 000000000000..e6fd7fd9bddd
--- /dev/null
+++ b/net/freebsd-uucp/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- uucpd/Makefile.orig	2017-02-04 12:57:51 UTC
++++ uucpd/Makefile
+@@ -5,7 +5,7 @@ PROG=	uucpd
+ MAN=	uucpd.8
+ MAN8=	uucpd.8
+ BINDIR=	${PREFIX}/libexec
+-MANDIR=	${PREFIX}/man/man
++MANDIR=	${PREFIX}/share/man/man
+ LDADD=  -lcrypt -lutil
+ DPADD=  ${LIBCRYPT} ${LIBUTIL}
+ CFLAGS+= -DPREFIX=\"${PREFIX}\"
diff --git a/net/freebsd-uucp/files/patch-Makefile.inc b/net/freebsd-uucp/files/patch-Makefile.inc
new file mode 100644
index 000000000000..c832f6323eda
--- /dev/null
+++ b/net/freebsd-uucp/files/patch-Makefile.inc
@@ -0,0 +1,11 @@
+--- uucp/Makefile.inc.orig	2017-02-04 12:57:51 UTC
++++ uucp/Makefile.inc
+@@ -23,7 +23,7 @@ uucpgroup=	uucp
+ bindir=		${PREFIX}/bin
+ sbindir=        ${PREFIX}/sbin
+ libxdir=        ${PREFIX}/libexec/uucp
+-MANDIR=		${PREFIX}/man/man
++MANDIR=		${PREFIX}/share/man/man
+ INFODIR=	${PREFIX}/info
+ 
+ # The directory to look in for new style configuration files (when
diff --git a/net/freebsd-uucp/pkg-plist b/net/freebsd-uucp/pkg-plist
index 70f98a80b90a..70ed04f00b7d 100644
--- a/net/freebsd-uucp/pkg-plist
+++ b/net/freebsd-uucp/pkg-plist
@@ -16,23 +16,23 @@ etc/uucp/passwd.sample
 etc/uucp/port.sample
 etc/uucp/sys1.sample
 etc/uucp/sys2.sample
-man/man1/cu.1.gz
-man/man1/uuconv.1.gz
-man/man1/uucp.1.gz
-man/man1/uulog.1.gz
-man/man1/uuname.1.gz
-man/man1/uupick.1.gz
-man/man1/uustat.1.gz
-man/man1/uuto.1.gz
-man/man1/uux.1.gz
-man/man8/uuchk.8.gz
-man/man8/uucico.8.gz
-man/man8/uusched.8.gz
-man/man8/uuxqt.8.gz
-man/man8/uucpd.8.gz
 libexec/uucpd
 sbin/uuchk
 sbin/uuconv
+share/man/man1/cu.1.gz
+share/man/man1/uuconv.1.gz
+share/man/man1/uucp.1.gz
+share/man/man1/uulog.1.gz
+share/man/man1/uuname.1.gz
+share/man/man1/uupick.1.gz
+share/man/man1/uustat.1.gz
+share/man/man1/uuto.1.gz
+share/man/man1/uux.1.gz
+share/man/man8/uuchk.8.gz
+share/man/man8/uucico.8.gz
+share/man/man8/uusched.8.gz
+share/man/man8/uuxqt.8.gz
+share/man/man8/uucpd.8.gz
 @owner uucp
 @mode 04555
 bin/uucp