[128986] trunk/dports/sysutils/xserve-raid-tools/Portfile
Revision: 128986 https://trac.macports.org/changeset/128986 Author: devans@macports.org Date: 2014-12-01 21:17:56 -0800 (Mon, 01 Dec 2014) Log Message: ----------- xserve-raid-tools: switch from perl5.12 to perl5.16, fix perl configuration, noarch, license, variant descriptions, increment revision. Modified Paths: -------------- trunk/dports/sysutils/xserve-raid-tools/Portfile Modified: trunk/dports/sysutils/xserve-raid-tools/Portfile =================================================================== --- trunk/dports/sysutils/xserve-raid-tools/Portfile 2014-12-02 03:23:16 UTC (rev 128985) +++ trunk/dports/sysutils/xserve-raid-tools/Portfile 2014-12-02 05:17:56 UTC (rev 128986) @@ -1,10 +1,12 @@ # $Id$ + PortSystem 1.0 name xserve-raid-tools version 1.2 -revision 1 +revision 2 categories sysutils net +license GPL-2 maintainers nomaintainer description The xserve-raid-tools package provides command line tools and \ @@ -18,14 +20,16 @@ master_sites ftp://noc.hep.wisc.edu/pub/src/xserve-raid-tools/ checksums md5 fe7d8400a6c85e73cfc5af1f6869a92d -depends_lib port:p5.12-xml-parser \ +depends_lib port:p5.16-xml-parser \ port:netcat -variant nagios_plugin { +supported_archs noarch + +variant nagios_plugin description {Install nagios plugin} { depends_build-append port:nagios-plugins -} +} -variant server { +variant server description {Create server startup item} { startupitem.create yes startupitem.name xserve-raid-checkd startupitem.start "${prefix}/bin/xserve-raid-checkd" @@ -39,10 +43,12 @@ ${worksrcpath}/Makefile.in } +configure.perl ${prefix}/bin/perl5.16 + build {} post-destroot { -if { [variant_isset nagios_plugin] } { +if { [variant_isset nagios_plugin] } { xinstall -m 755 -d ${destroot}${nagios_plugin_dir} xinstall -m 755 ${worksrcpath}/check_xserve_raid ${destroot}${nagios_plugin_dir} }
participants (1)
-
devans@macports.org