# $Id: Portfile,v 1.2 2005/04/21 15:58:21 jberry Exp $

PortSystem 1.0
name                memcached
version             1.1.11
description         A high performance, distributed memory object caching system.
long_description    memcached is a high-performance, distributed memory object \
                    caching system, generic in nature, but intended for use in \
                    speeding up dynamic web applications by alleviating database load.
maintainers         tristan@opendarwin.org
categories          sysutils
platforms           darwin 
homepage            http://www.danga.com/memcached/
master_sites        http://www.danga.com/memcached/dist/
checksums           md5 f42301c02e4223a1f2298dd3d3c30d90
configure.pre_args  --prefix=${prefix}
configure.args      --with-libevent=${prefix}
post-configure      {
                        file rename ${worksrcpath}/doc/memcached.1 ${worksrcpath}/memcached.1
                        reinplace "s;doc/memcached.1;memcached.1;" ${worksrcpath}/Makefile
                    }
depends_lib         port:libevent
