[129129] trunk/dports/science/cgnslib/Portfile

petr at macports.org petr at macports.org
Sun Dec 7 08:44:35 PST 2014


Revision: 129129
          https://trac.macports.org/changeset/129129
Author:   petr at macports.org
Date:     2014-12-07 08:44:35 -0800 (Sun, 07 Dec 2014)
Log Message:
-----------
cgnslib: modeline, reformating

Modified Paths:
--------------
    trunk/dports/science/cgnslib/Portfile

Modified: trunk/dports/science/cgnslib/Portfile
===================================================================
--- trunk/dports/science/cgnslib/Portfile	2014-12-07 16:43:14 UTC (rev 129128)
+++ trunk/dports/science/cgnslib/Portfile	2014-12-07 16:44:35 UTC (rev 129129)
@@ -1,33 +1,35 @@
+# -*- 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
+PortSystem          1.0
 
 name                cgnslib
 version             2.5.5
 set branch          [join [lrange [split ${version} .] 0 1] .]
 set minor           [lindex [split ${version} .] end]
+
 categories          science
+platforms           darwin
 maintainers         nomaintainer
 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.
+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
+master_sites        sourceforge:cgns
 distname            ${name}_${branch}-${minor}
-master_sites        sourceforge:cgns
+worksrcdir          ${name}_${branch}
 
 checksums           sha1    38f934cae9d0cac1137e51640116f9a750c8d420 \
                     rmd160  1c7452605afb664f4661cd057ccbb4e0c9230ed7
 
-worksrcdir          ${name}_${branch}
-
 configure.args-append --enable-lfs
 
 # cgns tools
@@ -54,8 +56,9 @@
         ${docdir}
 }
 
+# cgnslib 2.5.4_0 installed items directly in ${prefix}; remove them if found
+# Note: check if this is the appropriate solution
 post-install {
-    # cgnslib 2.5.4_0 installed items directly in ${prefix}; remove them if found
     foreach file {include/cgnslib.h include/cgnslib_f.h include/cgnswin_f.h lib/libcgns.a} {
         set filepath ${prefix}/${file}
         if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141207/65dbde79/attachment.html>


More information about the macports-changes mailing list