blob: c79823c19c081dd891f2b939c5db0997121968ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# New ports collection makefile for: memcachedb
# Date created: 2007-09-22
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= memcachedb
PORTVERSION= 1.0.3
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://freebsd.csie.nctu.edu.tw/~gslin/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed storage system designed for persistent
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
CFLAGS= -I"${BDB_INCLUDE_DIR}"
CONFIGURE_ARGS= --enable-threads --with-bdb="${LOCALBASE}" \
--with-libevent="${LOCALBASE}"
CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
GNU_CONFIGURE= yes
LDFLAGS= -l"${BDB_LIB_NAME}" -L"${LOCALBASE}/lib"
MCDBDIR?= /var/db/memcachedb
USE_BDB= 46+
USE_RC_SUBR= ${PORTNAME}
post-install:
${MKDIR} ${MCDBDIR} || ${TRUE}
${CHOWN} nobody:nobody ${MCDBDIR}
.include <bsd.port.mk>
|