Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2025 13:35:28 GMT
From:      =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf8635a1d5e4 - main - cad/opentimer: Update g20221116 => 2.1.0-20250707
Message-ID:  <202510091335.599DZSFc085029@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by alven:

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

commit cf8635a1d5e4125a0426967de802f556320f2186
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2025-10-07 20:06:50 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-10-09 13:35:07 +0000

    cad/opentimer: Update g20221116 => 2.1.0-20250707
    
    * Unbreak on i386 and powerpc
    * Add optional DOCS and EXAMPLES
    * Pet portclippy(1) and portfmt(1)
    
    Approved by:            yuri@ (maintainer, Mentor)
    Differential Revision:  https://reviews.freebsd.org/D52967
---
 cad/opentimer/Makefile | 31 +++++++++++++++++++++++--------
 cad/opentimer/distinfo |  6 +++---
 2 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/cad/opentimer/Makefile b/cad/opentimer/Makefile
index 53265f808609..4d04b1ad2e4f 100644
--- a/cad/opentimer/Makefile
+++ b/cad/opentimer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	opentimer
-PORTVERSION=	g20221116
+DISTVERSION=	2.1.0-20250707
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,17 +9,14 @@ WWW=		https://github.com/OpenTimer/OpenTimer
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_i386=	undefined reference to `__atomic_compare_exchange_8' #'`
-BROKEN_powerpc=	undefined reference to `__atomic_compare_exchange_8' #'`
-
 USES=		cmake compiler:c++17-lang python:test shebangfix tcl
 
-SHEBANG_FILES=	inttest/*.py
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenTimer
 GH_PROJECT=	OpenTimer
-GH_TAGNAME=	a57d03b
+GH_TAGNAME=	8c76916c
+
+SHEBANG_FILES=	inttest/*.py
 
 TEST_TARGET=	test
 
@@ -27,10 +24,28 @@ PLIST_FILES=	bin/ot-shell \
 		bin/ot-tau15 \
 		bin/ot-tau18 \
 		bin/ot-utility
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_SUB=	yes
 
 do-install: # see https://github.com/OpenTimer/OpenTimer/issues/47
 .for e in ot-shell ot-tau15 ot-tau18 ot-utility
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${e} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${e} \
+		${STAGEDIR}${PREFIX}/bin
+.endfor
+
+post-install-DOCS-on:
+	cd ${WRKSRC} && \
+		${COPYTREE_SHARE} "doc wiki" ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/example && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+.for e in fcpc26 incremental optimizer simple sizer unit
+	${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/${e}/${e}
 .endfor
 
 quick-test: # runs the script suggested in https://github.com/OpenTimer/OpenTimer
diff --git a/cad/opentimer/distinfo b/cad/opentimer/distinfo
index 5614aca281e7..311fe9afe10a 100644
--- a/cad/opentimer/distinfo
+++ b/cad/opentimer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690100071
-SHA256 (OpenTimer-OpenTimer-g20221116-a57d03b_GH0.tar.gz) = 98a33a9136fc1f19dcb8cf557760ee9f308a7189850887cb2e1f04ec955ca9c3
-SIZE (OpenTimer-OpenTimer-g20221116-a57d03b_GH0.tar.gz) = 120871156
+TIMESTAMP = 1759958678
+SHA256 (OpenTimer-OpenTimer-2.1.0-20250707-8c76916c_GH0.tar.gz) = b7cea2c9b8c4370e7b14e99d48f0705b00978148f6094a0d0e38d7bb12f45db9
+SIZE (OpenTimer-OpenTimer-2.1.0-20250707-8c76916c_GH0.tar.gz) = 121025992


home | help

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