aboutsummaryrefslogtreecommitdiffstats
path: root/databases/beansdb/Makefile
blob: ecad773ed41457a92122dc36fc5a0c36d424903d (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
# New ports collection makefile for:    beansdb
# Date created:     2010-03-27
# Whom:         Qing Feng <qingfeng@me.com>
#
# $FreeBSD$
#

PORTNAME=   beansdb
PORTVERSION=    0.3.0
CATEGORIES= databases
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= qingfeng@me.com
COMMENT=    Yet anonther distributed key-value storage system from Douban Inc

BUILD_DEPENDS=  tokyocabinet>=1.4.30:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS=    tokyocabinet:${PORTSDIR}/databases/tokyocabinet

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GMAKE=  yes

MAN1=       beansdb.1
PLIST_FILES=    bin/beansdb bin/convert

post-patch:
    ${REINPLACE_CMD} -e 's|#include <mcheck.h>||g' \
        ${WRKSRC}/*.c
    ${REINPLACE_CMD} -e 's|#include <mcheck.h>||g' \
        ${WRKSRC}/tools/*.c

.include <bsd.port.mk>