Ticket #37230: Portfile

File Portfile, 1.2 KB (added by gjasny@…, 11 years ago)
Line 
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
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        gjasny Xsnmp 1.2.0 v
8name                xsnmp
9categories          net sysutils
10license             Apache-2
11platforms           darwin
12maintainers         googlemail.com:gjasny openmaintainer
13
14description         SNMP agent extension to query Mac OS and Apple values
15
16long_description    Xsnmp is an NetSNMP agent extension to query file system \
17                    information, RAID status and Xsan status remotely via SNMP.
18
19depends_lib         port:pcre \
20                    lib:libnetsnmp:net-snmp \
21                    lib:libnetsnmpagent:net-snmp
22
23checksums           rmd160 dca367e9b082322a670cb706075c06cec5251ff3 \
24                    sha256 de68ca105ea4b848a4c1dc1f9bd0ac0f26eb17b6ff2a851e2d52812958ca2055
25
26use_autoreconf  yes
27autoreconf.args -fvi
28
29startupitem.create  yes
30startupitem.executable  ${prefix}/sbin/xsnmp -f
31
32post-destroot {
33    xinstall -d -m 755 ${destroot}${prefix}/share/snmp/mibs
34    xinstall -W ${worksrcpath} -m 644 mib/XSNMP-MIB.txt ${destroot}${prefix}/share/snmp/mibs/
35}