source: trunk/dports/devel/netxx/Portfile @ 56061

Last change on this file since 56061 was 56061, checked in by ryandesign@…, 10 years ago

Add missing required variable "platforms"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
RevLine 
[20285]1# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $
[12791]2
3PortSystem           1.0
4name                 netxx
5version              0.4.2
6categories           devel
[56061]7platforms            darwin
[50980]8maintainers          stechert openmaintainer
[12791]9description          A C++ network programming library designed to take the pain out of programming network communications applications.
10long_description     Netxx is a C++ network programming library. It is designed to take \
11                     the pain out of programming network communications applications.  It \
12                     does this by providing an easy to use and cross-platform interface. \
13                     As a side effect, you get the safety of automatic resource management \
14                     and smaller, simpler code.
15homepage             http://pmade.org/software/netxx/
[13727]16master_sites         http://pmade.org/distfiles/oss-releases/
[12791]17checksums            netxx-0.4.2.tar.gz md5 684b9841beda776551d2ab720faeb9b1
18
19set bjamasjam        ${prefix}/lib/bjam/bin/jam
20depends_build        path:${bjamasjam}:boost-jam
21
22patch.pre_args       -p2
23patchfiles           patch-osutil.h.diff patch-netbuf.h.diff
24configure.env        NETXX_JAM=${bjamasjam}
25build.cmd            ${bjamasjam}
26build.target         --release
27
28destroot {
29        file mkdir "${destroot}${prefix}/lib"
30        file copy "${worksrcpath}/src/release/libnetxx.a" "${destroot}${prefix}/lib/libnetxx.a"
31
32        file mkdir "${destroot}${prefix}/include/netxx"
33        file copy "${worksrcpath}/include/netxx/netxx.h" "${destroot}${prefix}/include/netxx/"
34        file copy "${worksrcpath}/include/netxx/timeout.h" "${destroot}${prefix}/include/netxx/"
35        file copy "${worksrcpath}/include/netxx/streambase.h" "${destroot}${prefix}/include/netxx/"
36        file copy "${worksrcpath}/include/netxx/datagramserver.h" "${destroot}${prefix}/include/netxx/"
37        file copy "${worksrcpath}/include/netxx/netbuf.h" "${destroot}${prefix}/include/netxx/"
38        file copy "${worksrcpath}/include/netxx/streamserver.h" "${destroot}${prefix}/include/netxx/"
39        file copy "${worksrcpath}/include/netxx/datagram.h" "${destroot}${prefix}/include/netxx/"
40        file copy "${worksrcpath}/include/netxx/address.h" "${destroot}${prefix}/include/netxx/"
41        file copy "${worksrcpath}/include/netxx/probe.h" "${destroot}${prefix}/include/netxx/"
42        file copy "${worksrcpath}/include/netxx/types.h" "${destroot}${prefix}/include/netxx/"
43        file copy "${worksrcpath}/include/netxx/stream.h" "${destroot}${prefix}/include/netxx/"
44        file copy "${worksrcpath}/include/netxx/probeinfo.h" "${destroot}${prefix}/include/netxx/"
45        file copy "${worksrcpath}/include/netxx/peer.h" "${destroot}${prefix}/include/netxx/"
46        file copy "${worksrcpath}/include/netxx/sockopt.h" "${destroot}${prefix}/include/netxx/"
47
48        file mkdir "${destroot}${prefix}/include/netxx/tls"
49        file copy "${worksrcpath}/include/netxx/tls/netxx.h" "${destroot}${prefix}/include/netxx/tls/"
50        file copy "${worksrcpath}/include/netxx/tls/context.h" "${destroot}${prefix}/include/netxx/tls/"
51        file copy "${worksrcpath}/include/netxx/tls/certificate.h" "${destroot}${prefix}/include/netxx/tls/"
52        file copy "${worksrcpath}/include/netxx/tls/stream.h" "${destroot}${prefix}/include/netxx/tls/"
53}
Note: See TracBrowser for help on using the repository browser.