Changeset 5116


Ignore:
Timestamp:
Jan 31, 2004, 8:43:26 PM (20 years ago)
Author:
rshaw
Message:

Corrected man page install location to conform to porthier.7.
Added proper persistent file directory location and added creation of it.
Fixed Portfile to be consistantly formatted per cvs-darwinports@ discussions.
Bumped revision.

Submitted by: rshaw
Approved by: rshaw (emailed maintainer, no response in two days)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/net-snmp/Portfile

    r4670 r5116  
    1 # $Id: Portfile,v 1.7 2004/01/14 11:45:55 jkh Exp $
     1# $Id: Portfile,v 1.8 2004/01/31 20:43:26 rshaw Exp $
     2PortSystem 1.0
    23
    3 PortSystem 1.0
    4 name            net-snmp
    5 version         5.0.9
    6 categories      net
    7 maintainers     sean@sfarc.net
    8 description     An extendable SNMP implementation
    9 long_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.
    13 homepage        http://net-snmp.sourceforge.net/
    14 platforms       darwin
     4name                    net-snmp
     5version                 5.0.9
     6revision                1
     7categories              net
     8maintainers             sean@sfarc.net
     9description             An extendable SNMP implementation
     10long_description        This is UCD SNMP, a derivative of CMU's SNMP \
     11                                        package. Various tools relating to the Simple \
     12                                        Network Management Protocol including: an extensible \
     13                                        agent, an SNMP library, tools to request or set \
     14                                        information from SNMP agents, tools to generate and \
     15                                        handle SNMP traps, a version of the unix 'netstat' \
     16                                        command using SNMP, a Tk/perl MIB browser.
     17homepage                http://net-snmp.sourceforge.net/
     18platforms               darwin
    1519master_sites    sourceforge
    16 checksums       md5 cecd5ec74f5c546c1ea7ed7987b5932b
     20checksums               md5 cecd5ec74f5c546c1ea7ed7987b5932b
    1721depends_build   path:/usr/include/netinet/ip_var.h:netinet-headers
    18 patchfiles      patch-Makefile.in
     22patchfiles              patch-Makefile.in
    1923configure.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}
     24                                --with-sys-contact=nobody@no.where \
     25                                --with-mib-modules="host disman/event-mib smux" \
     26                                --with-persistent-directory='\${prefix}/var/net-snmp' \
     27                                --mandir='\${prefix}/share/man'
    2328
    24 variant server {
    25 depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    26 }
     29variant server  { depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup }
    2730
    28 variant ipv6 {
    29         configure.args-append --enable-ipv6
    30 }
     31variant ipv6    { configure.args-append --enable-ipv6 }
    3132
    32 destroot.destdir        prefix=${destroot}/${prefix}
     33destroot.destdir        prefix=${destroot}${prefix} \
     34                                        exec_prefix=${destroot}${prefix}
     35post-destroot   { xinstall -d -m 0755 ${destroot}${prefix}/var/net-snmp
     36                                  system "touch ${destroot}${prefix}/var/net-snmp/.turd" }
     37
Note: See TracChangeset for help on using the changeset viewer.