git: 6d94d0d00422 - main - print/hp2xx: Moved man to share/man

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

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

commit 6d94d0d004221c3c27afe2624f408b0dc008bec3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 11:36:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 11:36:31 +0000

    print/hp2xx: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 print/hp2xx/Makefile             |  4 ++--
 print/hp2xx/files/patch-Makefile | 15 +++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/print/hp2xx/Makefile b/print/hp2xx/Makefile
index fee0e58dd32b..cd5464af3c84 100644
--- a/print/hp2xx/Makefile
+++ b/print/hp2xx/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hp2xx
 PORTVERSION=	3.4.4
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	print x11
 MASTER_SITES=	GNU
 
@@ -22,7 +22,7 @@ LDFLAGS+=	-lm -ltiff -lpng -lz
 
 WRKSRC_SUBDIR=	sources
 
-PLIST_FILES=	bin/hp2xx man/man1/hp2xx.1.gz
+PLIST_FILES=	bin/hp2xx share/man/man1/hp2xx.1.gz
 
 OPTIONS_DEFINE=		INFO X11
 OPTIONS_DEFAULT=	INFO X11
diff --git a/print/hp2xx/files/patch-Makefile b/print/hp2xx/files/patch-Makefile
index 4104a0d2f9f7..6c2fcc33d5d7 100644
--- a/print/hp2xx/files/patch-Makefile
+++ b/print/hp2xx/files/patch-Makefile
@@ -1,6 +1,6 @@
 --- Makefile.orig	2003-06-21 15:16:34 UTC
 +++ Makefile
-@@ -35,7 +35,7 @@ STRIP    = strip
+@@ -35,24 +35,24 @@ STRIP    = strip
  
  # Installation sites (GNU conventions):
  #
@@ -8,8 +8,11 @@
 +prefix   = ${PREFIX}
  bindir   = $(prefix)/bin
  includedir = $(prefix)/include
- mandir   = $(prefix)/man
-@@ -45,14 +45,14 @@ infodir  = $(prefix)/info
+-mandir   = $(prefix)/man
++mandir   = $(prefix)/share/man
+ man1dir  = $(mandir)/man1
+ infodir  = $(prefix)/info
+ 
  # CC and CFLAGS set for gcc, but any ANSI-C compiler should work.
  # For non-gcc compilers, simply set CFLAGS = -O (to start with)
  #
@@ -40,7 +43,7 @@
  #
  # for experimental truetype font support
  #
-@@ -230,13 +230,13 @@ ALL_CFLAGS	= -c $(CFLAGS)
+@@ -230,13 +230,13 @@ SRCS	= clip.c fillpoly.c\
  
  # $(SRCS) NOT USED YET:
  SRCS	= clip.c fillpoly.c\
@@ -56,7 +59,7 @@
  	  to_vec.o to_pcx.o to_pcl.o  to_eps.o to_img.o to_pbm.o \
  	  to_rgip.o to_fig.o std_main.o $(PREVIEWER).o pendef.o lindef.o $(EX_OBJ)
  
-@@ -244,8 +244,9 @@ PROGRAM	= hp2xx
+@@ -244,8 +244,9 @@ $(PROGRAM): $(OBJS)
  
  $(PROGRAM): $(OBJS)
  	$(CC) $(LFLAGS) $(OBJS) $(ALL_LIBS) $(EX_LIBS) -o $(PROGRAM)
@@ -80,7 +83,7 @@
  
  
  #########################################################################
-@@ -327,18 +328,14 @@ realclean:
+@@ -327,18 +328,14 @@ TAGS:
  TAGS:
  	@echo make TAGS -- not supported nor needed.