source: trunk/dports/net/apan/Portfile

Last change on this file was 124619, checked in by jmr@…, 3 years ago

apan: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1018 bytes
Line 
1# $Id: Portfile 124619 2014-08-26 23:01:54Z ryandesign@macports.org $
2
3PortSystem        1.0
4
5name              apan
6version           0.3.0-sql
7categories        net
8license           GPL-2
9maintainers       nomaintainer
10description       apan plugin for nagios
11long_description  use of rrdtool in nagios
12homepage          http://www.nagios.org
13master_sites      sourceforge:project/apan/apan/${version}
14platforms         darwin openbsd
15supported_archs   noarch
16checksums         md5 da41d67b41f2d807cb3019753e70336e
17depends_lib       port:nagios
18
19use_configure     no
20build { }
21worksrcdir        apan-sql
22
23destroot {
24        file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan
25        file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql
26        file mkdir ${destroot}${prefix}/libexec/nagios
27system "echo ${worksrcpath}"
28        system "install -bC ${worksrcpath}/libexec/* ${destroot}${prefix}/libexec/nagios"
29        system "install -bC ${worksrcpath}/*.{cgi,sh} ${destroot}${prefix}/var/www/cgi-bin/apan"
30        system "install -bC ${worksrcpath}/plugs-sql/* ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql"
31}
Note: See TracBrowser for help on using the repository browser.