# $Id: Portfile,v 1.1 2006/03/14 22:23:30 mww Exp $

PortSystem 1.0
name		libmemcache
version		1.4.0.rc2
categories	devel
platforms	darwin 
maintainers	darwinports@opendarwin.org
description	C library for memcached.
long_description \
	The libmemcache C API to memcached is a high-performance library with \
	support for multiple servers, memory contexts, and client-side hashes. \
	Using the callback interface, it is possible to lump many gets together \
	into a single get request with a great deal of ease.

homepage	http://people.freebsd.org/~seanc/libmemcache/
master_sites	${homepage}/
use_bzip2	yes
checksums	sha1 7771a6477988cb5a8a9398839d63aaf491386130
depends_lib	port:memcached

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog \
		${destroot}${prefix}/share/doc/${name}
}

platform darwin 8 {
	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
