[120743] trunk/dports/math

sean at macports.org sean at macports.org
Thu Jun 5 20:54:54 PDT 2014


Revision: 120743
          https://trac.macports.org/changeset/120743
Author:   sean at macports.org
Date:     2014-06-05 20:54:53 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
netgen: add new mesh generator port

Added Paths:
-----------
    trunk/dports/math/netgen/
    trunk/dports/math/netgen/Portfile
    trunk/dports/math/netgen/files/
    trunk/dports/math/netgen/files/patch-configure.ac.diff
    trunk/dports/math/netgen/files/patch-ng-ng.tcl.diff

Added: trunk/dports/math/netgen/Portfile
===================================================================
--- trunk/dports/math/netgen/Portfile	                        (rev 0)
+++ trunk/dports/math/netgen/Portfile	2014-06-06 03:54:53 UTC (rev 120743)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           compilers 1.0
+
+compilers.setup
+
+name                netgen
+version             5.1
+revision            1
+platforms           darwin
+categories          math
+license             LGPL-2
+maintainers         nomaintainer
+description         NETGEN is an automatic 3d tetrahedral mesh generator
+long_description    ${description}. It accepts input from constructive \
+                    solid geometry (CSG) or boundary representation (BRep) \
+                    from STL file format. The connection to a geometry kernel \
+                    allows the handling of IGES and STEP files. NETGEN contains \
+                    modules for mesh optimization and hierarchical mesh \
+                    refinement. Netgen is open source based on the LGPL license. \
+                    It is available for Unix/Linux and Windows.
+
+homepage            http://www.hpfem.jku.at/netgen/
+master_sites        sourceforge:netgen-mesher
+
+checksums           rmd160  b0096932e4c79c3f4c1443a55a46d1820a7f7f6b \
+                    sha256  6b212be7e8e79bcc7bf7f931caf44301f6ac6b362c4ae81e13d31533f905eec9
+
+depends_lib         port:tcl port:tk port:tix port:Togl
+
+patchfiles          patch-ng-ng.tcl.diff
+
+configure.args      --mandir=${prefix}/share/man \
+                    --with-tcl=${prefix}/lib \
+                    --with-tk=${prefix}/lib \
+                    --disable-shared
+
+configure.ldflags-append \
+                    -framework Accelerate \
+                    -framework vecLib
+
+test.run            yes
+test.target         test

Added: trunk/dports/math/netgen/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/math/netgen/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/math/netgen/files/patch-configure.ac.diff	2014-06-06 03:54:53 UTC (rev 120743)
@@ -0,0 +1,8 @@
+--- configure.ac.orig	2013-11-18 00:34:59.000000000 +0100
++++ configure.ac	2013-11-18 00:35:37.000000000 +0100
+@@ -1,5 +1,5 @@
+ AC_INIT([netgen],[5.1],[],[])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall -Wno-extra-portability -Werror foreign])
+ 
+ AC_CONFIG_MACRO_DIR([m4])

Added: trunk/dports/math/netgen/files/patch-ng-ng.tcl.diff
===================================================================
--- trunk/dports/math/netgen/files/patch-ng-ng.tcl.diff	                        (rev 0)
+++ trunk/dports/math/netgen/files/patch-ng-ng.tcl.diff	2014-06-06 03:54:53 UTC (rev 120743)
@@ -0,0 +1,11 @@
+--- ng/ng.tcl.orig	2013-11-16 17:16:21.000000000 +0100
++++ ng/ng.tcl	2013-11-18 00:42:35.000000000 +0100
+@@ -114,7 +114,7 @@
+ Ng_SetMeshingParameters
+ Ng_SetVisParameters
+ Ng_SetDebugParameters
+-Ng_STLDoctor
++#Ng_STLDoctor
+ Ng_GeometryOptions set
+ 
+ if { $hasocc == "yes" } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/dd076c92/attachment.html>


More information about the macports-changes mailing list