diff options
Diffstat (limited to 'cad/opentimer/Makefile')
-rw-r--r-- | cad/opentimer/Makefile | 31 |
1 files changed, 23 insertions, 8 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 |