diff --git a/cad/Makefile b/cad/Makefile index 4b4722feb7c8..753f51a82fa3 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -66,6 +66,7 @@ SUBDIR += meshdev SUBDIR += netgen SUBDIR += ngspice_rework + SUBDIR += nvc SUBDIR += opencascade SUBDIR += openscad SUBDIR += openscad-devel diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile new file mode 100644 index 000000000000..f3e8b25eee87 --- /dev/null +++ b/cad/nvc/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= nvc +DISTVERSIONPREFIX= r +DISTVERSION= 1.4.0-33 +DISTVERSIONSUFFIX= -g2dfb3aab +CATEGORIES= cad + +MAINTAINER= yuri@FreeBSD.org +COMMENT= VHDL compiler and simulator + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} +RUN_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} + +USES= autoreconf compiler:c++14-lang gmake pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= nickg + +GNU_CONFIGURE= yes + +LDFLAGS+= -lexecinfo + +CONFIGURE_ARGS= --with-llvm=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} + +post-install: + ${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} + +.include diff --git a/cad/nvc/distinfo b/cad/nvc/distinfo new file mode 100644 index 000000000000..a5d8fe44c6e5 --- /dev/null +++ b/cad/nvc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1571815867 +SHA256 (nickg-nvc-r1.4.0-33-g2dfb3aab_GH0.tar.gz) = dba7bd2ed279da4955057ebe9adc823e6f405a4feaf0581bf91924470fdf60f8 +SIZE (nickg-nvc-r1.4.0-33-g2dfb3aab_GH0.tar.gz) = 802228 diff --git a/cad/nvc/pkg-descr b/cad/nvc/pkg-descr new file mode 100644 index 000000000000..e3a94b282b5d --- /dev/null +++ b/cad/nvc/pkg-descr @@ -0,0 +1,5 @@ +NVC is a GPLv3 VHDL compiler and simulator aiming for IEEE 1076-2002 compliance. +See these blog posts for background information. NVC has been successfully used +to simulate several real-world designs. + +WWW: https://github.com/nickg/nvc diff --git a/cad/nvc/pkg-plist b/cad/nvc/pkg-plist new file mode 100644 index 000000000000..613b4fc8f5f7 --- /dev/null +++ b/cad/nvc/pkg-plist @@ -0,0 +1,85 @@ +bin/nvc +man/man1/nvc.1.gz +%%DATADIR%%/coverage.css +%%DATADIR%%/ieee/IEEE.MATH_COMPLEX +%%DATADIR%%/ieee/IEEE.MATH_COMPLEX-body +%%DATADIR%%/ieee/IEEE.MATH_REAL +%%DATADIR%%/ieee/IEEE.MATH_REAL-body +%%DATADIR%%/ieee/IEEE.NUMERIC_BIT +%%DATADIR%%/ieee/IEEE.NUMERIC_BIT-body +%%DATADIR%%/ieee/IEEE.NUMERIC_STD +%%DATADIR%%/ieee/IEEE.NUMERIC_STD-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_1164 +%%DATADIR%%/ieee/IEEE.STD_LOGIC_1164-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_ARITH +%%DATADIR%%/ieee/IEEE.STD_LOGIC_ARITH-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_MISC +%%DATADIR%%/ieee/IEEE.STD_LOGIC_MISC-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_SIGNED +%%DATADIR%%/ieee/IEEE.STD_LOGIC_SIGNED-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_TEXTIO +%%DATADIR%%/ieee/IEEE.STD_LOGIC_TEXTIO-body +%%DATADIR%%/ieee/IEEE.STD_LOGIC_UNSIGNED +%%DATADIR%%/ieee/IEEE.STD_LOGIC_UNSIGNED-body +%%DATADIR%%/ieee/IEEE.VITAL_MEMORY +%%DATADIR%%/ieee/IEEE.VITAL_PRIMITIVES +%%DATADIR%%/ieee/IEEE.VITAL_PRIMITIVES-body +%%DATADIR%%/ieee/IEEE.VITAL_TIMING +%%DATADIR%%/ieee/IEEE.VITAL_TIMING-body +%%DATADIR%%/ieee/_IEEE.MATH_COMPLEX-body.so +%%DATADIR%%/ieee/_IEEE.MATH_COMPLEX-body.vcode +%%DATADIR%%/ieee/_IEEE.MATH_COMPLEX.so +%%DATADIR%%/ieee/_IEEE.MATH_COMPLEX.vcode +%%DATADIR%%/ieee/_IEEE.MATH_REAL-body.so +%%DATADIR%%/ieee/_IEEE.MATH_REAL-body.vcode +%%DATADIR%%/ieee/_IEEE.MATH_REAL.so +%%DATADIR%%/ieee/_IEEE.MATH_REAL.vcode +%%DATADIR%%/ieee/_IEEE.NUMERIC_BIT-body.so +%%DATADIR%%/ieee/_IEEE.NUMERIC_BIT-body.vcode +%%DATADIR%%/ieee/_IEEE.NUMERIC_BIT.so +%%DATADIR%%/ieee/_IEEE.NUMERIC_BIT.vcode +%%DATADIR%%/ieee/_IEEE.NUMERIC_STD-body.so +%%DATADIR%%/ieee/_IEEE.NUMERIC_STD-body.vcode +%%DATADIR%%/ieee/_IEEE.NUMERIC_STD.so +%%DATADIR%%/ieee/_IEEE.NUMERIC_STD.vcode +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_1164-body.so +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_1164-body.vcode +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_ARITH-body.so +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_MISC-body.so +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_SIGNED-body.so +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_TEXTIO-body.so +%%DATADIR%%/ieee/_IEEE.STD_LOGIC_UNSIGNED-body.so +%%DATADIR%%/ieee/_IEEE.VITAL_MEMORY.vcode +%%DATADIR%%/ieee/_IEEE.VITAL_PRIMITIVES-body.so +%%DATADIR%%/ieee/_IEEE.VITAL_PRIMITIVES-body.vcode +%%DATADIR%%/ieee/_IEEE.VITAL_PRIMITIVES.so +%%DATADIR%%/ieee/_IEEE.VITAL_PRIMITIVES.vcode +%%DATADIR%%/ieee/_IEEE.VITAL_TIMING-body.so +%%DATADIR%%/ieee/_IEEE.VITAL_TIMING-body.vcode +%%DATADIR%%/ieee/_IEEE.VITAL_TIMING.so +%%DATADIR%%/ieee/_IEEE.VITAL_TIMING.vcode +%%DATADIR%%/ieee/_NVC_LIB +%%DATADIR%%/ieee/_index +%%DATADIR%%/nvc/NVC.ENV +%%DATADIR%%/nvc/NVC.ENV-body +%%DATADIR%%/nvc/_NVC.ENV-body.so +%%DATADIR%%/nvc/_NVC_LIB +%%DATADIR%%/std.08/STD.ENV +%%DATADIR%%/std.08/STD.ENV-body +%%DATADIR%%/std.08/STD.STANDARD +%%DATADIR%%/std.08/STD.TEXTIO +%%DATADIR%%/std.08/STD.TEXTIO-body +%%DATADIR%%/std.08/_NVC_LIB +%%DATADIR%%/std.08/_STD.ENV-body.so +%%DATADIR%%/std.08/_STD.TEXTIO-body.so +%%DATADIR%%/std.08/_STD.TEXTIO.so +%%DATADIR%%/std.08/_index +%%DATADIR%%/std/STD.STANDARD +%%DATADIR%%/std/STD.TEXTIO +%%DATADIR%%/std/STD.TEXTIO-body +%%DATADIR%%/std/_NVC_LIB +%%DATADIR%%/std/_STD.TEXTIO-body.so +%%DATADIR%%/std/_STD.TEXTIO.so +%%DATADIR%%/std/_index +%%DATADIR%%/synopsys/SYNOPSYS.ATTRIBUTES +%%DATADIR%%/synopsys/_NVC_LIB