From nobody Sun Aug 4 21:18:42 2024 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 4WcXVp65k5z5T2qL; Sun, 04 Aug 2024 21:18:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcXVp2f8Wz4l9c; Sun, 4 Aug 2024 21:18:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722806322; 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=e6KnMSORUdtw5IcO3hpb+VXy2Kg/OL83EA72sqsm0Js=; b=LqMuyWm7qplGGLd0TopVNUxiyUEYIBC6drLWKMaezC1+jHxGHJBz3X2A2q/qVqNd9evw/5 DTCPGN9ESKEGfOPgPWs2DfIbm3vbH85vpwSKcJi8h9yI+XR15pPcO3KXjS/eVwQPyR8PDF 9piecIhLr4+qocgXWMSVNib652ObjfxmP746SSc/zINzffLtda9KsRx8q1Qnc4rtLBOZTO EG2zNUpBOrByNsPK87vDuGMx20WR7NnB/FP9l1nsCj0K8JTJksNlkBgnC432CHAH8eQMCL DeP28EU+NK+ZcYaaqRFpDN7DKJ+QKw35NnLNjsKroxM+6RJCZMYhPzXIgYcr7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722806322; a=rsa-sha256; cv=none; b=HNZtrNMfHrETrkOehdaDOdVXAHVPZ9Utx4IDDsFfQJNDqm5I+/HudxP5tg/4mMHGzTWzhD uo90KdgwohCXbSeuDe8qu4IdwhExoJnZLwDuLZYFgWD1ynyQiTUN2ftNhYgBOALH+OYGjC 0wgOBeDAiNo7Rr9voxwtI8iBtdzrXc5G9uvXCyQK3dVXrCmA6SGUa3+BM0Xki5tVtFxtE7 1HyLE+Jldp3WLkOxv/bbYtBL6EhOKLY7ljYc8irKAwfzrZ8YYiZC3Md4jnHm5wOGOZ954G 1S66QyhjIXJdfgfS5dTjctegaa1Ap77MeowmH31XRaPHoHa4/Lz2EuNypS5hYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722806322; 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=e6KnMSORUdtw5IcO3hpb+VXy2Kg/OL83EA72sqsm0Js=; b=QTpF955nUnMJLEzH0oO6ltZhJs5qrC61Jp29A8IEhn5fQNcGaB8dHx71lTziL5uiYo2nNn H4BJ5V/19MkNCU0NO+93ah8bskftk+vlBIr6JXOHO0HsQypK1PNxzo3w2WpHEElvFXaMrr KYVHs8PmJX15iXHCDGHAeimE3/T8G6L07ng2NZDouhpMWmjlQaR9OLBAj7MgtslplgGOrd gVfKko2qHhgoGsG64QXxPIwJfw0CGI2ST72Hg4bi2ZKMzf9e74im7WWg077FmMhPidEUK5 1gfIO6lN+9rC9JpHAv09Z3zsBP6/44QoXyYfuAfYRqo8Fl4dtU23XzIpQbT4nQ== 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 4WcXVp21Vsz1B6k; Sun, 4 Aug 2024 21:18:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474LIgV4062774; Sun, 4 Aug 2024 21:18:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474LIgYO062771; Sun, 4 Aug 2024 21:18:42 GMT (envelope-from git) Date: Sun, 4 Aug 2024 21:18:42 GMT Message-Id: <202408042118.474LIgYO062771@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 30787d9c73a7 - main - textproc/xlsxio: Fix cmake files installation 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 30787d9c73a7830315254b519f98cb88b8e0deeb Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=30787d9c73a7830315254b519f98cb88b8e0deeb commit 30787d9c73a7830315254b519f98cb88b8e0deeb Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 21:15:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 21:15:53 +0000 textproc/xlsxio: Fix cmake files installation - Bump PORTREVISION for package change --- textproc/xlsxio/Makefile | 1 + textproc/xlsxio/files/patch-CMakeLists.txt | 11 +++++++++++ textproc/xlsxio/pkg-plist | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/textproc/xlsxio/Makefile b/textproc/xlsxio/Makefile index 2b4ad9c33965..4a5d876e1aa7 100644 --- a/textproc/xlsxio/Makefile +++ b/textproc/xlsxio/Makefile @@ -1,5 +1,6 @@ PORTNAME= xlsxio PORTVERSION= 0.2.35 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/brechtsanders/xlsxio/releases/download/${PORTVERSION}/ diff --git a/textproc/xlsxio/files/patch-CMakeLists.txt b/textproc/xlsxio/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..14de994e08c6 --- /dev/null +++ b/textproc/xlsxio/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-08-03 09:33:03 UTC ++++ CMakeLists.txt +@@ -275,7 +275,7 @@ MACRO(generate_and_install_config_files _NAME _DESC _L + STRING(REGEX REPLACE "\([^ ]*\)[/\\]lib([^ /\\.]*).[^ ]*" "-L\\1 -l\\2" XLSXIO_LDFLAGS "${XLSXIO_LDFLAGS}") + CONFIGURE_FILE(templateConfig.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}Config.cmake" @ONLY) + CONFIGURE_FILE(templateConfigVersion.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}ConfigVersion.cmake" @ONLY) +- INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}Config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}ConfigVersion.cmake" DESTINATION cmake) ++ INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}Config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}ConfigVersion.cmake" DESTINATION lib/cmake/xlsxio) + IF (BUILD_PC_FILES) + CONFIGURE_FILE(template.pc.in "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}.pc" @ONLY) + INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/${XLSXIO_NAME}.pc" DESTINATION lib/pkgconfig) diff --git a/textproc/xlsxio/pkg-plist b/textproc/xlsxio/pkg-plist index f7573c7a3912..ce359164a35f 100644 --- a/textproc/xlsxio/pkg-plist +++ b/textproc/xlsxio/pkg-plist @@ -1,15 +1,15 @@ bin/xlsxio_csv2xlsx bin/xlsxio_xlsx2csv -cmake/libxlsxio_readConfig.cmake -cmake/libxlsxio_readConfigVersion.cmake -cmake/libxlsxio_writeConfig.cmake -cmake/libxlsxio_writeConfigVersion.cmake cmake/xlsxio-config.cmake cmake/xlsxioTargets-%%CMAKE_BUILD_TYPE%%.cmake cmake/xlsxioTargets.cmake include/xlsxio_read.h include/xlsxio_version.h include/xlsxio_write.h +lib/cmake/xlsxio/libxlsxio_readConfig.cmake +lib/cmake/xlsxio/libxlsxio_readConfigVersion.cmake +lib/cmake/xlsxio/libxlsxio_writeConfig.cmake +lib/cmake/xlsxio/libxlsxio_writeConfigVersion.cmake lib/libxlsxio_read.a lib/libxlsxio_read.so lib/libxlsxio_write.a