science/zx: New port: MQT ZX: A library for working with ZX-diagrams
This commit is contained in:
parent
1040fd38d5
commit
9959a6a4cd
@ -473,5 +473,6 @@
|
||||
SUBDIR += xtb
|
||||
SUBDIR += yoda
|
||||
SUBDIR += zotero
|
||||
SUBDIR += zx
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
31
science/zx/Makefile
Normal file
31
science/zx/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= zx
|
||||
PORTVERSION= g20221101
|
||||
CATEGORIES= science # quantum-computing
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= MQT ZX: A library for working with ZX-diagrams
|
||||
WWW= https://www.cda.cit.tum.de/research/quantum/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libgmp.so:math/gmp
|
||||
|
||||
USES= cmake:testing compiler:c++17-lang python:test
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= cda-tum
|
||||
GH_TAGNAME= b01ba5e
|
||||
GH_TUPLE= boostorg:config:2543ff1:boostorg_config/extern/boost/config \
|
||||
boostorg:multiprecision:be4b8e8:boostorg_multiprecision/extern/boost/multiprecision \
|
||||
google:googletest:3026483:googletest/extern/googletest
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
CMAKE_OFF= BUILD_ZX_TESTS
|
||||
CMAKE_TESTING_ON= BUILD_ZX_TESTS
|
||||
|
||||
do-install: # workaround for https://github.com/cda-tum/dd_package/issues/115
|
||||
cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_LIB} ${BUILD_WRKSRC}/src/libzx.so ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
9
science/zx/distinfo
Normal file
9
science/zx/distinfo
Normal file
@ -0,0 +1,9 @@
|
||||
TIMESTAMP = 1667348044
|
||||
SHA256 (cda-tum-zx-g20221101-b01ba5e_GH0.tar.gz) = 4f106f5bb3f8651e91e25fd15c353f7d08c77bb34b5bb61c138a11cca3a7a50f
|
||||
SIZE (cda-tum-zx-g20221101-b01ba5e_GH0.tar.gz) = 26179
|
||||
SHA256 (boostorg-config-2543ff1_GH0.tar.gz) = aed1996926016faee81de7219a74f9fd41c9c3a4bb292f8936b54245b57ad3c2
|
||||
SIZE (boostorg-config-2543ff1_GH0.tar.gz) = 379371
|
||||
SHA256 (boostorg-multiprecision-be4b8e8_GH0.tar.gz) = 78b681530deb9c911f485f70d438099b9a7f7e63f61dba572ed68f32306e35c2
|
||||
SIZE (boostorg-multiprecision-be4b8e8_GH0.tar.gz) = 4144005
|
||||
SHA256 (google-googletest-3026483_GH0.tar.gz) = 1790cf41d6b9b023e1751888155b4fe1a20cd5b9842c3aa67633aac4b2610ba2
|
||||
SIZE (google-googletest-3026483_GH0.tar.gz) = 859168
|
3
science/zx/pkg-descr
Normal file
3
science/zx/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
zx is a library for working with ZX-diagrams developed by the Chair for Design
|
||||
Automation at the Technical University of Munich as part of the Munich Quantum
|
||||
Toolkit (MQT).
|
8
science/zx/pkg-plist
Normal file
8
science/zx/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
include/Definitions.hpp
|
||||
include/Expression.hpp
|
||||
include/Rational.hpp
|
||||
include/Rules.hpp
|
||||
include/Simplify.hpp
|
||||
include/Utils.hpp
|
||||
include/ZXDiagram.hpp
|
||||
lib/libzx.so
|
Loading…
Reference in New Issue
Block a user