diff --git a/cad/xyce/Makefile b/cad/xyce/Makefile index de050e4677d0..9b61e953fa1a 100644 --- a/cad/xyce/Makefile +++ b/cad/xyce/Makefile @@ -1,75 +1,75 @@ PORTNAME= xyce DISTVERSION= 7.5.0 PORTREVISION= 1 CATEGORIES= cad -MASTER_SITES= https://github.com/Xyce/Xyce/archive/refs/tags/ -DISTNAME= Release-${DISTVERSION} -DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Xyce electronic simulator WWW= https://xyce.sandia.gov/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libblas.so:math/blas \ libfftw3.so:math/fftw3 \ liblapack.so:math/lapack \ libtpetra.so:science/trilinos \ \ libamd.so:math/suitesparse-amd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libumfpack.so:math/suitesparse-umfpack TEST_DEPENDS= git:devel/git \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} USES= autoreconf bison gmake fortran libtool localbase perl5 python:test # GNU tools should be used for 7.5 and on until the cmake build is declared stable USE_CXXSTD= c++14 # otherwise configure fails because of c++14 features like std::conditional_t USE_LDCONFIG= yes USE_PERL5= test -WRKSRC= ${WRKDIR}/Xyce-Release-${DISTVERSION} +USE_GITHUB= yes +GH_ACCOUNT= Xyce +GH_PROJECT= Xyce +GH_TAGNAME= Release-${DISTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS= LEX=/usr/bin/flex \ --enable-stokhos \ --enable-amesos \ --enable-shared \ --disable-static INSTALL_TARGET= install-strip BINARY_ALIAS= python=${PYTHON_CMD} # only for tests do-test: # one test is known to fail, see https://github.com/Xyce/Xyce/issues/67#issuecomment-1179857728 # checkout tests @cd ${WRKDIR} && \ ${ECHO} "cloning git repository ..." && \ ${RM} -rf Xyce_Regression && \ git clone -q https://github.com/Xyce/Xyce_Regression.git && \ cd Xyce_Regression && \ git checkout -q Release-${DISTVERSION} # run tests @cd ${TEST_WRKSRC} && ( \ ${ECHO} "running tests ..."; \ eval `${WRKDIR}/Xyce_Regression/TestScripts/suggestXyceTagList.sh ${STAGEDIR}${PREFIX}/bin/Xyce` ; \ ${SETENV} ${TEST_ENV} ${WRKDIR}/Xyce_Regression/TestScripts/run_xyce_regression \ --output=${WRKDIR}/Xyce_Test \ --xyce_test="${WRKDIR}/Xyce_Regression" \ --resultfile=${WRKDIR}/serial_results \ --taglist="$$TAGLIST" \ ${STAGEDIR}${PREFIX}/bin/Xyce \ ) # Testssuite doesn't stop when Ctrl-C is pressed: https://github.com/Xyce/Xyce_Regression/issues/1 # Trilinos build instructions for Xyce: https://xyce.sandia.gov/documentation-tutorials/building-guide/#instTrilinos # Xyce build instructions: https://xyce.sandia.gov/documentation-tutorials/building-guide/ # Xyce regression suite instructions: https://xyce.sandia.gov/documentation-tutorials/running-the-xyce-regression-suite/ # docs are in https://xyce.sandia.gov/files/xyce/Xyce_Docs-7.5.tar.gz .include diff --git a/cad/xyce/distinfo b/cad/xyce/distinfo index b733d21cad6e..cbe21abfb780 100644 --- a/cad/xyce/distinfo +++ b/cad/xyce/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657478670 -SHA256 (xyce-7.5.0/Release-7.5.0.tar.gz) = 854d7d5e19e0ee2138d1f20f10f8f27f2bebb94ec81c157040955cff7250dacd -SIZE (xyce-7.5.0/Release-7.5.0.tar.gz) = 23184780 +TIMESTAMP = 1666506061 +SHA256 (Xyce-Xyce-7.5.0-Release-7.5.0_GH0.tar.gz) = 854d7d5e19e0ee2138d1f20f10f8f27f2bebb94ec81c157040955cff7250dacd +SIZE (Xyce-Xyce-7.5.0-Release-7.5.0_GH0.tar.gz) = 23184780