Index: head/cad/gmsh/Makefile =================================================================== --- head/cad/gmsh/Makefile (revision 324252) +++ head/cad/gmsh/Makefile (revision 324253) @@ -1,210 +1,209 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= gmsh -PORTVERSION= 2.7.1 -PORTREVISION= 2 +PORTVERSION= 2.8.2 CATEGORIES= cad MASTER_SITES= http://www.geuz.org/gmsh/src/ \ http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source EXTRACT_SUFX= .tgz DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= gmsh EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= stephen@FreeBSD.org COMMENT= An automatic 3D finite element mesh generator LICENSE= GPLv2 LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \ jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ lapack:${PORTSDIR}/math/lapack WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source SLAVEDIRS= cad/gmsh-occ USE_FORTRAN= yes USES= cmake USE_GMAKE= yes USE_GL= yes ALL_TARGET= all MAN1= gmsh.1 CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES .if !defined(WITHOUT_STATIC_LIB) CMAKE_ARGS+= -DENABLE_BUILD_LIB=ON ALL_TARGET+= lib PLIST_SUB+= STATIC_LIB="" .else PLIST_SUB+= STATIC_LIB="@comment " .endif .if !defined(WITHOUT_SHARED_LIB) CMAKE_ARGS+= -DENABLE_BUILD_SHARED=ON ALL_TARGET+= shared PLIST_SUB+= SHARED_LIB="" USE_LDCONFIG= yes .else PLIST_SUB+= SHARED_LIB="@comment " .endif .if defined(PORT_OPTIONS:MDOCS) CMAKE_ARGS+= -DINSTALL_DOCS=OFF .endif .if defined(WITHOUT_TETGEN) CMAKE_ARGS+= -DENABLE_TETGEN=OFF .else CMAKE_ARGS+= -DENABLE_TETGEN=ON .endif # Even though the taucs port pulls in the metis port, we will still need # WITHOUT_METIS not set when WITH_TAUCS is set, otherwise the linker # does not find the libraries installed by the metis port. .if defined(WITH_TAUCS) && defined(WITHOUT_METIS) IGNORE= requires that WITHOUT_METIS is not set if WITH_TAUCS is set .endif .if !defined(WITHOUT_METIS) CMAKE_ARGS+= -DENABLE_METIS=ON .if defined(PORT_OPTIONS:MDOCS) IGNORE= the license for Metis requires that its documentation is included .endif DISTFILES+= manual.pdf PLIST_SUB+= METIS="" .else CMAKE_ARGS+= -DENABLE_METIS=OFF PLIST_SUB+= METIS="@comment " .endif .if defined(WITH_TAUCS) LIB_DEPENDS+= taucs:${PORTSDIR}/math/taucs CMAKE_ARGS+= -DENABLE_TAUCS=ON .else CMAKE_ARGS+= -DENABLE_TAUCS=OFF .endif .if !defined(WITHOUT_MED) LIB_DEPENDS+= med:${PORTSDIR}/french/med CMAKE_ARGS+= -DENABLE_MED=ON .else CMAKE_ARGS+= -DENABLE_MED=OFF .endif .if !defined(WITHOUT_CGNS) LIB_DEPENDS+= cgns:${PORTSDIR}/science/cgnslib CMAKE_ARGS+= -DENABLE_CGNS=ON .else CMAKE_ARGS+= -DENABLE_CGNS=OFF .endif .if defined(WITHOUT_GMM) CMAKE_ARGS+= -DENABLE_GMM=OFF .endif .if defined(WITH_OCC) LIB_DEPENDS+= TKernel:${PORTSDIR}/cad/opencascade CMAKE_ARGS+= -DENABLE_OCC=ON -DOCC_INC=${LOCALBASE}/include/OpenCASCADE CONFLICTS= gmsh-2.* .else CMAKE_ARGS+= -DENABLE_OCC=OFF CONFLICTS= gmsh-occ-2.* .endif # TODO # Dependencies against PythonLibs, swig and petsc are found and registered if installed # => add knobs to handle them. PKGMESSAGE= ${WRKDIR}/pkg-message .include pre-everything:: @${ECHO_MSG} "" .if !defined(WITHOUT_TETGEN) @${ECHO_MSG} "Define WITHOUT_TETGEN to disable Tetgen as an alternative" @${ECHO_MSG} "3D mesh generator." @${ECHO_MSG} "" .endif .if !defined(WITHOUT_METIS) @${ECHO_MSG} "Define WITHOUT_METIS to disable Metis as an alternative" @${ECHO_MSG} "3D mesh generator." @${ECHO_MSG} "" .endif .if !defined(WITH_TAUCS) @${ECHO_MSG} "Define WITH_TAUCS to enable the Taucs linear algebra solver." @${ECHO_MSG} "" .endif .if !defined(WITHOUT_MED) @${ECHO_MSG} "Define WITHOUT_MED to disable MED support." @${ECHO_MSG} "" .endif .if !defined(WITHOUT_CGNS) @${ECHO_MSG} "Define WITHOUT_CGNS to disable CGNS support." @${ECHO_MSG} "" .endif .if !defined(WITHOUT_GMM) @${ECHO_MSG} "Define WITHOUT_GMM to disable gmm++ support." @${ECHO_MSG} "" .endif .if !defined(WITH_OCC) @${ECHO_MSG} "Define WITH_OCC to enable STEP, IGES and BREP support" @${ECHO_MSG} "(through OpenCascade)." @${ECHO_MSG} "" .endif .if !defined(WITHOUT_STATIC_LIB) @${ECHO_MSG} "Define WITHOUT_STATIC_LIB to avoid building and installing the static library." @${ECHO_MSG} "(You would want to do this to reduce build time.)" @${ECHO_MSG} "" .endif .if !defined(WITHOUT_SHARED_LIB) @${ECHO_MSG} "Define WITHOUT_SHARED_LIB to avoid building and installing the shared library." @${ECHO_MSG} "(You would want to do this to reduce build time.)" @${ECHO_MSG} "" .endif post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${WRKDIR} ${TOUCH} ${PKGMESSAGE} .if !defined(WITHOUT_TETGEN) @${ECHO} >> ${PKGMESSAGE} @${ECHO} "The FreeBSD project has been granted redistribution rights" >> ${PKGMESSAGE} @${ECHO} "but anyone attempting to redistribute Gmsh with Tetgen" >> ${PKGMESSAGE} @${ECHO} "for strict commercial purposes must still contact the author" >> ${PKGMESSAGE} @${ECHO} "(Hang Si) and license the code." >> ${PKGMESSAGE} .endif .if !defined(WITHOUT_METIS) @${ECHO} >> ${PKGMESSAGE} @${ECHO} "The FreeBSD project has been granted redistribution rights" >> ${PKGMESSAGE} @${ECHO} "but anyone attempting to redistribute Gmsh with Metis" >> ${PKGMESSAGE} @${ECHO} "must still contact the author" >> ${PKGMESSAGE} @${ECHO} "http://glaros.dtc.umn.edu/gkhome/metis/metis/faq?q=metis/metis/faq#distribute" >> ${PKGMESSAGE} @${ECHO} "\"A Fast and Highly Quality Multilevel Scheme for Partitioning Irregular Graphs\". George Karypis and Vipin Kumar. SIAM Journal on Scientific Computing, Vol. 20, No. 1, pp. 359-392, 1999." >> ${PKGMESSAGE} .endif .if defined(WITH_TAUCS) @${ECHO} >> ${PKGMESSAGE} @${ECHO} "There might be licensing issues with using Taucs with Gmsh" >> ${PKGMESSAGE} @${ECHO} "because Taucs requires Metis." >> ${PKGMESSAGE} .endif post-patch: ${REINPLACE_CMD} -e s+share/doc/gmsh+${DOCSDIR_REL}+ \ -e s+share/man/man1+man/man1+ ${WRKSRC}/CMakeLists.txt post-install: .if !defined(WITHOUT_METIS) ${MKDIR} ${DOCSDIR}/metis ${INSTALL_DATA} ${WRKDIR}/manual.pdf ${DOCSDIR}/metis .endif @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .include Index: head/cad/gmsh/distinfo =================================================================== --- head/cad/gmsh/distinfo (revision 324252) +++ head/cad/gmsh/distinfo (revision 324253) @@ -1,4 +1,4 @@ -SHA256 (gmsh/gmsh-2.7.1-source.tgz) = 3ec750bcb7be6153db06caff80f654c3e7dcd04a7157d80be13ae9c51dc23eca -SIZE (gmsh/gmsh-2.7.1-source.tgz) = 8182026 +SHA256 (gmsh/gmsh-2.8.2-source.tgz) = 0b3bd9fc2144dac36240a6ecfe4d367b0ef0a852653e7d088ebcb56970124fa1 +SIZE (gmsh/gmsh-2.8.2-source.tgz) = 8325766 SHA256 (gmsh/manual.pdf) = 8a682ee7f02380f52d5efdde5f9f9d8e927a4f4eb29287a878c1016225568911 SIZE (gmsh/manual.pdf) = 206713 Index: head/cad/gmsh/pkg-plist =================================================================== --- head/cad/gmsh/pkg-plist (revision 324252) +++ head/cad/gmsh/pkg-plist (revision 324253) @@ -1,189 +1,195 @@ bin/gmsh bin/onelab.py %%STATIC_LIB%%lib/libGmsh.a %%SHARED_LIB%%lib/libGmsh.so -%%SHARED_LIB%%lib/libGmsh.so.2.7 -%%SHARED_LIB%%lib/libGmsh.so.2.7.1 +%%SHARED_LIB%%lib/libGmsh.so.2.8 +%%SHARED_LIB%%lib/libGmsh.so.2.8.2 include/gmsh/CGNSOptions.h include/gmsh/Cell.h include/gmsh/CellComplex.h include/gmsh/Chain.h include/gmsh/ChainComplex.h include/gmsh/ColorTable.h include/gmsh/Context.h +include/gmsh/ElementType.h include/gmsh/GEdge.h include/gmsh/GEdgeCompound.h include/gmsh/GEdgeLoop.h include/gmsh/GEntity.h include/gmsh/GFace.h include/gmsh/GFaceCompound.h include/gmsh/GModel.h include/gmsh/GPoint.h include/gmsh/GRbf.h include/gmsh/GRegion.h include/gmsh/GRegionCompound.h include/gmsh/GVertex.h include/gmsh/GaussIntegration.h include/gmsh/Gmsh.h include/gmsh/GmshConfig.h include/gmsh/GmshDefines.h include/gmsh/GmshMessage.h +include/gmsh/GmshSocket.h include/gmsh/GmshVersion.h include/gmsh/Homology.h include/gmsh/Integration3D.h include/gmsh/JacobianBasis.h include/gmsh/Levy3D.h include/gmsh/MEdge.h include/gmsh/MElement.h include/gmsh/MElementCut.h include/gmsh/MElementOctree.h include/gmsh/MFace.h include/gmsh/MHexahedron.h include/gmsh/MLine.h include/gmsh/MPoint.h include/gmsh/MPrism.h include/gmsh/MPyramid.h include/gmsh/MQuadrangle.h include/gmsh/MTetrahedron.h include/gmsh/MTriangle.h include/gmsh/MVertex.h include/gmsh/MVertexBoundaryLayerData.h include/gmsh/Numeric.h include/gmsh/OS.h include/gmsh/Octree.h include/gmsh/OctreeInternals.h include/gmsh/OctreePost.h include/gmsh/OpenFile.h include/gmsh/OptHOM.h include/gmsh/OptHomMesh.h include/gmsh/PView.h include/gmsh/PViewData.h include/gmsh/PViewDataGModel.h include/gmsh/PViewOptions.h include/gmsh/Pair.h include/gmsh/ParamCoord.h include/gmsh/PluginManager.h include/gmsh/Range.h include/gmsh/SBoundingBox3d.h include/gmsh/SOrientedBoundingBox.h include/gmsh/SPoint2.h include/gmsh/SPoint3.h include/gmsh/STensor3.h include/gmsh/SVector3.h include/gmsh/StringUtils.h include/gmsh/VertexArray.h include/gmsh/Voronoi3D.h +include/gmsh/bezierBasis.h include/gmsh/boundaryLayersData.h include/gmsh/cartesian.h include/gmsh/crossConfTerm.h include/gmsh/directions3D.h include/gmsh/discreteEdge.h include/gmsh/discreteFace.h include/gmsh/discreteRegion.h include/gmsh/discreteVertex.h include/gmsh/dofManager.h include/gmsh/drawContext.h include/gmsh/elasticitySolver.h include/gmsh/elasticityTerm.h include/gmsh/femTerm.h include/gmsh/fullMatrix.h include/gmsh/gmp_blas.h include/gmsh/gmp_matrix.h include/gmsh/gmp_normal_form.h include/gmsh/gmshLevelset.h include/gmsh/groupOfElements.h include/gmsh/laplaceTerm.h include/gmsh/linearSystem.h include/gmsh/linearSystemCSR.h include/gmsh/linearSystemFull.h include/gmsh/linearSystemGMM.h include/gmsh/linearSystemPETSc.h include/gmsh/mathEvaluator.h include/gmsh/mathex.h include/gmsh/meshGEdge.h include/gmsh/meshGFace.h include/gmsh/meshGFaceDelaunayInsertion.h include/gmsh/meshGFaceElliptic.h include/gmsh/meshGFaceOptimize.h include/gmsh/meshMetric.h include/gmsh/meshPartition.h include/gmsh/meshPartitionOptions.h include/gmsh/mpz.h include/gmsh/nodalBasis.h +include/gmsh/onelab.h +include/gmsh/onelabUtils.h include/gmsh/orthogonalTerm.h include/gmsh/partitionEdge.h include/gmsh/periodical.h include/gmsh/polynomialBasis.h include/gmsh/simple3D.h include/gmsh/simpleFunction.h include/gmsh/sparsityPattern.h include/gmsh/yamakawa.h %%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt %%PORTDOCS%%%%DOCSDIR%%/README.txt %%PORTDOCS%%%%DOCSDIR%%/demos/anim.script %%PORTDOCS%%%%DOCSDIR%%/demos/antenna.geo %%PORTDOCS%%%%DOCSDIR%%/demos/antenna.i1 %%PORTDOCS%%%%DOCSDIR%%/demos/component8.step %%PORTDOCS%%%%DOCSDIR%%/demos/component8_in_a_box.geo %%PORTDOCS%%%%DOCSDIR%%/demos/cone.geo %%PORTDOCS%%%%DOCSDIR%%/demos/cube.geo %%PORTDOCS%%%%DOCSDIR%%/demos/encode.script %%PORTDOCS%%%%DOCSDIR%%/demos/fields.geo %%PORTDOCS%%%%DOCSDIR%%/demos/filter.geo %%PORTDOCS%%%%DOCSDIR%%/demos/hex.geo %%PORTDOCS%%%%DOCSDIR%%/demos/homology.geo %%PORTDOCS%%%%DOCSDIR%%/demos/indheat.geo %%PORTDOCS%%%%DOCSDIR%%/demos/isosurf.script %%PORTDOCS%%%%DOCSDIR%%/demos/lowmem-anim.geo %%PORTDOCS%%%%DOCSDIR%%/demos/machine.geo %%PORTDOCS%%%%DOCSDIR%%/demos/machine.i1 %%PORTDOCS%%%%DOCSDIR%%/demos/machine.i2 %%PORTDOCS%%%%DOCSDIR%%/demos/multislice.script %%PORTDOCS%%%%DOCSDIR%%/demos/piece-extr-rec.geo %%PORTDOCS%%%%DOCSDIR%%/demos/piece-extr.geo %%PORTDOCS%%%%DOCSDIR%%/demos/piece.geo %%PORTDOCS%%%%DOCSDIR%%/demos/plot2d.geo %%PORTDOCS%%%%DOCSDIR%%/demos/primitives.pos %%PORTDOCS%%%%DOCSDIR%%/demos/pripyrtet.geo %%PORTDOCS%%%%DOCSDIR%%/demos/rotate.script %%PORTDOCS%%%%DOCSDIR%%/demos/sphere-discrete.geo %%PORTDOCS%%%%DOCSDIR%%/demos/sphere-surf.stl %%PORTDOCS%%%%DOCSDIR%%/demos/sphere.geo %%PORTDOCS%%%%DOCSDIR%%/demos/splines.geo %%PORTDOCS%%%%DOCSDIR%%/demos/title.script %%PORTDOCS%%%%DOCSDIR%%/demos/tower.geo %%PORTDOCS%%%%DOCSDIR%%/demos/tower.i1 %%PORTDOCS%%%%DOCSDIR%%/demos/tower.i2 %%PORTDOCS%%%%DOCSDIR%%/demos/tower.i3 %%PORTDOCS%%%%DOCSDIR%%/demos/tower.i4 %%PORTDOCS%%%%DOCSDIR%%/demos/tower.i5 %%PORTDOCS%%%%DOCSDIR%%/demos/transfinite.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/bgmesh.pos %%PORTDOCS%%%%DOCSDIR%%/tutorial/t1.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t10.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t11.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t12.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t13.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t13_data.msh %%PORTDOCS%%%%DOCSDIR%%/tutorial/t14.geo +%%PORTDOCS%%%%DOCSDIR%%/tutorial/t15.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t2.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t3.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t4.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t5.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t6.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t7.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t8.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/t8.par %%PORTDOCS%%%%DOCSDIR%%/tutorial/t9.geo %%PORTDOCS%%%%DOCSDIR%%/tutorial/view1.pos %%PORTDOCS%%%%DOCSDIR%%/tutorial/view2.pos %%PORTDOCS%%%%DOCSDIR%%/tutorial/view3.pos %%PORTDOCS%%%%DOCSDIR%%/tutorial/view4.pos %%PORTDOCS%%%%DOCSDIR%%/tutorial/view5.msh %%METIS%%%%DOCSDIR%%/metis/manual.pdf %%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial %%METIS%%@dirrm %%DOCSDIR%%/metis %%PORTDOCS%%@dirrm %%DOCSDIR%%/demos %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/gmsh