git: e45e66c927af - main - print/a2ps: use ${PREFIX}/share/man

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

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

commit e45e66c927afb81b226cd7292b6eb8162cd14e3f
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:16:14 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:16:14 +0000

    print/a2ps: use ${PREFIX}/share/man
---
 print/a2ps/Makefile  |  3 ++-
 print/a2ps/pkg-plist | 14 +++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index 7f306bc34c48..70ccd2b4fb42 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	a2ps
 PORTVERSION=	4.15.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	GNU LOCAL/hrs/a2ps/:i18n
 
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libgc.so:devel/boehm-gc \
 USES=		cpe perl5 gperf pkgconfig localbase gmake
 USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INFO=		a2ps ogonkify regex
 I18N_PACKAGE=	i18n-fonts-0.1
 
diff --git a/print/a2ps/pkg-plist b/print/a2ps/pkg-plist
index e4a3e8755168..bd4e8a9a0b40 100644
--- a/print/a2ps/pkg-plist
+++ b/print/a2ps/pkg-plist
@@ -8,13 +8,6 @@ bin/ogonkify
 bin/pdiff
 etc/a2ps-site.cfg
 etc/a2ps.cfg
-man/man1/a2ps.1.gz
-man/man1/a2ps-lpr-wrapper.1.gz
-man/man1/ogonkify.1.gz
-man/man1/card.1.gz
-man/man1/lp2.1.gz
-man/man1/fixps.1.gz
-man/man1/pdiff.1.gz
 %%DATADIR%%/README
 %%DATADIR%%/afm/fonts.map
 %%DATADIR%%/afm/make_fonts_map.sh
@@ -354,6 +347,13 @@ man/man1/pdiff.1.gz
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/a2ps-gnulib.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/a2ps.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/a2ps-gnulib.mo
+share/man/man1/a2ps.1.gz
+share/man/man1/a2ps-lpr-wrapper.1.gz
+share/man/man1/ogonkify.1.gz
+share/man/man1/card.1.gz
+share/man/man1/lp2.1.gz
+share/man/man1/fixps.1.gz
+share/man/man1/pdiff.1.gz
 %%EMACS%%%%EMACS_SITE_LISPDIR%%/a2ps-print.el
 %%EMACS%%%%EMACS_SITE_LISPDIR%%/a2ps-print.elc
 %%EMACS%%%%EMACS_SITE_LISPDIR%%/a2ps.el