git: 593fc74e6438 - main - sysutils/usbutils: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:20:03 UTC
The branch main has been updated by sunpoet:

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

commit 593fc74e6438e785eb2e6ca502f6bcb78f30a615
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:29:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:45 +0000

    sysutils/usbutils: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 sysutils/usbutils/Makefile  | 3 ++-
 sysutils/usbutils/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/usbutils/Makefile b/sysutils/usbutils/Makefile
index e1e38d1d3454..30349464b8fe 100644
--- a/sysutils/usbutils/Makefile
+++ b/sysutils/usbutils/Makefile
@@ -16,8 +16,9 @@ RUN_DEPENDS=	usbhid-dump:sysutils/usbhid-dump \
 USES=		autoreconf gmake pkgconfig shebangfix
 
 CONFIGURE_ARGS=	--datadir=${LOCALBASE}/share/usbids --enable-zlib
-CONFIGURE_ENV=	LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb"
+CONFIGURE_ENV=	LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb"
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 
diff --git a/sysutils/usbutils/pkg-plist b/sysutils/usbutils/pkg-plist
index 08408bd6b498..a8eb3ce1a886 100644
--- a/sysutils/usbutils/pkg-plist
+++ b/sysutils/usbutils/pkg-plist
@@ -1,5 +1,5 @@
 bin/usb-devices
 libdata/pkgconfig/usbutils.pc
-man/man1/usb-devices.1.gz
-man/man8/lsusb.8.gz
 sbin/lsusb
+share/man/man1/usb-devices.1.gz
+share/man/man8/lsusb.8.gz