git: d639ee9824c4 - main - comms/libmodbus: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 24 Jan 2024 10:20:41 UTC
The branch main has been updated by bofh:

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

commit d639ee9824c4ed7bd4d1df80912414edb70a9915
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-24 10:15:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-24 10:20:15 +0000

    comms/libmodbus: Impelled to share/man
---
 comms/libmodbus/Makefile  |   3 +-
 comms/libmodbus/pkg-plist | 130 +++++++++++++++++++++++-----------------------
 2 files changed, 67 insertions(+), 66 deletions(-)

diff --git a/comms/libmodbus/Makefile b/comms/libmodbus/Makefile
index ee78187d095c..01038c936540 100644
--- a/comms/libmodbus/Makefile
+++ b/comms/libmodbus/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libmodbus
 PORTVERSION=	3.1.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	comms
 MASTER_SITES=	https://libmodbus.org/releases/
 
@@ -15,6 +15,7 @@ USES=		cpe gmake libtool pathfix
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 INSTALL_TARGET=	install-strip
 
diff --git a/comms/libmodbus/pkg-plist b/comms/libmodbus/pkg-plist
index f351d886ba84..565ac8cd371c 100644
--- a/comms/libmodbus/pkg-plist
+++ b/comms/libmodbus/pkg-plist
@@ -6,71 +6,71 @@ lib/libmodbus.so
 lib/libmodbus.so.5
 lib/libmodbus.so.5.1.0
 libdata/pkgconfig/libmodbus.pc
