git: 9b657d53262d - main - sysutils/sispmctl: moved manpages to share/man

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 04 Mar 2024 09:52:22 UTC
The branch main has been updated by rodrigo:

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

commit 9b657d53262d58de5c6cf1ccae56f1451fd009ed
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-28 21:14:34 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-04 09:50:44 +0000

    sysutils/sispmctl: moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formatting to make linters happy
---
 sysutils/sispmctl/Makefile | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/sysutils/sispmctl/Makefile b/sysutils/sispmctl/Makefile
index ad66edcdf9ed..2c77ae16b810 100644
--- a/sysutils/sispmctl/Makefile
+++ b/sysutils/sispmctl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sispmctl
 DISTVERSION=	4.11
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -10,18 +11,20 @@ WWW=		https://sispmctl.sourceforge.net/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=	libtool pkgconfig
+USES=		libtool pkgconfig
 USE_LDCONFIG=	yes
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	-disable-static --disable-webless
-CONFIGURE_ENV=	LIBUSB_CFLAGS="-I/usr/include" \
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=			--disable-webless \
+				-disable-static
+CONFIGURE_ENV=			LIBUSB_CFLAGS="-I/usr/include" \
 				LIBUSB_LIBS="-L/usr/lib -lusb"
 
 PLIST_FILES=	bin/sispmctl \
-				lib/libsispmctl.so \
-				lib/libsispmctl.so.0 \
-				lib/libsispmctl.so.0.2.2 \
-				man/man1/sispmctl.1.gz
+		lib/libsispmctl.so \
+		lib/libsispmctl.so.0 \
+		lib/libsispmctl.so.0.2.2 \
+		share/man/man1/sispmctl.1.gz
 
 .include <bsd.port.mk>