source: trunk/dports/net/libpnet6/Portfile

Last change on this file was 111546, checked in by jmr@…, 4 years ago

libpnet6: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 111546 2013-09-25 16:50:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    libpnet6
6version                 0.1.5
7categories              net devel
8license                 BSD-old
9platforms               darwin freebsd
10maintainers             nomaintainer
11description             library for writing cross-platform network applications
12long_description        libpnet6 is a powerful library for writing cross-platform \
13                                network applications. libpnet6 facilitates the writing of \
14                                professional quality client/server applications in the TCP, \
15                                UDP, and UNIX domain protocols, offering full support for the \
16                                IPv4 and IPv6 Internet protocols. In addition, advanced \
17                                networking functionality such as network inteface access and \
18                                configuration, and the reading and writing of raw packets on \
19                                the datalink are also supported.
20
21homepage                http://pnet6.sourceforge.net/
22master_sites    sourceforge:pnet6
23checksums               md5 74ad3cf90eecee0e404509ca259f0e14
24
25use_configure   no
26
27build.target    unix
28
29platform darwin {
30        build.target    macos
31        destroot        {
32                xinstall -m 644 ${worksrcpath}/lib/libpnet6.a ${destroot}${prefix}/lib
33                xinstall -m 644 -W ${worksrcpath}/src pnet6.h pnet6sys.h pnet6pkt.h \
34                        pnet6tlp.h ${destroot}${prefix}/include
35                xinstall -m 644 -W ${worksrcpath}/doc/man pnet6-addr.3 pnet6-api.3 \
36                        pnet6-aux.3 pnet6-if.3 pnet6-ip.3 pnet6-log.3 pnet6-pkt.3 \
37                        pnet6-raw.3 pnet6-socket.3 pnet6-tcp.3 pnet6-threads.3 pnet6-udp.3 \
38                        pnet6.3 ${destroot}${prefix}/share/man/man3
39        }
40}
41
42platform freebsd        {
43        build.target    bsd
44        destroot.destdir        INST_ROOT=${destroot}${prefix} \
45                                                MANDIR=${destroot}${prefix}/share/man/man3
46        destroot.target         install-bsd
47}
Note: See TracBrowser for help on using the repository browser.