aboutsummaryrefslogtreecommitdiffstats
path: root/cad/salome-netgenplugin
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2011-01-05 05:14:34 +0800
committerthierry <thierry@FreeBSD.org>2011-01-05 05:14:34 +0800
commit2cce29c43f549d29941faa0344c623d9bf5b0a48 (patch)
tree88d63bf8dddf27dbeedaf866d4b27fa522a1cdc6 /cad/salome-netgenplugin
parent2cf8b1b27f80fed08d9200aea52de34142b5b9f4 (diff)
downloadfreebsd-ports-gnome-2cce29c43f549d29941faa0344c623d9bf5b0a48.tar.gz
freebsd-ports-gnome-2cce29c43f549d29941faa0344c623d9bf5b0a48.tar.zst
freebsd-ports-gnome-2cce29c43f549d29941faa0344c623d9bf5b0a48.zip
SALOME is a free software that provides a generic platform for Pre
and Post-Processing for numerical simulation. +Supports interoperability between CAD modeling and computation software (CAD-CAE link) +Makes easier the integration of new components on heterogeneous systems for numerical computation +Sets the priority to multi-physics coupling between computation software +Provides a generic user interface, user-friendly and efficient, which helps to reduce the costs and delays of carrying out the studies +Reduces training time to the specific time for learning the software solution which has been based on this platform +All functionalities are accessible through the programmatic integrated Python console This package contains NETGENPLUGIN module. WWW: http://www.salome-platform.org - Stas Timokhin devel@stasyan.com PR: ports/152396 Submitted by: Stas Timokhin <devel at stasyan.com>
Diffstat (limited to 'cad/salome-netgenplugin')
-rw-r--r--cad/salome-netgenplugin/Makefile15
-rw-r--r--cad/salome-netgenplugin/files/patch-check_NETGEN.m438
-rw-r--r--cad/salome-netgenplugin/files/patch-check_NETGENPLUGIN.m420
-rw-r--r--cad/salome-netgenplugin/pkg-descr19
-rw-r--r--cad/salome-netgenplugin/pkg-plist52
5 files changed, 144 insertions, 0 deletions
diff --git a/cad/salome-netgenplugin/Makefile b/cad/salome-netgenplugin/Makefile
new file mode 100644
index 000000000000..d9ff00b0ac8b
--- /dev/null
+++ b/cad/salome-netgenplugin/Makefile
@@ -0,0 +1,15 @@
+# New ports collection makefile for: cad/salome-netgenplugin
+# Date created: 10 Nov 2010
+# Whom: Stas Timokhin <devel@stasyan.com>
+#
+# $FreeBSD$
+
+CATEGORIES= cad science
+
+MASTERDIR= ${.CURDIR}/../salome
+
+PORTNAME= salome
+PKGNAMESUFFIX= -netgenplugin
+SAL_MODULE_UPPER= NETGENPLUGIN
+
+.include "${MASTERDIR}/Makefile"
diff --git a/cad/salome-netgenplugin/files/patch-check_NETGEN.m4 b/cad/salome-netgenplugin/files/patch-check_NETGEN.m4
new file mode 100644
index 000000000000..56b4efe648ff
--- /dev/null
+++ b/cad/salome-netgenplugin/files/patch-check_NETGEN.m4
@@ -0,0 +1,38 @@
+--- adm_local/unix/config_files/check_NETGEN.m4.orig 2010-11-08 09:26:42.000000000 +0600
++++ adm_local/unix/config_files/check_NETGEN.m4 2010-11-08 09:26:53.000000000 +0600
+@@ -41,7 +41,7 @@
+
+ Netgen_ok=no
+
+-if test "x$NETGEN_HOME" == "x" ; then
++if test "x$NETGEN_HOME" = "x" ; then
+
+ # no --with-netgen option used
+ if test "x$NETGENHOME" != "x" ; then
+@@ -100,7 +100,7 @@
+ AC_MSG_CHECKING(for Netgen header file)
+
+ AC_CHECK_HEADER(nglib.h,Netgen_ok=yes,Netgen_ok=no)
+- if test "x$Netgen_ok" == "xyes"; then
++ if test "x$Netgen_ok" = "xyes"; then
+
+ if test "$NETGEN_NEW" = "no" ; then
+
+@@ -218,7 +218,7 @@
+ Netgen_ok="$salome_cv_netgen_salome_patch_lib"
+ fi
+
+- if test "x$Netgen_ok" == xno ; then
++ if test "x$Netgen_ok" = xno ; then
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR(Netgen is not properly installed)
+ fi
+@@ -233,7 +233,7 @@
+ CPPFLAGS="$CPPFLAGS_old"
+ CXXFLAGS="$CXXFLAGS_old"
+
+- if test "x$Netgen_ok" == xno ; then
++ if test "x$Netgen_ok" = xno ; then
+ AC_MSG_RESULT(no)
+ AC_MSG_WARN(Netgen libraries not found or not properly installed)
+ else
diff --git a/cad/salome-netgenplugin/files/patch-check_NETGENPLUGIN.m4 b/cad/salome-netgenplugin/files/patch-check_NETGENPLUGIN.m4
new file mode 100644
index 000000000000..28ce44558f83
--- /dev/null
+++ b/cad/salome-netgenplugin/files/patch-check_NETGENPLUGIN.m4
@@ -0,0 +1,20 @@
+--- adm_local/unix/config_files/check_NETGENPLUGIN.m4.orig 2010-11-08 09:27:11.000000000 +0600
++++ adm_local/unix/config_files/check_NETGENPLUGIN.m4 2010-11-08 09:28:22.000000000 +0600
+@@ -38,7 +38,7 @@
+ [ --with-netgenplugin=DIR root directory path of NETGEN mesh plugin installation ],
+ NETGENPLUGIN_DIR="$withval",NETGENPLUGIN_DIR="")
+
+-if test "x$NETGENPLUGIN_DIR" == "x" ; then
++if test "x$NETGENPLUGIN_DIR" = "x" ; then
+
+ # no --with-netgenplugin-dir option used
+
+@@ -55,7 +55,7 @@
+ NGplugin_ok=yes
+ AC_MSG_RESULT(Using NETGEN mesh plugin distribution in ${NETGENPLUGIN_DIR})
+
+- if test "x$NETGENPLUGIN_ROOT_DIR" == "x" ; then
++ if test "x$NETGENPLUGIN_ROOT_DIR" = "x" ; then
+ NETGENPLUGIN_ROOT_DIR=${NETGENPLUGIN_DIR}
+ fi
+ AC_SUBST(NETGENPLUGIN_ROOT_DIR)
diff --git a/cad/salome-netgenplugin/pkg-descr b/cad/salome-netgenplugin/pkg-descr
new file mode 100644
index 000000000000..303e4050f57f
--- /dev/null
+++ b/cad/salome-netgenplugin/pkg-descr
@@ -0,0 +1,19 @@
+SALOME is a free software that provides a generic platform for Pre
+and Post-Processing for numerical simulation.
++Supports interoperability between CAD modeling and
+ computation software (CAD-CAE link)
++Makes easier the integration of new components on heterogeneous systems
+ for numerical computation
++Sets the priority to multi-physics coupling between computation software
++Provides a generic user interface, user-friendly and efficient,
+ which helps to reduce the costs and delays of carrying out the studies
++Reduces training time to the specific time for learning the software solution
+ which has been based on this platform
++All functionalities are accessible through the programmatic
+ integrated Python console
+
+This package contains NETGENPLUGIN module.
+
+WWW: http://www.salome-platform.org
+- Stas Timokhin
+devel@stasyan.com
diff --git a/cad/salome-netgenplugin/pkg-plist b/cad/salome-netgenplugin/pkg-plist
new file mode 100644
index 000000000000..53d9f611ebc3
--- /dev/null
+++ b/cad/salome-netgenplugin/pkg-plist
@@ -0,0 +1,52 @@
+adm_local/unix/config_files/check_NETGEN.m4
+adm_local/unix/config_files/check_NETGENPLUGIN.m4
+bin/salome/VERSION
+idl/salome/NETGENPlugin_Algorithm.idl
+include/salome/NETGENPLUGIN_version.h
+include/salome/NETGENPlugin_Algorithm.hh
+include/salome/NETGENPlugin_Defs.hxx
+include/salome/NETGENPlugin_Hypothesis.hxx
+include/salome/NETGENPlugin_Hypothesis_2D.hxx
+include/salome/NETGENPlugin_Hypothesis_2D_i.hxx
+include/salome/NETGENPlugin_Hypothesis_i.hxx
+include/salome/NETGENPlugin_Mesher.hxx
+include/salome/NETGENPlugin_NETGEN_2D.hxx
+include/salome/NETGENPlugin_NETGEN_2D3D.hxx
+include/salome/NETGENPlugin_NETGEN_2D3D_i.hxx
+include/salome/NETGENPlugin_NETGEN_2D_ONLY.hxx
+include/salome/NETGENPlugin_NETGEN_2D_ONLY_i.hxx
+include/salome/NETGENPlugin_NETGEN_2D_i.hxx
+include/salome/NETGENPlugin_NETGEN_3D.hxx
+include/salome/NETGENPlugin_NETGEN_3D_i.hxx
+include/salome/NETGENPlugin_SimpleHypothesis_2D.hxx
+include/salome/NETGENPlugin_SimpleHypothesis_2D_i.hxx
+include/salome/NETGENPlugin_SimpleHypothesis_3D.hxx
+include/salome/NETGENPlugin_SimpleHypothesis_3D_i.hxx
+%%PYTHON_SITELIBDIR%%/salome/NETGENPlugin/__init__.py
+%%PYTHON_SITELIBDIR%%/salome/NETGENPlugin_Algorithm_idl.py
+%%PYTHON_SITELIBDIR%%/salome/NETGENPlugin__POA/__init__.py
+lib/salome/libNETGENEngine.la
+lib/salome/libNETGENEngine.so
+lib/salome/libNETGENEngine.so.0
+lib/salome/libNETGENPluginGUI.la
+lib/salome/libNETGENPluginGUI.so
+lib/salome/libNETGENPluginGUI.so.0
+lib/salome/libSalomeIDLNETGENPLUGIN.la
+lib/salome/libSalomeIDLNETGENPLUGIN.so
+lib/salome/libSalomeIDLNETGENPLUGIN.so.0
+%%DATADIR%%/resources/netgenplugin/NETGENPlugin.xml
+%%DATADIR%%/resources/netgenplugin/NETGENPlugin_images.qm
+%%DATADIR%%/resources/netgenplugin/NETGENPlugin_msg_en.qm
+%%DATADIR%%/resources/netgenplugin/SalomeApp.xml
+%%DATADIR%%/resources/netgenplugin/mesh_algo_netgen_2d.png
+%%DATADIR%%/resources/netgenplugin/mesh_algo_netgen_2d3d.png
+%%DATADIR%%/resources/netgenplugin/mesh_hypo_netgen.png
+%%DATADIR%%/resources/netgenplugin/mesh_hypo_netgen_2d.png
+%%DATADIR%%/resources/netgenplugin/mesh_tree_algo_netgen.png
+%%DATADIR%%/resources/netgenplugin/mesh_tree_algo_netgen_2d.png
+%%DATADIR%%/resources/netgenplugin/mesh_tree_algo_netgen_2d3d.png
+%%DATADIR%%/resources/netgenplugin/mesh_tree_hypo_netgen.png
+%%DATADIR%%/resources/netgenplugin/mesh_tree_hypo_netgen_2d.png
+@dirrm %%DATADIR%%/resources/netgenplugin
+@dirrm %%PYTHON_SITELIBDIR%%/salome/NETGENPlugin__POA
+@dirrm %%PYTHON_SITELIBDIR%%/salome/NETGENPlugin