# New ports collection makefile for: memcached # Date created: July 21, 2003 # Whom: Sean Chittenden # # $FreeBSD$ # PORTNAME= memcached PORTVERSION= 1.1.11 CATEGORIES= databases MASTER_SITES= http://www.danga.com/memcached/dist/ MAINTAINER= seanc@FreeBSD.org COMMENT= High-performance distributed memory object cache system BUILD_DEPENDS+= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent USE_REINPLACE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-prefix= MAN1= memcached.1 DOCS_LIST= memory_management.txt protocol.txt post-configure: @${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile post-install: ${INSTALL_MAN} ${MAN1:S!^!${WRKSRC}/doc/!} ${MAN1PREFIX}/man/man1 .ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" ${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${DOCS_LIST:S!^!${WRKSRC}/doc/!} ${DOCSDIR} .endif .include