# $Id: Portfile 124619 2014-08-26 23:01:54Z jmr@macports.org $ PortSystem 1.0 name apan version 0.3.0-sql categories net license GPL-2 maintainers nomaintainer description apan plugin for nagios long_description use of rrdtool in nagios homepage http://www.nagios.org master_sites sourceforge:project/apan/apan/${version} platforms darwin openbsd supported_archs noarch checksums md5 da41d67b41f2d807cb3019753e70336e depends_lib port:nagios use_configure no build { } worksrcdir apan-sql destroot { file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql file mkdir ${destroot}${prefix}/libexec/nagios system "echo ${worksrcpath}" system "install -bC ${worksrcpath}/libexec/* ${destroot}${prefix}/libexec/nagios" system "install -bC ${worksrcpath}/*.{cgi,sh} ${destroot}${prefix}/var/www/cgi-bin/apan" system "install -bC ${worksrcpath}/plugs-sql/* ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql" }