# $Id: Portfile,v 1.2 2005/08/26 18:25:47 toby Exp $ PortSystem 1.0 name netxx version 0.4.2 categories devel maintainers andre@splunk.com description A C++ network programming library designed to take the pain out of programming network communications applications. long_description Netxx is a C++ network programming library. It is designed to take \ the pain out of programming network communications applications. It \ does this by providing an easy to use and cross-platform interface. \ As a side effect, you get the safety of automatic resource management \ and smaller, simpler code. homepage http://pmade.org/software/netxx/ master_sites http://pmade.org/distfiles/oss-releases/ checksums netxx-0.4.2.tar.gz md5 684b9841beda776551d2ab720faeb9b1 set bjamasjam ${prefix}/lib/bjam/bin/jam depends_build path:${bjamasjam}:boost-jam patch.pre_args -p2 patchfiles patch-osutil.h.diff patch-netbuf.h.diff configure.env NETXX_JAM=${bjamasjam} build.cmd ${bjamasjam} build.target --release destroot { file mkdir "${destroot}${prefix}/lib" file copy "${worksrcpath}/src/release/libnetxx.a" "${destroot}${prefix}/lib/libnetxx.a" file mkdir "${destroot}${prefix}/include/netxx" file copy "${worksrcpath}/include/netxx/netxx.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/timeout.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/streambase.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/datagramserver.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/netbuf.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/streamserver.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/datagram.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/address.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/probe.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/types.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/stream.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/probeinfo.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/peer.h" "${destroot}${prefix}/include/netxx/" file copy "${worksrcpath}/include/netxx/sockopt.h" "${destroot}${prefix}/include/netxx/" file mkdir "${destroot}${prefix}/include/netxx/tls" file copy "${worksrcpath}/include/netxx/tls/netxx.h" "${destroot}${prefix}/include/netxx/tls/" file copy "${worksrcpath}/include/netxx/tls/context.h" "${destroot}${prefix}/include/netxx/tls/" file copy "${worksrcpath}/include/netxx/tls/certificate.h" "${destroot}${prefix}/include/netxx/tls/" file copy "${worksrcpath}/include/netxx/tls/stream.h" "${destroot}${prefix}/include/netxx/tls/" }