print/hp2xx: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-25 12:36:31 +01:00
parent 8423405f47
commit 6d94d0d004
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
2 changed files with 11 additions and 8 deletions

View File

@ -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

View File

@ -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.