git: 1ef9f36a40b1 - main - news/atp: Moved man to share/man

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

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

commit 1ef9f36a40b192fe239d860e9da092c97a80edc8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 11:02:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 11:32:34 +0000

    news/atp: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 news/atp/Makefile                |  2 +-
 news/atp/files/patch-Makefile.in | 24 ++++++++++++++----------
 news/atp/pkg-plist               |  8 ++++----
 3 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/news/atp/Makefile b/news/atp/Makefile
index 1024a08025bd..41d98756cf41 100644
--- a/news/atp/Makefile
+++ b/news/atp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	atp
 PORTVERSION=	1.50
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	news
 MASTER_SITES=	SUNSITE/system/bbs/mail
 DISTFILES=	${DISTNAME}-src.tar.gz
diff --git a/news/atp/files/patch-Makefile.in b/news/atp/files/patch-Makefile.in
index 3130cce8a903..573569c72bcc 100644
--- a/news/atp/files/patch-Makefile.in
+++ b/news/atp/files/patch-Makefile.in
@@ -1,7 +1,11 @@
 --- Makefile.in.orig	1997-01-03 13:00:00 UTC
 +++ Makefile.in
-@@ -20,7 +20,7 @@
- mandir = $(prefix)/man
+@@ -17,10 +17,10 @@ bindir = $(exec_prefix)/bin
+ prefix = @prefix@
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+-mandir = $(prefix)/man
++mandir = $(prefix)/share/man
  
  # path where your ATP data and configuration files will reside:
 -atphome = @ATPHOME@
@@ -9,7 +13,7 @@
  
  # permissions and ownership
  bin_prm = 755
-@@ -78,7 +78,7 @@
+@@ -78,7 +78,7 @@ devel_targ = callmap check depend extract lint tags
  # phony targets (a.k.a "forced" targets)
  clean_targ = clean distclean clobber spotless mostlyclean unconvert
  devel_targ = callmap check depend extract lint tags
@@ -18,7 +22,7 @@
  misc_targ  = debug dvi info eline elinedb manifest 
  .PHONY     : $(clean_targ) $(devel_targ) $(instl_targ) $(misc_targ)
  
-@@ -109,7 +109,7 @@
+@@ -109,7 +109,7 @@ utils/rot13:
  utils/rot13:
  	cd utils ; $(MAKE) rot13
  
@@ -27,23 +31,23 @@
  
  in_cfg:	
  	@echo " "
-@@ -133,23 +133,17 @@
+@@ -133,23 +133,17 @@ in_bin: atp utils/atpdiag utils/rot13
  	@echo " "
  	@echo "Installing binaries . . ."
  	@$(STRIP) atp ./utils/rot13
 -	$(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./atp $(bindir)/atp
 -	$(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./utils/atpdiag $(bindir)/atpdiag
 -	$(INSTALL) -m $(bin_prm) -o $(bin_own) -g $(bin_grp) ./utils/rot13 $(bindir)/rot13
--
++	$(INSTALL) -m $(bin_prm) ./atp $(bindir)/atp
++	$(INSTALL) -m $(bin_prm) ./utils/atpdiag $(bindir)/atpdiag
++	$(INSTALL) -m $(bin_prm) ./utils/rot13 $(bindir)/rot13
+ 
 -in_wrap:
 -	@echo " "
 -	@echo "Now it's YOUR turn, please do this:"
 -	@echo "Set and export the environment variable: ATP=$(atphome)"
 -	@echo "Edit your $(atphome)/atprc and then read the docs!"
-+	$(INSTALL) -m $(bin_prm) ./atp $(bindir)/atp
-+	$(INSTALL) -m $(bin_prm) ./utils/atpdiag $(bindir)/atpdiag
-+	$(INSTALL) -m $(bin_prm) ./utils/rot13 $(bindir)/rot13
- 
+-
  in_man:
  	@echo " "
  	@echo "Installing man pages . . ."
diff --git a/news/atp/pkg-plist b/news/atp/pkg-plist
index 3497afb5b025..e78ee0a8678f 100644
--- a/news/atp/pkg-plist
+++ b/news/atp/pkg-plist
@@ -3,7 +3,7 @@ bin/atpdiag
 bin/rot13
 %%DATADIR%%/atprc
 %%DATADIR%%/taglines.atp
-man/man1/atp.1.gz
-man/man1/atpdiag.1.gz
-man/man1/rot13.1.gz
-man/man3/editline.3.gz
+share/man/man1/atp.1.gz
+share/man/man1/atpdiag.1.gz
+share/man/man1/rot13.1.gz
+share/man/man3/editline.3.gz