Ticket #1310: Portfile

File Portfile, 1.2 KB (added by sean@…, 20 years ago)

Fixed Portfile for net-snmp 5.0.9

Line 
1# $Id: Portfile,v 1.5 2003/09/26 09:16:34 fkr Exp $
2
3PortSystem 1.0
4name            net-snmp
5version         5.0.9
6categories      net
7maintainers     sean@sfarc.net
8description     An extendable SNMP implementation
9long_description        This is UCD SNMP, a derivative of CMU's SNMP package. Various tools relating to the \
10                        Simple Network Management Protocol including: an extensible agent, an SNMP library, \
11                        tools to request or set information from SNMP agents, tools to generate and handle \
12                        SNMP traps, a version of the unix 'netstat' command using SNMP, a Tk/perl MIB browser.
13homepage        http://net-snmp.sourceforge.net/
14platforms       darwin
15master_sites    sourceforge:${name}
16checksums       md5 cecd5ec74f5c546c1ea7ed7987b5932b
17depends_build   path:/usr/include/netinet/ip_var.h:netinet-headers
18patchfiles      patch-Makefile.in
19configure.args  --enable-shared --disable-static --with-defaults \
20                --with-sys-contact=nobody@no.where \
21                --with-mib-modules="host disman/event-mib smux" \
22                --exec-prefix=${destroot}/${prefix}
23
24variant server {
25depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
26}
27
28variant ipv6 {
29        configure.args-append --enable-ipv6
30}
31
32destroot.destdir        prefix=${destroot}/${prefix}