freebsd-ports/databases/memcached/Makefile
Marcus Alves Grando 5fc2eec8bb - Remove patch-memcached.c to increase performance. Ref: ports/94997
- Bump PORTREVISION
- Take MAINTAINER

PR:	106669
2006-12-13 16:26:54 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: memcached
# Date created: July 21, 2003
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= memcached
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.danga.com/memcached/dist/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= mnag@FreeBSD.org
COMMENT= High-performance distributed memory object cache system
LIB_DEPENDS= event-1.2a:${PORTSDIR}/devel/libevent
USE_RC_SUBR= memcached
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix=
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= memcached.1
PLIST_FILES= bin/memcached \
bin/memcached-debug
PORTDOCS= memory_management.txt protocol.txt
post-configure:
@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif
test:
${MAKE} -C ${WRKSRC} test
.include <bsd.port.mk>