Index: head/science/cgnslib/Makefile =================================================================== --- head/science/cgnslib/Makefile (revision 527389) +++ head/science/cgnslib/Makefile (revision 527390) @@ -1,56 +1,56 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= cgnslib -PORTVERSION= 3.4.1 +PORTVERSION= 4.0.0 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= CFD General Notation System library code LICENSE= AS-IS LICENSE_NAME= AS-IS LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake USE_GITHUB= yes GH_ACCOUNT= CGNS GH_PROJECT= CGNS USE_LDCONFIG= yes TEST_TARGET= test OPTIONS_DEFINE= FORTRAN HDF5 TESTS TOOLS OPTIONS_DEFAULT= FORTRAN HDF5 TESTS TOOLS OPTIONS_SUB= yes HDF5_DESC= Enable HDF5 interface TESTS_DESC= Enable test programs TOOLS_DESC= Build the CGNSTools package FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= CGNS_ENABLE_FORTRAN HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 libsz.so:science/szip HDF5_CMAKE_BOOL= CGNS_ENABLE_HDF5 HDF5_CMAKE_ON= -DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include" TESTS_CMAKE_BOOL= CGNS_ENABLE_TESTS TOOLS_USES= gl localbase tk xorg TOOLS_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 TOOLS_USE= GL=egl,gl,glu \ XORG=ice,sm,x11,xau,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender,xres,xscrnsaver,xt,xtst,xv,xxf86vm TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ -DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}" post-install: - ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION} \ + ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R} .include Index: head/science/cgnslib/distinfo =================================================================== --- head/science/cgnslib/distinfo (revision 527389) +++ head/science/cgnslib/distinfo (revision 527390) @@ -1,3 +1,3 @@ -TIMESTAMP = 1581868095 -SHA256 (CGNS-CGNS-v3.4.1_GH0.tar.gz) = d32595e7737b9332243bd3de1eb8c018a272f620f09b289dea8292eba1365994 -SIZE (CGNS-CGNS-v3.4.1_GH0.tar.gz) = 3383039 +TIMESTAMP = 1582913238 +SHA256 (CGNS-CGNS-v4.0.0_GH0.tar.gz) = 748585a8e52dff4d250d6b603e6b847d05498e4566aba2dc3d7a7d85c4d55849 +SIZE (CGNS-CGNS-v4.0.0_GH0.tar.gz) = 3392098 Index: head/science/cgnslib/pkg-plist =================================================================== --- head/science/cgnslib/pkg-plist (revision 527389) +++ head/science/cgnslib/pkg-plist (revision 527390) @@ -1,102 +1,103 @@ %%HDF5%%bin/adf2hdf %%HDF5%%bin/hdf2adf %%TOOLS%%bin/cgconfig %%TOOLS%%bin/cgnscalc %%TOOLS%%bin/cgnsnodes %%TOOLS%%bin/cgnsplot %%TOOLS%%bin/cgnstools/aflr3_to_cgns %%TOOLS%%bin/cgnstools/calcwish %%TOOLS%%bin/cgnstools/cgiowish %%TOOLS%%bin/cgnstools/cgns_to_aflr3 %%TOOLS%%bin/cgnstools/cgns_to_fast %%TOOLS%%bin/cgnstools/cgns_to_plot3d %%TOOLS%%bin/cgnstools/cgns_to_tecplot %%TOOLS%%bin/cgnstools/cgns_to_vtk %%TOOLS%%bin/cgnstools/convert_dataclass %%TOOLS%%bin/cgnstools/convert_location %%TOOLS%%bin/cgnstools/convert_variables %%TOOLS%%bin/cgnstools/extract_subset %%TOOLS%%bin/cgnstools/fast_to_cgns %%TOOLS%%bin/cgnstools/interpolate_cgns %%TOOLS%%bin/cgnstools/patran_to_cgns %%TOOLS%%bin/cgnstools/plot3d_to_cgns %%TOOLS%%bin/cgnstools/plotwish %%TOOLS%%bin/cgnstools/tecplot_to_cgns %%TOOLS%%bin/cgnstools/tetgen_to_cgns +%%TOOLS%%bin/cgnstools/update_ngon %%TOOLS%%bin/cgnstools/vgrid_to_cgns %%TOOLS%%bin/cgnsview %%TOOLS%%bin/unitconv bin/cgnscheck bin/cgnscompress bin/cgnsconvert bin/cgnsdiff bin/cgnslist bin/cgnsnames bin/cgnsupdate %%FORTRAN%%include/cgns.mod include/cgnsBuild.defs include/cgns_io.h include/cgnsconfig.h include/cgnslib.h include/cgnstypes.h include/cgnstypes_f.h include/cgnstypes_f03.h include/cgnswin_f.h lib/libcgns.a lib/libcgns.so -lib/libcgns.so.3 -lib/libcgns.so.3.4.1 +lib/libcgns.so.4 +lib/libcgns.so.4.0 %%TOOLS%%share/cgnstools/aflr3.tcl %%TOOLS%%share/cgnstools/balloon.tcl %%TOOLS%%share/cgnstools/cgns-icon.xbm %%TOOLS%%share/cgnstools/cgns-mask.xbm %%TOOLS%%share/cgnstools/cgns.ico %%TOOLS%%share/cgnstools/cgns.png %%TOOLS%%share/cgnstools/cgns.tcl %%TOOLS%%share/cgnstools/cgnscalc-icon.xbm %%TOOLS%%share/cgnstools/cgnscalc-mask.xbm %%TOOLS%%share/cgnstools/cgnscalc.ico %%TOOLS%%share/cgnstools/cgnscalc.png %%TOOLS%%share/cgnstools/cgnscalc.tcl %%TOOLS%%share/cgnstools/cgnsnodes.tcl %%TOOLS%%share/cgnstools/cgnsplot-icon.xbm %%TOOLS%%share/cgnstools/cgnsplot-mask.xbm %%TOOLS%%share/cgnstools/cgnsplot.ico %%TOOLS%%share/cgnstools/cgnsplot.png %%TOOLS%%share/cgnstools/cgnsplot.tcl %%TOOLS%%share/cgnstools/cgnsview.tcl %%TOOLS%%share/cgnstools/color.tcl %%TOOLS%%share/cgnstools/combobox.tcl %%TOOLS%%share/cgnstools/config.tcl %%TOOLS%%share/cgnstools/conserved.cnv %%TOOLS%%share/cgnstools/convert.tcl %%TOOLS%%share/cgnstools/dialog.tcl %%TOOLS%%share/cgnstools/dimensional.cnv %%TOOLS%%share/cgnstools/editfile.tcl %%TOOLS%%share/cgnstools/export.tcl %%TOOLS%%share/cgnstools/fast.tcl %%TOOLS%%share/cgnstools/filesel.tcl %%TOOLS%%share/cgnstools/findfile.tcl %%TOOLS%%share/cgnstools/frame.tcl %%TOOLS%%share/cgnstools/help.tcl %%TOOLS%%share/cgnstools/import.tcl %%TOOLS%%share/cgnstools/menubar.tcl %%TOOLS%%share/cgnstools/patran.tcl %%TOOLS%%share/cgnstools/plot3d.tcl %%TOOLS%%share/cgnstools/primitive.cnv %%TOOLS%%share/cgnstools/tclIndex %%TOOLS%%share/cgnstools/tclreg.tcl %%TOOLS%%share/cgnstools/tecplot.tcl %%TOOLS%%share/cgnstools/tetgen.tcl %%TOOLS%%share/cgnstools/tkdir.tcl %%TOOLS%%share/cgnstools/tools.tcl %%TOOLS%%share/cgnstools/tree.tcl %%TOOLS%%share/cgnstools/unitconv.ico %%TOOLS%%share/cgnstools/unitconv.png %%TOOLS%%share/cgnstools/unitconv.tcl %%TOOLS%%share/cgnstools/unitconv.xbm %%TOOLS%%share/cgnstools/units.tcl %%TOOLS%%share/cgnstools/util.tcl %%TOOLS%%share/cgnstools/utilities.mnu %%TOOLS%%share/cgnstools/vgrid.tcl %%TOOLS%%share/cgnstools/vtk.tcl Index: head/science/code_saturne/Makefile =================================================================== --- head/science/code_saturne/Makefile (revision 527389) +++ head/science/code_saturne/Makefile (revision 527390) @@ -1,117 +1,113 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= code_saturne PORTVERSION= 6.0.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= science parallel MAINTAINER= thierry@FreeBSD.org COMMENT= EDF's general purpose Computational Fluid Dynamics (CFD) software LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libsysinfo.so:devel/libsysinfo \ libcgns.so:science/cgnslib \ libhdf5.so:science/hdf5 \ libmedC.so:french/med RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ xmgrace:math/grace \ bash:shells/bash \ xterm:x11/xterm USE_GITHUB= yes GH_ACCOUNT= code-saturne USES= autoreconf bison fortran gettext gnome gmake iconv libtool \ pyqt:5 python:3.6+ shebangfix USE_GNOME= libxml2 USE_PYQT= core gui sip widgets xml_build SHEBANG_FILES= install_saturne.py tests/unittests.py bin/*.py build-aux/*.py CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-salome --without-salome-yacs --without-salome-kernel \ --without-salome-gui CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed USE_LDCONFIG= yes BINARY_ALIAS= python=${PYTHON_CMD} \ pyrcc5=pyrcc5-${PYTHON_VER} \ pyuic5=pyuic5-${PYTHON_VER} OPTIONS_DEFINE= DOCS EXAMPLES BATCH BLAS MPI OPTIONS_DEFAULT= BATCH BLAS MPI METIS OPTIONS_RADIO= METIS OPTIONS_RADIO_METIS= METIS PARMETIS BLAS_USES= blaslapack BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-lib=${LOCALBASE}/lib --with-blas-libs=-lopenblas BLAS_LIB_DEPENDS= libopenblas.so:math/openblas BATCH_DESC= Use Torque to submit batches BATCH_RUN_DEPENDS= pbs-config:sysutils/torque MPI_LIB_DEPENDS= libmpi.so:net/mpich MPI_CONFIGURE_WITH= mpi METIS_LIB_DEPENDS= libmetis.so:math/metis METIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include" PARMETIS_LIB_DEPENDS= libparmetis.so:math/parmetis PARMETIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include/parmetis" \ --with-metis-lib="${LOCALBASE}/lib/parmetis" PARMETIS_CONFIGURE_ENV= LIBS=-lexecinfo -CGNS2FIX= preprocessor/pre-post/ecs_pre_cgns.c src/fvm/fvm_to_cgns.c - TEST_TARGET= check .if defined(PACKAGE_BUILDING) TERM= vt100 # Force for pointyhat to override su .else TERM?= vt100 # Default value needed for tput in jail or tinderbox .endif .include .if ${ARCH} == "i386" # /wrkdirs/usr/ports/science/code_saturne/work/code_saturne-5.3.0/src/apps/.libs # /libsaturne.so: # undefined reference to `__atomic_compare_exchange' CONFIGURE_ARGS+= --disable-openmp .endif .if ${OPSYS} == FreeBSD && ((${OSREL:R} == 12 && ${OSVERSION} < 1200506) \ || (${OSREL:R} == 11 && ${OSVERSION} < 346296)) BROKEN= at least openmp 8.0.0 final release is needed .endif .if ${PORT_OPTIONS:MDOCS} USE_TEX= tex:build BUILD_DEPENDS+= fig2dev:print/transfig \ doxygen:devel/doxygen \ dot:graphics/graphviz \ sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR} BINARY_ALIAS+= sphinx-build=sphinx-build-${PYTHON_VER} ALL_TARGET= all pdf DOCS= AUTHORS ChangeLog README .endif pre-configure: (cd ${WRKSRC} && ${LS} preprocessor/*/*.c src/*/*.c* | \ ${GREP} -v user_examples > po/POTFILES.in) ${FLEX} -o ${WRKSRC}/src/mei/mei_scanner.c ${WRKSRC}/src/mei/mei_scanner.l ${LOCALBASE}/bin/bison --defines=${WRKSRC}/src/mei/mei_parser.h \ -o ${WRKSRC}/src/mei/mei_parser.c ${WRKSRC}/src/mei/mei_parser.y ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.am -.for f in ${CGNS2FIX} - ${REINPLACE_CMD} -e 's|3400|3402|' ${WRKSRC}/${f} -.endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include