Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2024 15:41:37 GMT
From:      Michael Zhilin <mizhka@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d5f0330bf86e - main - cad/libbgcode: use short hash and cmake macros
Message-ID:  <202403291541.42TFfbOd024873@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mizhka:

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

commit d5f0330bf86e5ecb3604272a4bf951c22cee77f6
Author:     Michael Zhilin <mizhka@FreeBSD.org>
AuthorDate: 2024-03-29 15:36:18 +0000
Commit:     Michael Zhilin <mizhka@FreeBSD.org>
CommitDate: 2024-03-29 15:41:31 +0000

    cad/libbgcode: use short hash and cmake macros
    
    This commit improves port skeleton with no package change by using
    short hash and cmake boolean macros. Thanks to diizzy@
    
    Reported by: diizzy
---
 cad/libbgcode/Makefile | 7 +++----
 cad/libbgcode/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/cad/libbgcode/Makefile b/cad/libbgcode/Makefile
index ffa5500927c5..7cf7ca8d06c5 100644
--- a/cad/libbgcode/Makefile
+++ b/cad/libbgcode/Makefile
@@ -15,12 +15,11 @@ USES=	cmake
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	prusa3d
-GH_TAGNAME=	6f43cb004ef3d3bda37dde49f6235e24d2717629
+GH_TAGNAME=	6f43cb0
 GH_TUPLE=	atomicobject:heatshrink:v0.4.1:heatshrink
 
-CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=ON \
-		-DLibBGCode_BUILD_DEPS=ON \
-		-DLibBGCode_BUILD_TESTS=OFF
+CMAKE_ON=	BUILD_SHARED_LIBS LibBGCode_BUILD_DEPS
+CMAKE_OFF=	LibBGCode_BUILD_TESTS
 
 PORTDATA=	*
 
diff --git a/cad/libbgcode/distinfo b/cad/libbgcode/distinfo
index 835c43181731..1286f6e8f436 100644
--- a/cad/libbgcode/distinfo
+++ b/cad/libbgcode/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1709747111
-SHA256 (prusa3d-libbgcode-0.2.0-6f43cb004ef3d3bda37dde49f6235e24d2717629_GH0.tar.gz) = 315349d55fcee2eaf41ca7ba6a4b8e0e442c74b04f6074d6e108c169fa36e908
-SIZE (prusa3d-libbgcode-0.2.0-6f43cb004ef3d3bda37dde49f6235e24d2717629_GH0.tar.gz) = 455740
+TIMESTAMP = 1711726260
+SHA256 (prusa3d-libbgcode-0.2.0-6f43cb0_GH0.tar.gz) = 3aeb2ac512ad3e60f8b062764b56a7920bff0aaa7222483b2bcaf2b4e75f2952
+SIZE (prusa3d-libbgcode-0.2.0-6f43cb0_GH0.tar.gz) = 455696
 SHA256 (atomicobject-heatshrink-v0.4.1_GH0.tar.gz) = 7529a1c8ac501191ad470b166773364e66d9926aad632690c72c63a1dea7e9a6
 SIZE (atomicobject-heatshrink-v0.4.1_GH0.tar.gz) = 36945



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403291541.42TFfbOd024873>