git: c68cc57b6933 - main - devel/arduino-avrdude: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 03:48:28 UTC
The branch main has been updated by bofh:

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

commit c68cc57b693320468d9cf4dd21e530dc3d384e31
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 01:43:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 03:48:01 +0000

    devel/arduino-avrdude: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/arduino-avrdude/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/arduino-avrdude/Makefile b/devel/arduino-avrdude/Makefile
index 7182dd7be281..108b5ffd4324 100644
--- a/devel/arduino-avrdude/Makefile
+++ b/devel/arduino-avrdude/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	avrdude
 PORTVERSION=	6.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel
 MASTER_SITES=	SAVANNAH/avrdude
 PKGNAMEPREFIX=	arduino-
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		libtool localbase readline
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -26,7 +27,7 @@ CONFIGURE_ARGS+=	--disable-shared --disable-static
 
 PLIST_FILES=	bin/arduino-avrdude \
 		etc/arduino-avrdude.conf \
-		man/man1/arduino-avrdude.1.gz
+		share/man/man1/arduino-avrdude.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lusb-1.0|-lusb|g' ${WRKSRC}/configure