git: 50ea5005f35d - main - cad/xyce: New port: Xyce electronic simulator

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 05:47:00 UTC
The branch main has been updated by yuri:

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

commit 50ea5005f35dbd41edf511ab292f0b493b98e42b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-09 05:46:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-09 05:46:57 +0000

    cad/xyce: New port: Xyce electronic simulator
---
 cad/Makefile       |  1 +
 cad/xyce/Makefile  | 32 ++++++++++++++++++++
 cad/xyce/distinfo  |  3 ++
 cad/xyce/pkg-descr | 10 +++++++
 cad/xyce/pkg-plist | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 131 insertions(+)

diff --git a/cad/Makefile b/cad/Makefile
index 92351dea5081..fba2694b47f4 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -137,6 +137,7 @@
     SUBDIR += verilog-mode.el
     SUBDIR += veroroute
     SUBDIR += xcircuit
+    SUBDIR += xyce
     SUBDIR += yosys
     SUBDIR += z88
     SUBDIR += zcad
diff --git a/cad/xyce/Makefile b/cad/xyce/Makefile
new file mode 100644
index 000000000000..b3214a50f508
--- /dev/null
+++ b/cad/xyce/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	xyce
+DISTVERSION=	7.5
+CATEGORIES=	cad
+MASTER_SITES=	https://xyce.sandia.gov/files/xyce/
+DISTNAME=	Xyce-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Xyce electronic simulator
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libamd.so:math/suitesparse-amd \
+		libblas.so:math/blas \
+		libfftw3.so:math/fftw3 \
+		liblapack.so:math/lapack \
+		libtpetra.so:science/trilinos \
+		libumfpack.so:math/suitesparse-umfpack
+
+USES=		bison cmake localbase
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+post-install:
+	@cd ${STAGEDIR}${PREFIX} && \
+		${RM} ${STAGEDIR}${PREFIX}/doc/README.TXT && \
+		${RMDIR} ${STAGEDIR}${PREFIX}/doc
+
+# Trilinos build instructions for Xyce: https://xyce.sandia.gov/documentation-tutorials/building-guide/#instTrilinos
+# docs are in https://xyce.sandia.gov/files/xyce/Xyce_Docs-7.5.tar.gz
+
+.include <bsd.port.mk>
diff --git a/cad/xyce/distinfo b/cad/xyce/distinfo
new file mode 100644
index 000000000000..ffee29842322
--- /dev/null
+++ b/cad/xyce/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1657259069
+SHA256 (Xyce-7.5.tar.gz) = 855e865316e8ca3a668fb4e92cb39e63023702f79012a1461c06066e1567f5ce
+SIZE (Xyce-7.5.tar.gz) = 24310294
diff --git a/cad/xyce/pkg-descr b/cad/xyce/pkg-descr
new file mode 100644
index 000000000000..937e802a4943
--- /dev/null
+++ b/cad/xyce/pkg-descr
@@ -0,0 +1,10 @@
+Xyce (zis, rhymes with "spice") is an open source,
+SPICE-compatible, high-performance analog circuit simulator, capable
+of solving extremely large circuit problems by supporting large-scale
+parallel computing platforms. It also supports serial execution on all
+common desktop platforms, and small-scale parallel runs on Unix-like
+systems. In addition to analog electronic simulation, Xyce has also
+been used to investigate more general network systems, such as neural
+networks and power grids. Read more about Xyce.
+
+WWW: https://xyce.sandia.gov/
diff --git a/cad/xyce/pkg-plist b/cad/xyce/pkg-plist
new file mode 100644
index 000000000000..390f7b41e0f2
--- /dev/null
+++ b/cad/xyce/pkg-plist
@@ -0,0 +1,85 @@
+bin/Xyce
+include/N_ANP_NoiseData.h
+include/N_ANP_fwd.h
+include/N_CIR_GenCouplingSimulator.h
+include/N_CIR_Xyce.h
+include/N_DEV_ADC.h
+include/N_DEV_BJT.h
+include/N_DEV_Capacitor.h
+include/N_DEV_Configuration.h
+include/N_DEV_Const.h
+include/N_DEV_DAC.h
+include/N_DEV_Depend.h
+include/N_DEV_Device.h
+include/N_DEV_DeviceBlock.h
+include/N_DEV_DeviceEntity.h
+include/N_DEV_DeviceInstance.h
+include/N_DEV_DeviceMaster.h
+include/N_DEV_DeviceModel.h
+include/N_DEV_DeviceOptions.h
+include/N_DEV_DeviceSupport.h
+include/N_DEV_Diode.h
+include/N_DEV_ExternData.h
+include/N_DEV_ExternalSimulationData.h
+include/N_DEV_InstanceName.h
+include/N_DEV_JFET.h
+include/N_DEV_MOSFET1.h
+include/N_DEV_Message.h
+include/N_DEV_Param.h
+include/N_DEV_Pars.h
+include/N_DEV_Resistor.h
+include/N_DEV_SolverState.h
+include/N_DEV_Units.h
+include/N_DEV_VectorComputeInterface.h
+include/N_DEV_fwd.h
+include/N_ERH_Message.h
+include/N_ERH_fwd.h
+include/N_IO_CmdParse.h
+include/N_IO_ExtOutInterface.h
+include/N_IO_HangingResistor.h
+include/N_IO_OutputTypes.h
+include/N_IO_fwd.h
+include/N_LAS_Matrix.h
+include/N_LAS_MultiVector.h
+include/N_LAS_Vector.h
+include/N_LAS_fwd.h
+include/N_LOA_Loader.h
+include/N_LOA_fwd.h
+include/N_NLS_TwoLevelEnum.h
+include/N_NLS_fwd.h
+include/N_PDS_MPI.h
+include/N_PDS_Manager.h
+include/N_PDS_ParallelMachine.h
+include/N_PDS_Serial.h
+include/N_PDS_fwd.h
+include/N_TIA_TwoLevelError.h
+include/N_TIA_fwd.h
+include/N_TOP_fwd.h
+include/N_UTL_BreakPoint.h
+include/N_UTL_Diagnostic.h
+include/N_UTL_Expression.h
+include/N_UTL_ExpressionData.h
+include/N_UTL_ExpressionSymbolTable.h
+include/N_UTL_FeatureTest.h
+include/N_UTL_FormatTime.h
+include/N_UTL_Interface_Enum_Types.h
+include/N_UTL_JSON.h
+include/N_UTL_MachDepParams.h
+include/N_UTL_Marshal.h
+include/N_UTL_Math.h
+include/N_UTL_Misc.h
+include/N_UTL_NameLevelKey.h
+include/N_UTL_NetlistLocation.h
+include/N_UTL_NoCase.h
+include/N_UTL_NodeSymbols.h
+include/N_UTL_Op.h
+include/N_UTL_Pack.h
+include/N_UTL_Param.h
+include/N_UTL_ReportHandler.h
+include/N_UTL_StatMetricTraits.h
+include/N_UTL_Stats.h
+include/N_UTL_TypeIndex.h
+include/N_UTL_Xyce.h
+include/N_UTL_fwd.h
+include/Xyce_config.h
+lib/libxyce.so