diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index 0939a799221b..471819e7794c 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -1,69 +1,73 @@ PORTNAME= cgnslib -PORTVERSION= 4.4.0 +PORTVERSION= 4.5.0 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= CFD General Notation System library code WWW= https://cgns.github.io/ 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 + +USES= cmake USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes #CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="GLVND" CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="LEGACY" FFLAGS+= -fPIC -std=legacy 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/libaec 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}" .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +pre-configure: + ${REINPLACE_CMD} -e 's|tk-private/||' ${WRKSRC}/src/cgnstools/tkogl/tkogl.c + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R} do-test: cd ${TEST_WRKSRC} && \ ${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} .include diff --git a/science/cgnslib/distinfo b/science/cgnslib/distinfo index 14cbf4aeb12c..11544b1458c4 100644 --- a/science/cgnslib/distinfo +++ b/science/cgnslib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686946301 -SHA256 (CGNS-CGNS-v4.4.0_GH0.tar.gz) = 3b0615d1e6b566aa8772616ba5fd9ca4eca1a600720e36eadd914be348925fe2 -SIZE (CGNS-CGNS-v4.4.0_GH0.tar.gz) = 1979828 +TIMESTAMP = 1738068224 +SHA256 (CGNS-CGNS-v4.5.0_GH0.tar.gz) = c72355219318755ba0a8646a8e56ee1c138cf909c1d738d258d2774fa4b529e9 +SIZE (CGNS-CGNS-v4.5.0_GH0.tar.gz) = 2085289 diff --git a/science/cgnslib/pkg-plist b/science/cgnslib/pkg-plist index 3464553a17b3..cfbaa4060d00 100644 --- a/science/cgnslib/pkg-plist +++ b/science/cgnslib/pkg-plist @@ -1,111 +1,113 @@ %%HDF5%%bin/adf2hdf %%TOOLS%%bin/cgconfig %%TOOLS%%bin/cgnscalc %%TOOLS%%bin/cgnscalc.desktop bin/cgnscheck bin/cgnscompress bin/cgnsconvert bin/cgnsdiff bin/cgnslist bin/cgnsnames %%TOOLS%%bin/cgnsnodes %%TOOLS%%bin/cgnsnodes.desktop %%TOOLS%%bin/cgnsplot %%TOOLS%%bin/cgnsplot.desktop %%TOOLS%%bin/cgnstools/aflr3_to_cgns %%TOOLS%%bin/cgnstools/calcwish %%TOOLS%%bin/cgnstools/cgiowish %%TOOLS%%bin/cgnstools/cgns_info %%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 bin/cgnsupdate %%TOOLS%%bin/cgnsview %%TOOLS%%bin/cgnsview.desktop %%HDF5%%bin/hdf2adf %%TOOLS%%bin/unitconv.desktop %%TOOLS%%bin/unitconv.sh %%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/cmake/cgns/cgns-config-version.cmake +lib/cmake/cgns/cgns-config.cmake lib/cmake/cgns/cgns-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/cgns/cgns-targets.cmake lib/libcgns.a lib/libcgns.so lib/libcgns.so.4 -lib/libcgns.so.4.4 +lib/libcgns.so.4.5 %%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