diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-09-27 03:02:34 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-09-27 03:02:34 +0000 |
commit | 5101442b7dd5e798f3a4dbd7f340b551945b56ab (patch) | |
tree | 3273c842242a87c16dc93acc042d8804ac4cd226 /databases/memcachedb/Makefile | |
parent | b326e6daff04e253b97bb5c85f4506c86491ff95 (diff) |
Notes
Diffstat (limited to 'databases/memcachedb/Makefile')
-rw-r--r-- | databases/memcachedb/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/databases/memcachedb/Makefile b/databases/memcachedb/Makefile new file mode 100644 index 000000000000..bfbaca710c3e --- /dev/null +++ b/databases/memcachedb/Makefile @@ -0,0 +1,34 @@ +# 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> |