RCS file: /Volumes/src/cvs/od/projects/darwinports/dports/net/net-snmp/Portfile,v
retrieving revision 1.9
diff -u -r1.9 Portfile
|
|
|
2 | 2 | PortSystem 1.0 |
3 | 3 | |
4 | 4 | name net-snmp |
5 | | version 5.0.9 |
6 | | revision 2 |
| 5 | version 5.1.2.pre3 |
| 6 | revision 0 |
7 | 7 | categories net |
8 | 8 | maintainers sean@sfarc.net |
9 | 9 | description An extendable SNMP implementation |
… |
… |
|
17 | 17 | homepage http://net-snmp.sourceforge.net/ |
18 | 18 | platforms darwin |
19 | 19 | master_sites sourceforge |
20 | | checksums md5 cecd5ec74f5c546c1ea7ed7987b5932b |
| 20 | checksums md5 2eff0abbe20248ebffc802a16dd34eec |
21 | 21 | depends_build path:/usr/include/netinet/ip_var.h:netinet-headers |
22 | | patchfiles patch-Makefile.in |
| 22 | |
| 23 | patchfiles patch-Makefile.in \ |
| 24 | patch-agent-mibgroup-mibII-tcpTable.c \ |
| 25 | patch-agent-mibgroup-mibII-udpTable.c |
| 26 | |
23 | 27 | configure.args --enable-shared --disable-static --with-defaults \ |
24 | 28 | --with-sys-contact=nobody@no.where \ |
25 | 29 | --with-mib-modules="host disman/event-mib smux" \ |
… |
… |
|
30 | 34 | default_variants +ssl +zlib |
31 | 35 | |
32 | 36 | variant ssl { |
33 | | depends_lib-append lib:libssl:openssl |
| 37 | depends_lib-append lib:XXX:openssl |
34 | 38 | configure.args-delete --without-openssl |
35 | | configure.args-append --with-openssl |
| 39 | configure.args-append --with-openssl=${prefix} |
36 | 40 | } |
37 | 41 | |
38 | 42 | variant zlib { |
39 | | depends_lib-append lib:libz:zlib |
| 43 | depends_lib-append lib:XXX:zlib |
40 | 44 | configure.args-delete --without-zlib |
41 | | configure.args-append --with-zlib |
| 45 | configure.args-append --with-zlib=${prefix} |
42 | 46 | } |
43 | 47 | |
44 | 48 | variant server { depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup } |
… |
… |
|
47 | 51 | |
48 | 52 | destroot.destdir prefix=${destroot}${prefix} \ |
49 | 53 | exec_prefix=${destroot}${prefix} |
| 54 | |
50 | 55 | post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/var/net-snmp |
51 | 56 | system "touch ${destroot}${prefix}/var/net-snmp/.turd" } |
52 | 57 | |