From nobody Tue Sep 27 13:27:09 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4McL5B1JHHz4d0Zb; Tue, 27 Sep 2022 13:27:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4McL5B0lJWz3VWk; Tue, 27 Sep 2022 13:27:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664285230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qLZVBsxts5wZyMNibDu7XC/BrmLHNofncpbMUiK3f3g=; b=qwSQmgxzwUFNIlDTrzKWTIhuc+dF3LzddxmFd9aIEQbUgCxY7xrf7gr/TukTbKwOrl34Td AxNtFMVAFGiqX5STaNHQmQWQi/hXvFPH5E505G7MBKdWpCn3tAB7W8Tva747fDv0FU+snM 2oSI3YZVwq2f4LBt4qkqftfRXCkKrRUkwGSedBp8BtHRYb43nZO7OgbToVFLFaPOOMVTVb laAe8HdGg2XRK4H2D/JusouO332tdKFHmfycBr38hxI3ICp3RSQ0xdlOLQtbFGxZAd8VWU gBPh7XiUiIsduGB+LAYgvAlmNQ/SY+/rZv7czNe4lB8IrQgv7DwoGHkymYK4Xg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4McL596mBlz17hK; Tue, 27 Sep 2022 13:27:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28RDR9qC079033; Tue, 27 Sep 2022 13:27:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28RDR9kp079032; Tue, 27 Sep 2022 13:27:09 GMT (envelope-from git) Date: Tue, 27 Sep 2022 13:27:09 GMT Message-Id: <202209271327.28RDR9kp079032@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: e77794c03ab0 - main - comms/libmodbus: Optionize MANPAGES List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e77794c03ab0f2f7c187b4856da2c002dc629bd1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664285230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qLZVBsxts5wZyMNibDu7XC/BrmLHNofncpbMUiK3f3g=; b=ZVY9WlePRdVOp7SD6n3z1cmSamJZFET0dp+O8lByxyJb7gT9NOBT5YJxV9Sz54FnNjJv2A rlDphMjBwEy9iZsQ4piQ8KH9rjqeDNkSLAGxu6hZOGeH0jEjJeevAJ6gwCMxRqSFhcGzMy aJiLQf7g57QbkGxmjnw6+qH1iXq0vXcu3ByV/GTvAlZW1OrH0ytzMmyoHkAzSO50EVdSOw fdKnySu1fthQCQMEdioGgNXb6syxuV8jh8sGlODJqZMcYS0vbm/zni2nce9WNw0nNazj3y RPlIn6yE3++1JmS/Vu8TdSNctLC70BUVoJTQMFjIqCk6M+nqvU52SVbTi7A1IQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664285230; a=rsa-sha256; cv=none; b=Xp7wfwfxtBScdaIrFq17swSkeZF+Bo/04XjdLCfQUXtxnEdg/ahWmT0zTcsxnHjDyo2mQw MQddpD80dKFpOLBnw3Nx/zB7v65aBwHeH4jvTbzhNjrhZRfB0TalzvBaMvrucMoFvmGcTe +u5hx3mJ0YZmFyCy0yfY7OUE4KTr+EBu13sAOLPbYfL/+HZ+K3/Meij8cVk2n4QH0mRJdH c1sdfa2UDNXXlqioa9M75G4wlS4gV1Ud0V6PTxrSQWWsdg/lqCLmzZ4gMth02qBgw/ZeFg jm4lJoqE7yu/lwnEW8rcR7ZkMN4eroNxbaRZFIotn96rDQ6NTQIq9Bs9zoGz0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=e77794c03ab0f2f7c187b4856da2c002dc629bd1 commit e77794c03ab0f2f7c187b4856da2c002dc629bd1 Author: Muhammad Moinur Rahman AuthorDate: 2022-09-27 13:25:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-09-27 13:27:01 +0000 comms/libmodbus: Optionize MANPAGES PR: 251422 Reported by: chris@chrullrich.net --- comms/libmodbus/Makefile | 11 ++-- comms/libmodbus/pkg-plist | 130 +++++++++++++++++++++++----------------------- 2 files changed, 72 insertions(+), 69 deletions(-) diff --git a/comms/libmodbus/Makefile b/comms/libmodbus/Makefile index 05ce946ed13e..ee78187d095c 100644 --- a/comms/libmodbus/Makefile +++ b/comms/libmodbus/Makefile @@ -1,5 +1,6 @@ PORTNAME= libmodbus PORTVERSION= 3.1.7 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= https://libmodbus.org/releases/ @@ -10,9 +11,6 @@ WWW= https://libmodbus.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -BUILD_DEPENDS= a2x:textproc/asciidoc \ - xmlto:textproc/xmlto - USES= cpe gmake libtool pathfix USE_LDCONFIG= yes @@ -20,6 +18,11 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MANPAGES +OPTIONS_DEFAULT= MANPAGES +OPTIONS_SUB= yes + +MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc \ + xmlto:textproc/xmlto .include diff --git a/comms/libmodbus/pkg-plist b/comms/libmodbus/pkg-plist index f4efc2ac6e56..f351d886ba84 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 -man/man3/modbus_close.3.gz -man/man3/modbus_connect.3.gz -man/man3/modbus_flush.3.gz -man/man3/modbus_free.3.gz -man/man3/modbus_get_byte_from_bits.3.gz -man/man3/modbus_get_byte_timeout.3.gz -man/man3/modbus_get_float.3.gz -man/man3/modbus_get_float_abcd.3.gz -man/man3/modbus_get_float_badc.3.gz -man/man3/modbus_get_float_cdab.3.gz -man/man3/modbus_get_float_dcba.3.gz -man/man3/modbus_get_header_length.3.gz -man/man3/modbus_get_indication_timeout.3.gz -man/man3/modbus_get_response_timeout.3.gz -man/man3/modbus_get_slave.3.gz -man/man3/modbus_get_socket.3.gz -man/man3/modbus_mapping_free.3.gz -man/man3/modbus_mapping_new.3.gz -man/man3/modbus_mapping_new_start_address.3.gz -man/man3/modbus_mask_write_register.3.gz -man/man3/modbus_new_rtu.3.gz -man/man3/modbus_new_tcp.3.gz -man/man3/modbus_new_tcp_pi.3.gz -man/man3/modbus_read_bits.3.gz -man/man3/modbus_read_input_bits.3.gz -man/man3/modbus_read_input_registers.3.gz -man/man3/modbus_read_registers.3.gz -man/man3/modbus_receive.3.gz -man/man3/modbus_receive_confirmation.3.gz -man/man3/modbus_reply.3.gz -man/man3/modbus_reply_exception.3.gz -man/man3/modbus_report_slave_id.3.gz -man/man3/modbus_rtu_get_rts.3.gz -man/man3/modbus_rtu_get_rts_delay.3.gz -man/man3/modbus_rtu_get_serial_mode.3.gz -man/man3/modbus_rtu_set_custom_rts.3.gz -man/man3/modbus_rtu_set_rts.3.gz -man/man3/modbus_rtu_set_rts_delay.3.gz -man/man3/modbus_rtu_set_serial_mode.3.gz -man/man3/modbus_send_raw_request.3.gz -man/man3/modbus_set_bits_from_byte.3.gz -man/man3/modbus_set_bits_from_bytes.3.gz -man/man3/modbus_set_byte_timeout.3.gz -man/man3/modbus_set_debug.3.gz -man/man3/modbus_set_error_recovery.3.gz -man/man3/modbus_set_float.3.gz -man/man3/modbus_set_float_abcd.3.gz -man/man3/modbus_set_float_badc.3.gz -man/man3/modbus_set_float_cdab.3.gz -man/man3/modbus_set_float_dcba.3.gz -man/man3/modbus_set_indication_timeout.3.gz -man/man3/modbus_set_response_timeout.3.gz -man/man3/modbus_set_slave.3.gz -man/man3/modbus_set_socket.3.gz -man/man3/modbus_strerror.3.gz -man/man3/modbus_tcp_accept.3.gz -man/man3/modbus_tcp_listen.3.gz -man/man3/modbus_tcp_pi_accept.3.gz -man/man3/modbus_tcp_pi_listen.3.gz -man/man3/modbus_write_and_read_registers.3.gz -man/man3/modbus_write_bit.3.gz -man/man3/modbus_write_bits.3.gz -man/man3/modbus_write_register.3.gz -man/man3/modbus_write_registers.3.gz -man/man7/libmodbus.7.gz +%%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 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/MIGRATION %%PORTDOCS%%%%DOCSDIR%%/NEWS