Changeset 9271 for trunk/dports
- Timestamp:
- Nov 13, 2004, 1:31:47 AM (19 years ago)
- 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 mwwExp $1 # $Id: Portfile,v 1.3 2004/11/13 01:31:47 jmpp Exp $ 2 2 3 3 PortSystem 1.0 4 4 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. 5 name netwib 6 version 5.26.0 7 revision 1 8 set NetWVers 526 9 categories net 10 platforms darwin 11 maintainers jmpp@opendarwin.org 12 13 description A network library oriented towards developers. 14 long_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. 17 20 18 21 homepage http://www.laurentconstantin.com/ … … 33 36 cd ${worksrcpath} 34 37 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 35 40 reinplace "s|/man|/share/man|g" config.dat 36 41 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 39 43 } 40 44 41 configure.pre_args 45 configure.pre_args {} 42 46 configure.cmd ./genemake 43 47 44 48 post-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 47 51 xinstall -m 644 -v -W ${worksrcpath}/../doc/ changelog.txt credits.txt \ 48 52 guidestyle.txt todo.txt ${destroot}${prefix}/share/doc/${name}/
Note: See TracChangeset
for help on using the changeset viewer.