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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup gjasny Xsnmp 1.2.0 v |
---|
8 | name xsnmp |
---|
9 | categories net sysutils |
---|
10 | license Apache-2 |
---|
11 | platforms darwin |
---|
12 | maintainers googlemail.com:gjasny openmaintainer |
---|
13 | |
---|
14 | description SNMP agent extension to query Mac OS and Apple values |
---|
15 | |
---|
16 | long_description Xsnmp is an NetSNMP agent extension to query file system \ |
---|
17 | information, RAID status and Xsan status remotely via SNMP. |
---|
18 | |
---|
19 | depends_lib port:pcre \ |
---|
20 | lib:libnetsnmp:net-snmp \ |
---|
21 | lib:libnetsnmpagent:net-snmp |
---|
22 | |
---|
23 | checksums rmd160 dca367e9b082322a670cb706075c06cec5251ff3 \ |
---|
24 | sha256 de68ca105ea4b848a4c1dc1f9bd0ac0f26eb17b6ff2a851e2d52812958ca2055 |
---|
25 | |
---|
26 | use_autoreconf yes |
---|
27 | autoreconf.args -fvi |
---|
28 | |
---|
29 | startupitem.create yes |
---|
30 | startupitem.executable ${prefix}/sbin/xsnmp -f |
---|
31 | |
---|
32 | post-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 | } |
---|