[143433] trunk/dports/sysutils/xserve-raid-tools/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 10:55:21 PST 2015
Revision: 143433
https://trac.macports.org/changeset/143433
Author: mojca at macports.org
Date: 2015-12-12 08:04:03 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
xserve-raid-tools: whitespace, first line, checksums only
Modified Paths:
--------------
trunk/dports/sysutils/xserve-raid-tools/Portfile
Modified: trunk/dports/sysutils/xserve-raid-tools/Portfile
===================================================================
--- trunk/dports/sysutils/xserve-raid-tools/Portfile 2015-12-12 15:16:42 UTC (rev 143432)
+++ trunk/dports/sysutils/xserve-raid-tools/Portfile 2015-12-12 16:04:03 UTC (rev 143433)
@@ -1,59 +1,61 @@
+# -*- 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 xserve-raid-tools
-version 1.2
-revision 3
-categories sysutils net
-license GPL-2
-maintainers nomaintainer
+name xserve-raid-tools
+version 1.2
+revision 3
+categories sysutils net
+license GPL-2
+maintainers nomaintainer
-description The xserve-raid-tools package provides command line tools and \
- a daemon for monitoring Apple Xserve RAIDs. It also contains a \
- Nagios plugin to monitor Apple Xserve RAIDs.
+description The xserve-raid-tools package provides command line tools and \
+ a daemon for monitoring Apple Xserve RAIDs. It also contains a \
+ Nagios plugin to monitor Apple Xserve RAIDs.
-long_description ${description}
+long_description ${description}
-homepage http://noc.hep.wisc.edu/xserve-raid-tools.txt
-platforms darwin
-master_sites ftp://noc.hep.wisc.edu/pub/src/xserve-raid-tools/
-checksums md5 fe7d8400a6c85e73cfc5af1f6869a92d
+homepage http://noc.hep.wisc.edu/xserve-raid-tools.txt
+platforms darwin
+master_sites ftp://noc.hep.wisc.edu/pub/src/xserve-raid-tools/
-depends_lib port:p5.16-xml-parser \
- port:netcat
+checksums rmd160 52f6973a8eb86a767e3c11619ce0bbdd53e035e0 \
+ sha256 fb13b345ef253ad6d2de9dcef8572818515ecc7a4bc4552439cfe7e42362b100
-supported_archs noarch
+depends_lib port:p5.16-xml-parser \
+ port:netcat
+supported_archs noarch
+
variant nagios_plugin description {Install nagios plugin} {
- depends_build-append port:nagios-plugins
+ depends_build-append port:nagios-plugins
}
-startupitem.create yes
-startupitem.name xserve-raid-checkd
-startupitem.start "${prefix}/bin/xserve-raid-checkd"
-startupitem.stop "exec ${prefix}/bin/xserve-raid-checkd -k kill"
+startupitem.create yes
+startupitem.name xserve-raid-checkd
+startupitem.start "${prefix}/bin/xserve-raid-checkd"
+startupitem.stop "exec ${prefix}/bin/xserve-raid-checkd -k kill"
set nagios_plugin_dir ${prefix}/libexec/nagios
post-patch {
- reinplace "s|\$(PREFIX)|\$(DESTDIR)\$(PREFIX)|g" \
- ${worksrcpath}/Makefile.in
+ reinplace "s|\$(PREFIX)|\$(DESTDIR)\$(PREFIX)|g" ${worksrcpath}/Makefile.in
}
-configure.perl ${prefix}/bin/perl5.16
+configure.perl ${prefix}/bin/perl5.16
build {}
post-destroot {
if { [variant_isset nagios_plugin] } {
- xinstall -m 755 -d ${destroot}${nagios_plugin_dir}
- xinstall -m 755 ${worksrcpath}/check_xserve_raid ${destroot}${nagios_plugin_dir}
+ xinstall -m 755 -d ${destroot}${nagios_plugin_dir}
+ xinstall -m 755 ${worksrcpath}/check_xserve_raid ${destroot}${nagios_plugin_dir}
}
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/xserve-raid-tools
- foreach docfile {CHANGES LICENSE NOTES README TODO} {
- xinstall ${worksrcpath}/${docfile} ${destroot}${prefix}/share/doc/xserve-raid-tools/
- }
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/xserve-raid-tools
+ foreach docfile {CHANGES LICENSE NOTES README TODO} {
+ xinstall ${worksrcpath}/${docfile} ${destroot}${prefix}/share/doc/xserve-raid-tools/
+ }
}
notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/1a75f88c/attachment.html>
More information about the macports-changes
mailing list