freebsd-ports/databases/memcachedb/Makefile
Cheng-Lung Sung 5101442b7d Memcachedb is a distributed storage system designed for persistent. We
simplely hacked from memcached and tugela. But neither of them.
Memcachedb is not a cache solution, it is a persistent solution for
high-frequency writing and reading. It conforms to memcache protocol
(not completed, see below), so any memcached client can have
connectivity with memcachedb. Memcachedb uses Berkeley DB as a storing
backend, so lots of features including transaction and replication are
supported.

WWW:	http://code.google.com/p/memcachedb/

PR:		ports/116548
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2007-09-27 03:02:34 +00:00

34 lines
812 B
Makefile

# New ports collection makefile for: memcachedb
# Date created: 2007-09-22
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= memcachedb
PORTVERSION= 0.0.2
CATEGORIES= databases
MASTER_SITES= http://memcachedb.googlecode.com/files/
MAINTAINER= gslin@gslin.org
COMMENT= Distributed storage system designed for persistent
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
USE_BDB= 42+
USE_RC_SUBR= ${PORTNAME}
USE_DOS2UNIX= YES
post-patch:
${REINPLACE_CMD} \
-e "s,%%BDB_LIB_NAME%%,${BDB_LIB_NAME}," \
-e "s,%%BDB_LIB_DIR%%,${BDB_LIB_DIR}," \
-e "s,%%BDB_INCLUDE_DIR%%,${BDB_INCLUDE_DIR}," \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/memcachedb ${PREFIX}/sbin
${MKDIR} /var/db/memcachedb || ${TRUE}
${CHOWN} nobody:nobody /var/db/memcachedb
.include <bsd.port.mk>