diff --git a/cad/opentimer/Makefile b/cad/opentimer/Makefile index 00abe79cf029..c18a4399f4b0 100644 --- a/cad/opentimer/Makefile +++ b/cad/opentimer/Makefile @@ -1,33 +1,37 @@ PORTNAME= opentimer PORTVERSION= g20210726 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= High-performance timing analysis tool for VLSI systems LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++17-lang tcl +USES= cmake compiler:c++17-lang python:test shebangfix tcl USE_GCC= yes # fails to build with clang-11: https://github.com/OpenTimer/OpenTimer/issues/48 +SHEBANG_FILES= inttest/*.py + USE_GITHUB= yes GH_ACCOUNT= OpenTimer GH_PROJECT= OpenTimer GH_TAGNAME= 18d28ff +TEST_TARGET= test + PLIST_FILES= bin/ot-shell \ bin/ot-tau15 \ bin/ot-tau18 \ bin/ot-utility 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 .endfor -do-test: # runs the script suggested in https://github.com/OpenTimer/OpenTimer +quick-test: # runs the script suggested in https://github.com/OpenTimer/OpenTimer @cd ${WRKSRC} && \ bin/ot-shell < ${FILESDIR}/test.txt .include