# $Id: Portfile,v 1.3 2005/01/22 11:33:51 mww Exp $ PortSystem 1.0 name libsockets version 1.7.2 categories devel platforms darwin maintainers mww@opendarwin.org description C++ Sockets is a C++ wrapper for BSD-style sockets. long_description ${description} homepage http://www.alhem.net/Sockets/ master_sites ${homepage}:tar \ http://www.die.net/doc/linux/include/uuid/:h distfiles Sockets-${version}.tar.gz:tar \ uuid.h:h checksums Sockets-${version}.tar.gz md5 f2b8afdd257328803916be753d27ab71 \ uuid.h md5 f7e7d521202d499bc0761ec2bc9516a5 depends_lib lib:libssl:openssl worksrcdir Sockets-${version} extract.only Sockets-${version}.tar.gz post-extract { file copy ${distpath}/uuid.h ${worksrcpath} } variant darwin { patchfiles patch-darwin-Makefile } use_configure no build.args PREFIX=${prefix} destroot.destdir PREFIX=${destroot}${prefix}