source: trunk/dports/devel/libsockets/Portfile @ 77376

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

libsockets: update to 2.3.9.5; see #28596

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 77376 2011-03-29 06:36:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    libsockets
6version                 2.3.9.5
7categories              devel net
8platforms               darwin
9maintainers             mww
10description             C++ Sockets is a C++ wrapper for BSD-style sockets.
11long_description        ${description}
12
13homepage                http://www.alhem.net/Sockets/
14master_sites    ${homepage}
15
16checksums               sha1    44ada63bdae7d58fab4904a73b9caaaadbb06912 \
17                                rmd160  5d05997c0560568a7105838f9d9de62b76695672
18
19patchfiles              patch-HttpRequest.cpp.diff \
20                                patch-Makefile.diff \
21                                patch-Makefile.Defines.macosx.diff \
22                                patch-TcpSocket.diff \
23                                patch-create-dylib.sh.diff
24
25depends_lib             port:openssl
26
27distname                Sockets-${version}
28
29post-extract {
30        xinstall -m 755 ${filespath}/configure ${worksrcpath}
31        xinstall -m 755 ${filespath}/create-dylib.sh ${worksrcpath}
32}
33
34configure.env-append    PLATFORM="macosx" PREFIX="${prefix}"
35build.target-append     libSockets.dylib
36
37post-destroot {
38        xinstall -m 755 -W ${worksrcpath} \
39                libSockets.1.0.0.dylib libSockets.dylib ${destroot}${prefix}/lib
40}
41
42livecheck.type  freshmeat
43livecheck.name  csockets
44
Note: See TracBrowser for help on using the repository browser.