[149189] trunk/dports/science

mcalhoun at macports.org mcalhoun at macports.org
Sat Jun 4 16:12:26 PDT 2016


Revision: 149189
          https://trac.macports.org/changeset/149189
Author:   mcalhoun at macports.org
Date:     2016-06-04 16:12:26 -0700 (Sat, 04 Jun 2016)
Log Message:
-----------
new port: ccfits (C++ interface for cfitsio)

Added Paths:
-----------
    trunk/dports/science/ccfits/
    trunk/dports/science/ccfits/Portfile

Added: trunk/dports/science/ccfits/Portfile
===================================================================
--- trunk/dports/science/ccfits/Portfile	                        (rev 0)
+++ trunk/dports/science/ccfits/Portfile	2016-06-04 23:12:26 UTC (rev 149189)
@@ -0,0 +1,60 @@
+# -*- 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
+
+name                 ccfits
+version              2.5
+categories           science
+license              BSD
+platforms            darwin
+maintainers          mcalhoun openmaintainer
+
+description          C++ interface for cfitsio
+
+long_description     CCfits is an object oriented interface to the cfitsio \
+                     library. It is designed to make the capabilities of \
+                     cfitsio available to programmers working in C++.
+
+homepage             http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
+master_sites         http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
+distname             CCfits-${version}
+worksrcdir           CCfits
+
+checksums            rmd160  4af925c8b35130061f2b501761454d7d1931ccc7 \
+                     sha256  938ecd25239e65f519b8d2b50702416edc723de5f0a5387cceea8c4004a44740
+
+depends_build-append port:cctools
+depends_lib-append   port:cfitsio
+
+configure.args-append \
+    --with-cfitsio=${prefix}
+
+# avoid depends_build-append port:coreutils
+configure.env-append MKDIR_P="/bin/mkdir -p"
+
+# avoid depends_build-append port:gmake
+configure.env-append GMAKE="/usr/bin/make"
+
+post-configure {
+    # when linking, libtool does not respect -arch
+    delete ${worksrcpath}/libtool
+    xinstall -m 0755 ${prefix}/bin/glibtool ${worksrcpath}/libtool
+}
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0755 -d ${docdir}
+    xinstall -m 0755 -d ${docdir}/html
+    xinstall -m 0755 -d ${docdir}/pdf
+
+    xinstall -m 0644 ${worksrcpath}/License.txt           ${docdir}
+
+    xinstall -m 0644 {*}[glob ${worksrcpath}/html/*.html] ${docdir}/html
+    xinstall -m 0644 {*}[glob ${worksrcpath}/html/*.css]  ${docdir}/html
+    xinstall -m 0644 {*}[glob ${worksrcpath}/html/*.png]  ${docdir}/html
+
+    xinstall -m 0644 {*}[glob ${worksrcpath}/*.pdf]       ${docdir}/pdf
+}
+
+livecheck.regex     {Version (\d+(?:\.\d+)*)}


Property changes on: trunk/dports/science/ccfits/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160604/0753bb53/attachment-0001.html>


More information about the macports-changes mailing list