Changeset 9271 for trunk/dports


Ignore:
Timestamp:
Nov 13, 2004, 1:31:47 AM (16 years ago)
Author:
jmpp
Message:

Bug:
Submitted by: jmpp@
Reviewed by: jmpp@
Approved by: jmpp@
Obtained from:

Change maintainer address to my brand new @opendarwin.org one, woot!
Add NetWVers variable of my own to help keep the three ports in the NetW bundle in synch
Rework pre-configure reinplaces (thanks Laurent for the ideas and Jordan for the proper syntax!)
Move html documentation from share/doc/${name} to share/doc/${name}/html
General re-tabbing
Uprev the Portfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/netwib/Portfile

    r9014 r9271  
    1 # $Id: Portfile,v 1.2 2004/10/28 22:05:32 mww Exp $
     1# $Id: Portfile,v 1.3 2004/11/13 01:31:47 jmpp Exp $
    22
    33PortSystem 1.0
    44
    5 name                    netwib
    6 version                 5.26.0
    7 categories              net
    8 platforms               darwin
    9 maintainers             jmpalacios@ml1.net
    10 description             A network library oriented towards developers.
    11 long_description                Netwib is a network library providing network features \
    12                                 such as address conversion, udp/tcp clients/servers, packet \
    13                                 encoding/decoding/displaying, spoofing, sniffing, etc., and \
    14                                 general features such as data conversion, linked list and \
    15                                 hash, portable threads, etc. Using all these functions, a \
    16                                 network program can be quickly created.
     5name       netwib
     6version    5.26.0
     7revision   1
     8set        NetWVers 526
     9categories          net
     10platforms           darwin
     11maintainers         jmpp@opendarwin.org
     12
     13description         A network library oriented towards developers.
     14long_description      Netwib is a network library providing network features \
     15                      such as address conversion, udp/tcp clients/servers, packet \
     16                      encoding/decoding/displaying, spoofing, sniffing, etc., and \
     17                      general features such as data conversion, linked list and \
     18                      hash, portable threads, etc. Using all these functions, a \
     19                      network program can be quickly created.
    1720
    1821homepage        http://www.laurentconstantin.com/
     
    3336                cd ${worksrcpath}
    3437                reinplace "s|/usr/local|${prefix}|g" config.dat
     38                reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
     39                reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
    3540                reinplace "s|/man|/share/man|g" config.dat
    3641                reinplace "s|/share/man3|/man3|g" config.dat
    37                 reinplace "s|/usr/local|${prefix}|g" genemake
    38                 reinplace "s|/usr/include/pcap/|${prefix}/include/pcap/|g" genemake
     42                reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" genemake
    3943}
    4044
    41 configure.pre_args
     45configure.pre_args      {}
    4246configure.cmd           ./genemake
    4347
    4448post-destroot   {
    45                 xinstall -d -m 755 ${destroot}${prefix}/share/doc/
    46                 file copy ${workpath}/${distname}-doc_html ${destroot}${prefix}/share/doc/${name}
     49                xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     50                file copy ${workpath}/${distname}-doc_html ${destroot}${prefix}/share/doc/${name}/html
    4751                xinstall -m 644 -v -W ${worksrcpath}/../doc/ changelog.txt credits.txt \
    4852                guidestyle.txt todo.txt ${destroot}${prefix}/share/doc/${name}/
Note: See TracChangeset for help on using the changeset viewer.