New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79559


Ignore:
Timestamp:
06/18/11 02:17:36 (4 years ago)
Author:
ryandesign@…
Message:

cfitsio: whitespace changes / reformatting; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/cfitsio/Portfile

    r79558 r79559  
     1# -*- 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 
    12# $Id$ 
    23 
    3 PortSystem        1.0 
     4PortSystem          1.0 
    45 
    5 name              cfitsio 
     6name                cfitsio 
    67version             3.280 
    7 categories        science 
    8 platforms         darwin 
    9 maintainers       nomaintainer 
     8categories          science 
     9platforms           darwin 
     10maintainers         nomaintainer 
    1011 
    11 description       C access to FITS data files with optional Fortran wrappers 
    12 long_description \ 
    13   CFITSIO is a library of C and Fortran subroutines for reading and writing \ 
    14   data files in FITS (Flexible Image Transport System) data format. CFITSIO \ 
    15   simplifies the task of writing software that deals with FITS files by \ 
    16   providing an easy to use set of high-level routines that insulate the \ 
    17   programmer from the internal complexities of the FITS file format. At the \ 
    18   same time, CFITSIO provides many advanced features that have made it the \ 
    19   most widely used FITS file programming interface in the astronomical \ 
    20   community. 
     12description         C access to FITS data files with optional Fortran wrappers 
    2113 
    22 homepage          http://heasarc.gsfc.nasa.gov/fitsio/ 
    23 master_sites      http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/ 
    24 distname          ${name}[strsed ${version} {g/\.//}] 
    25 worksrcdir        ${name} 
    26 #dist_subdir       ${name}/${version}_${revision} 
     14long_description    CFITSIO is a library of C and Fortran subroutines for \ 
     15                    reading and writing data files in FITS (Flexible Image \ 
     16                    Transport System) data format. CFITSIO simplifies the \ 
     17                    task of writing software that deals with FITS files by \ 
     18                    providing an easy to use set of high-level routines that \ 
     19                    insulate the programmer from the internal complexities \ 
     20                    of the FITS file format. At the same time, CFITSIO \ 
     21                    provides many advanced features that have made it the \ 
     22                    most widely used FITS file programming interface in the \ 
     23                    astronomical community. 
     24 
     25homepage            http://heasarc.gsfc.nasa.gov/fitsio/ 
     26master_sites        http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/ 
     27distname            ${name}[strsed ${version} {g/\.//}] 
     28worksrcdir          ${name} 
     29#dist_subdir         ${name}/${version}_${revision} 
    2730 
    2831checksums           sha1    1f86e23808c68dc5aa144bd2622de0189beadead \ 
    2932                    rmd160  66df553d36e1ea51261a9fa6407760014487c535 
    3033 
    31 patchfiles        patch-configure.diff 
     34patchfiles          patch-configure.diff 
    3235 
    3336# turn off FORTRAN compiler wrappers by removing FORTRAN from the path 
    34 configure.fc      ${prefix}/bin/no-possible-compiler 
    35 configure.cflags  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
     37configure.fc        ${prefix}/bin/no-possible-compiler 
     38configure.cflags    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
    3639configure.universal_args-delete --disable-dependency-tracking 
    3740 
    38 build.target      all shared 
     41build.target        all shared 
    3942 
    40 use_parallel_build no 
     43use_parallel_build  no 
    4144 
    4245post-patch { 
    43   reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/configure 
     46    reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/configure 
    4447} 
    4548 
    4649post-destroot { 
    47   system "ranlib ${destroot}${prefix}/lib/libcfitsio.a" 
    48   set docdir ${destroot}${prefix}/share/doc/${name}-${version} 
    49   xinstall -m 755 -d ${docdir} 
    50   eval xinstall -m 644 ${worksrcpath}/README [glob ${worksrcpath}/*.txt] \ 
    51     [glob ${worksrcpath}/*.ps] [glob ${worksrcpath}/*.doc] \ 
    52     [glob ${worksrcpath}/*.tex] ${docdir} 
     50    system "ranlib ${destroot}${prefix}/lib/libcfitsio.a" 
     51    set docdir ${destroot}${prefix}/share/doc/${name}-${version} 
     52    xinstall -m 755 -d ${docdir} 
     53    eval xinstall -m 644 \ 
     54        ${worksrcpath}/README \ 
     55        [glob ${worksrcpath}/*.txt] \ 
     56        [glob ${worksrcpath}/*.ps] \ 
     57        [glob ${worksrcpath}/*.doc] \ 
     58        [glob ${worksrcpath}/*.tex] \ 
     59        ${docdir} 
    5360} 
    5461 
    5562variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 g95 { 
    56   depends_lib-append  port:gcc42 
    57   configure.fc        ${prefix}/bin/gfortran-mp-4.2 
     63    depends_lib-append  port:gcc42 
     64    configure.fc        ${prefix}/bin/gfortran-mp-4.2 
    5865} 
    5966 
    6067variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 g95 { 
    61   depends_lib-append  port:gcc43 
    62   configure.fc        ${prefix}/bin/gfortran-mp-4.3 
     68    depends_lib-append  port:gcc43 
     69    configure.fc        ${prefix}/bin/gfortran-mp-4.3 
    6370} 
    6471 
    6572variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 g95 { 
    66   depends_lib-append  port:gcc44 
    67   configure.fc        ${prefix}/bin/gfortran-mp-4.4 
     73    depends_lib-append  port:gcc44 
     74    configure.fc        ${prefix}/bin/gfortran-mp-4.4 
    6875} 
    6976 
    7077variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 { 
    71   depends_lib-append  port:g95 
    72   configure.fc        ${prefix}/bin/g95 
     78    depends_lib-append  port:g95 
     79    configure.fc        ${prefix}/bin/g95 
    7380} 
    7481 
    75 livecheck.type    regex 
    76 livecheck.url     ${master_sites} 
    77 livecheck.regex   {cfitsio(\d+).tar.gz} 
    78 livecheck.version [strsed ${version} {g/\.//}] 
     82livecheck.type      regex 
     83livecheck.url       ${master_sites} 
     84livecheck.regex     {cfitsio(\d+).tar.gz} 
     85livecheck.version   [strsed ${version} {g/\.//}] 
Note: See TracChangeset for help on using the changeset viewer.