git: 1092fcadd5e2 - main - textproc/html-pretty: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 08:06:33 UTC
The branch main has been updated by bofh:

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

commit 1092fcadd5e20bd658bb9e330e0ea0c4e9fbae0c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:50:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:52:09 +0000

    textproc/html-pretty: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/html-pretty/Makefile                |  2 +-
 textproc/html-pretty/files/patch-Makefile.in | 10 ++++++----
 textproc/html-pretty/pkg-plist               |  2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/textproc/html-pretty/Makefile b/textproc/html-pretty/Makefile
index 803af193954f..96e122bc0eff 100644
--- a/textproc/html-pretty/Makefile
+++ b/textproc/html-pretty/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	html-pretty
 PORTVERSION=	1.01
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc www
 MASTER_SITES=	http://ftp.math.utah.edu:80/pub/sgml/
 DISTNAME=	htmlpty-${PORTVERSION}
diff --git a/textproc/html-pretty/files/patch-Makefile.in b/textproc/html-pretty/files/patch-Makefile.in
index ce7cd1770c13..66b5bc853e69 100644
--- a/textproc/html-pretty/files/patch-Makefile.in
+++ b/textproc/html-pretty/files/patch-Makefile.in
@@ -18,7 +18,7 @@
  ###				directories
  ###	uninstall-man		remove htmlpty manual pages from system
  ###				directories
-@@ -149,21 +149,21 @@
+@@ -149,22 +149,22 @@
  
  #### Start of system configuration section. ####
  
@@ -41,11 +41,13 @@
  ### are NOT independent.
  BINDIR          = $(bindir)
 -LIBDIR		= $(libdir)
+-MANDIR          = $(prefix)/man
 +DATADIR		= $(datadir)
- MANDIR          = $(prefix)/man
++MANDIR          = $(prefix)/share/man
  MANEXT		= 1
  
-@@ -217,7 +217,7 @@ INSTALL         = @INSTALL@
+ CC              = @CC@
+@@ -217,7 +217,7 @@ INSTALL_DATA    = @INSTALL_DATA@
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  INSTALL_DATA    = @INSTALL_DATA@
  
@@ -94,7 +96,7 @@
  
  install-ftp:	htmlpty.tar htmlpty.zip htmlpty.zoo
  	$(TAR) tvf htmlpty-$(VERSION).tar >$(FTPDIR)/htmlpty-$(VERSION).tar-lst
-@@ -827,14 +817,14 @@ table.o:	table.c builtin.h default.h $(H
+@@ -827,14 +817,14 @@ test-version:
  test-version:
  	@echo "Version number is ""'"$(VERSION)"'"
  
diff --git a/textproc/html-pretty/pkg-plist b/textproc/html-pretty/pkg-plist
index aef300d5144d..b8992e5b277c 100644
--- a/textproc/html-pretty/pkg-plist
+++ b/textproc/html-pretty/pkg-plist
@@ -1,5 +1,5 @@
 bin/html-pretty
-man/man1/html-pretty.1.gz
+share/man/man1/html-pretty.1.gz
 %%DATADIR%%/catalog
 %%DATADIR%%/cougar.sty
 %%DATADIR%%/dtd.sty