[58234] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 24 11:09:41 PDT 2009
Revision: 58234
http://trac.macports.org/changeset/58234
Author: ryandesign at macports.org
Date: 2009-09-24 11:09:37 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
cgnslib: new port, version 2.5.4; see #21480
Added Paths:
-----------
trunk/dports/science/cgnslib/
trunk/dports/science/cgnslib/Portfile
Added: trunk/dports/science/cgnslib/Portfile
===================================================================
--- trunk/dports/science/cgnslib/Portfile (rev 0)
+++ trunk/dports/science/cgnslib/Portfile 2009-09-24 18:09:37 UTC (rev 58234)
@@ -0,0 +1,54 @@
+# $Id$
+
+PortSystem 1.0
+
+name cgnslib
+version 2.5.4
+set branch [join [lrange [split ${version} .] 0 1] .]
+set minor [lindex [split ${version} .] end]
+categories science
+maintainers cerfacs.fr:dechaume
+license zlib
+
+description Computational fluid dynamics data container.
+long_description The CFD General Notation System (CGNS) provides a general, \
+portable, and extensible standard for the storage and retrieval of \
+computational fluid dynamics (CFD) analysis data. It consists of a collection \
+of conventions, and free and open software implementing those conventions. It \
+is self-descriptive, machine-independent, well-documented, and administered by \
+an international steering committee.
+
+homepage http://cgns.sourceforge.net/
+platforms darwin
+distname ${name}_${branch}-${minor}
+master_sites sourceforge:cgns
+
+checksums md5 42063efdf726c81300a51c3495d3224e \
+ sha1 d5f99f6df7409d923d8703fc3732b13bd1d89b20
+
+worksrcdir ${name}_${branch}
+
+configure.args-append --enable-lfs
+
+# cgns tools
+post-build {
+ system "cd ${worksrcpath}/tools && make"
+}
+
+destroot.destdir PREFIX=${destroot}${prefix}
+
+post-destroot {
+ xinstall -m 755 -W ${worksrcpath}/tools \
+ cgnsversion \
+ cgnspack \
+ cgnsdiff \
+ cgnscheck \
+ cgnslist \
+ ${destroot}${prefix}/bin
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ LICENSE \
+ README \
+ ${docdir}
+}
Property changes on: trunk/dports/science/cgnslib/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/54f445b7/attachment.html>
More information about the macports-changes
mailing list