-%%MANPAGES%%man/man3/modbus_close.3.gz
-%%MANPAGES%%man/man3/modbus_connect.3.gz
-%%MANPAGES%%man/man3/modbus_flush.3.gz
-%%MANPAGES%%man/man3/modbus_free.3.gz
-%%MANPAGES%%man/man3/modbus_get_byte_from_bits.3.gz
-%%MANPAGES%%man/man3/modbus_get_byte_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_get_float.3.gz
-%%MANPAGES%%man/man3/modbus_get_float_abcd.3.gz
-%%MANPAGES%%man/man3/modbus_get_float_badc.3.gz
-%%MANPAGES%%man/man3/modbus_get_float_cdab.3.gz
-%%MANPAGES%%man/man3/modbus_get_float_dcba.3.gz
-%%MANPAGES%%man/man3/modbus_get_header_length.3.gz
-%%MANPAGES%%man/man3/modbus_get_indication_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_get_response_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_get_slave.3.gz
-%%MANPAGES%%man/man3/modbus_get_socket.3.gz
-%%MANPAGES%%man/man3/modbus_mapping_free.3.gz
-%%MANPAGES%%man/man3/modbus_mapping_new.3.gz
-%%MANPAGES%%man/man3/modbus_mapping_new_start_address.3.gz
-%%MANPAGES%%man/man3/modbus_mask_write_register.3.gz
-%%MANPAGES%%man/man3/modbus_new_rtu.3.gz
-%%MANPAGES%%man/man3/modbus_new_tcp.3.gz
-%%MANPAGES%%man/man3/modbus_new_tcp_pi.3.gz
-%%MANPAGES%%man/man3/modbus_read_bits.3.gz
-%%MANPAGES%%man/man3/modbus_read_input_bits.3.gz
-%%MANPAGES%%man/man3/modbus_read_input_registers.3.gz
-%%MANPAGES%%man/man3/modbus_read_registers.3.gz
-%%MANPAGES%%man/man3/modbus_receive.3.gz
-%%MANPAGES%%man/man3/modbus_receive_confirmation.3.gz
-%%MANPAGES%%man/man3/modbus_reply.3.gz
-%%MANPAGES%%man/man3/modbus_reply_exception.3.gz
-%%MANPAGES%%man/man3/modbus_report_slave_id.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_get_rts.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_get_rts_delay.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_get_serial_mode.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_set_custom_rts.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_set_rts.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_set_rts_delay.3.gz
-%%MANPAGES%%man/man3/modbus_rtu_set_serial_mode.3.gz
-%%MANPAGES%%man/man3/modbus_send_raw_request.3.gz
-%%MANPAGES%%man/man3/modbus_set_bits_from_byte.3.gz
-%%MANPAGES%%man/man3/modbus_set_bits_from_bytes.3.gz
-%%MANPAGES%%man/man3/modbus_set_byte_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_set_debug.3.gz
-%%MANPAGES%%man/man3/modbus_set_error_recovery.3.gz
-%%MANPAGES%%man/man3/modbus_set_float.3.gz
-%%MANPAGES%%man/man3/modbus_set_float_abcd.3.gz
-%%MANPAGES%%man/man3/modbus_set_float_badc.3.gz
-%%MANPAGES%%man/man3/modbus_set_float_cdab.3.gz
-%%MANPAGES%%man/man3/modbus_set_float_dcba.3.gz
-%%MANPAGES%%man/man3/modbus_set_indication_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_set_response_timeout.3.gz
-%%MANPAGES%%man/man3/modbus_set_slave.3.gz
-%%MANPAGES%%man/man3/modbus_set_socket.3.gz
-%%MANPAGES%%man/man3/modbus_strerror.3.gz
-%%MANPAGES%%man/man3/modbus_tcp_accept.3.gz
-%%MANPAGES%%man/man3/modbus_tcp_listen.3.gz
-%%MANPAGES%%man/man3/modbus_tcp_pi_accept.3.gz
-%%MANPAGES%%man/man3/modbus_tcp_pi_listen.3.gz
-%%MANPAGES%%man/man3/modbus_write_and_read_registers.3.gz
-%%MANPAGES%%man/man3/modbus_write_bit.3.gz
-%%MANPAGES%%man/man3/modbus_write_bits.3.gz
-%%MANPAGES%%man/man3/modbus_write_register.3.gz
-%%MANPAGES%%man/man3/modbus_write_registers.3.gz
-%%MANPAGES%%man/man7/libmodbus.7.gz
+%%MANPAGES%%share/man/man3/modbus_close.3.gz
+%%MANPAGES%%share/man/man3/modbus_connect.3.gz
+%%MANPAGES%%share/man/man3/modbus_flush.3.gz
+%%MANPAGES%%share/man/man3/modbus_free.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_byte_from_bits.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_byte_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_float.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_float_abcd.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_float_badc.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_float_cdab.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_float_dcba.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_header_length.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_indication_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_response_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_slave.3.gz
+%%MANPAGES%%share/man/man3/modbus_get_socket.3.gz
+%%MANPAGES%%share/man/man3/modbus_mapping_free.3.gz
+%%MANPAGES%%share/man/man3/modbus_mapping_new.3.gz
+%%MANPAGES%%share/man/man3/modbus_mapping_new_start_address.3.gz
+%%MANPAGES%%share/man/man3/modbus_mask_write_register.3.gz
+%%MANPAGES%%share/man/man3/modbus_new_rtu.3.gz
+%%MANPAGES%%share/man/man3/modbus_new_tcp.3.gz
+%%MANPAGES%%share/man/man3/modbus_new_tcp_pi.3.gz
+%%MANPAGES%%share/man/man3/modbus_read_bits.3.gz
+%%MANPAGES%%share/man/man3/modbus_read_input_bits.3.gz
+%%MANPAGES%%share/man/man3/modbus_read_input_registers.3.gz
+%%MANPAGES%%share/man/man3/modbus_read_registers.3.gz
+%%MANPAGES%%share/man/man3/modbus_receive.3.gz
+%%MANPAGES%%share/man/man3/modbus_receive_confirmation.3.gz
+%%MANPAGES%%share/man/man3/modbus_reply.3.gz
+%%MANPAGES%%share/man/man3/modbus_reply_exception.3.gz
+%%MANPAGES%%share/man/man3/modbus_report_slave_id.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_get_rts.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_get_rts_delay.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_get_serial_mode.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_set_custom_rts.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_set_rts.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_set_rts_delay.3.gz
+%%MANPAGES%%share/man/man3/modbus_rtu_set_serial_mode.3.gz
+%%MANPAGES%%share/man/man3/modbus_send_raw_request.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_bits_from_byte.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_bits_from_bytes.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_byte_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_debug.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_error_recovery.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_float.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_float_abcd.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_float_badc.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_float_cdab.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_float_dcba.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_indication_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_response_timeout.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_slave.3.gz
+%%MANPAGES%%share/man/man3/modbus_set_socket.3.gz
+%%MANPAGES%%share/man/man3/modbus_strerror.3.gz
+%%MANPAGES%%share/man/man3/modbus_tcp_accept.3.gz
+%%MANPAGES%%share/man/man3/modbus_tcp_listen.3.gz
+%%MANPAGES%%share/man/man3/modbus_tcp_pi_accept.3.gz
+%%MANPAGES%%share/man/man3/modbus_tcp_pi_listen.3.gz
+%%MANPAGES%%share/man/man3/modbus_write_and_read_registers.3.gz
+%%MANPAGES%%share/man/man3/modbus_write_bit.3.gz
+%%MANPAGES%%share/man/man3/modbus_write_bits.3.gz
+%%MANPAGES%%share/man/man3/modbus_write_register.3.gz
+%%MANPAGES%%share/man/man3/modbus_write_registers.3.gz
+%%MANPAGES%%share/man/man7/libmodbus.7.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/MIGRATION
 %%PORTDOCS%%%%DOCSDIR%%/NEWS