git: 7a76f0b784ac - main - emulators/libspectrum: move manpages to share/man

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 21:35:58 UTC
The branch main has been updated by rene:

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

commit 7a76f0b784acef4b18474ecb1f748acda9b8e089
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-02-22 21:35:01 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-02-22 21:35:01 +0000

    emulators/libspectrum: move manpages to share/man
---
 emulators/libspectrum/Makefile  | 2 ++
 emulators/libspectrum/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile
index b30367746dca..d6be4b417d3f 100644
--- a/emulators/libspectrum/Makefile
+++ b/emulators/libspectrum/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libspectrum
 PORTVERSION=	1.5.0
+PORTREVISION=	1
 CATEGORIES=	emulators devel
 MASTER_SITES=	SF/fuse-emulator/${PORTNAME}/${PORTVERSION}
 
@@ -13,6 +14,7 @@ LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile \
 		libgcrypt.so:security/libgcrypt
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		gettext gmake gnome libtool perl5 pkgconfig
 USE_GNOME=	glib20
 USE_PERL5=	build
diff --git a/emulators/libspectrum/pkg-plist b/emulators/libspectrum/pkg-plist
index 50175f737ec8..b2c1103789f8 100644
--- a/emulators/libspectrum/pkg-plist
+++ b/emulators/libspectrum/pkg-plist
@@ -4,7 +4,7 @@ lib/libspectrum.so
 lib/libspectrum.so.9
 lib/libspectrum.so.9.8.15
 libdata/pkgconfig/libspectrum.pc
-man/man3/libspectrum.3.gz
+share/man/man3/libspectrum.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README