Ignore:
Timestamp:
Dec 12, 2015, 4:04:03 PM (4 years ago)
Author:
mojca@…
Message:

xserve-raid-tools: whitespace, first line, checksums only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/xserve-raid-tools/Portfile

    r128993 r143433  
     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                    xserve-raid-tools
    6 version                 1.2
    7 revision                3
    8 categories              sysutils net
    9 license                 GPL-2
    10 maintainers             nomaintainer
     6name                xserve-raid-tools
     7version             1.2
     8revision            3
     9categories          sysutils net
     10license             GPL-2
     11maintainers         nomaintainer
    1112
    12 description             The xserve-raid-tools package provides command line tools and \
    13                         a daemon for monitoring Apple Xserve RAIDs.  It also contains a \
    14                         Nagios plugin to monitor Apple Xserve RAIDs.
     13description         The xserve-raid-tools package provides command line tools and \
     14                    a daemon for monitoring Apple Xserve RAIDs.  It also contains a \
     15                    Nagios plugin to monitor Apple Xserve RAIDs.
    1516
    16 long_description        ${description}
     17long_description    ${description}
    1718
    18 homepage                http://noc.hep.wisc.edu/xserve-raid-tools.txt
    19 platforms               darwin
    20 master_sites            ftp://noc.hep.wisc.edu/pub/src/xserve-raid-tools/
    21 checksums               md5 fe7d8400a6c85e73cfc5af1f6869a92d
     19homepage            http://noc.hep.wisc.edu/xserve-raid-tools.txt
     20platforms           darwin
     21master_sites        ftp://noc.hep.wisc.edu/pub/src/xserve-raid-tools/
    2222
    23 depends_lib             port:p5.16-xml-parser \
    24                         port:netcat
     23checksums           rmd160  52f6973a8eb86a767e3c11619ce0bbdd53e035e0 \
     24                    sha256  fb13b345ef253ad6d2de9dcef8572818515ecc7a4bc4552439cfe7e42362b100
    2525
    26 supported_archs         noarch
     26depends_lib         port:p5.16-xml-parser \
     27                    port:netcat
     28
     29supported_archs     noarch
    2730
    2831variant nagios_plugin description {Install nagios plugin} {
    29         depends_build-append    port:nagios-plugins
     32    depends_build-append    port:nagios-plugins
    3033}
    3134
    32 startupitem.create      yes
    33 startupitem.name        xserve-raid-checkd
    34 startupitem.start       "${prefix}/bin/xserve-raid-checkd"
    35 startupitem.stop        "exec ${prefix}/bin/xserve-raid-checkd -k kill"
     35startupitem.create  yes
     36startupitem.name    xserve-raid-checkd
     37startupitem.start   "${prefix}/bin/xserve-raid-checkd"
     38startupitem.stop    "exec ${prefix}/bin/xserve-raid-checkd -k kill"
    3639
    3740set nagios_plugin_dir ${prefix}/libexec/nagios
    3841
    3942post-patch {
    40         reinplace "s|\$(PREFIX)|\$(DESTDIR)\$(PREFIX)|g" \
    41                 ${worksrcpath}/Makefile.in
     43    reinplace "s|\$(PREFIX)|\$(DESTDIR)\$(PREFIX)|g" ${worksrcpath}/Makefile.in
    4244}
    4345
    44 configure.perl ${prefix}/bin/perl5.16
     46configure.perl      ${prefix}/bin/perl5.16
    4547
    4648build {}
     
    4850post-destroot {
    4951if { [variant_isset nagios_plugin] } {
    50         xinstall -m 755 -d ${destroot}${nagios_plugin_dir}
    51         xinstall -m 755 ${worksrcpath}/check_xserve_raid ${destroot}${nagios_plugin_dir}
     52    xinstall -m 755 -d ${destroot}${nagios_plugin_dir}
     53    xinstall -m 755 ${worksrcpath}/check_xserve_raid ${destroot}${nagios_plugin_dir}
    5254}
    53         xinstall -m 755 -d ${destroot}${prefix}/share/doc/xserve-raid-tools
    54         foreach docfile {CHANGES LICENSE NOTES README TODO} {
    55                 xinstall ${worksrcpath}/${docfile} ${destroot}${prefix}/share/doc/xserve-raid-tools/
    56         }
     55    xinstall -m 755 -d ${destroot}${prefix}/share/doc/xserve-raid-tools
     56    foreach docfile {CHANGES LICENSE NOTES README TODO} {
     57        xinstall ${worksrcpath}/${docfile} ${destroot}${prefix}/share/doc/xserve-raid-tools/
     58    }
    5759}
    5860
Note: See TracChangeset for help on using the changeset viewer.