blob: e9203c0351f935ff21b452883fe6bee679a861ea (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: msgpack
# Date created: 18 Jan 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kumofs
PORTVERSION= 0.4.12
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://cloud.github.com/downloads/etolabo/kumofs/
MASTER_SITE_SUBDIR= kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Scalable and highly available distributed key-value store
LIB_DEPENDS= msgpack:${PORTSDIR}/devel/msgpack \
tokyocabinet:${PORTSDIR}/databases/tokyocabinet
RUN_DEPENDS= rubygem-msgpack>0:${PORTSDIR}/devel/rubygem-msgpack
LICENSE= ASL
USE_AUTOTOOLS= libtool:22 autoheader:268 autoconf:268 automake:111 aclocal:111
ACLOCAL_ARGS= # empty
AUTOMAKE_ARGS= --add-missing --copy
CONFIGURE_ARGS= --with-msgpack=${LOCALBASE} --with-tokyocabinet=${LOCALBASE}
USE_GCC= 4.2+
USE_GMAKE= yes
USE_RUBY= yes
USE_RC_SUBR= kumofs-manager kumofs-server kumofs-gateway
PIDDIR?= /var/run/kumofs
LOGDIR?= /var/log/kumofs
PLIST_SUB= PIDDIR=${PIDDIR} LOGDIR=${LOGDIR}
USERS= kumofs
GROUPS= kumofs
MAN1= kumo-gateway.1 \
kumo-manager.1 \
kumo-server.1 \
kumoctl.1 \
kumohash.1 \
kumolog.1 \
kumomergedb.1 \
kumostat.1 \
kumotop.1
pre-configure:
cd ${WRKSRC}; ${TOUCH} README
cd ${WRKSRC}; ${LIBTOOLIZE} --force --copy
post-install:
${MKDIR} ${PIDDIR}
${CHOWN} ${USERS}:${GROUPS} ${PIDDIR}
${MKDIR} ${LOGDIR}
${CHOWN} ${USERS}:${GROUPS} ${LOGDIR}
${ECHO} "@exec ${CHOWN} ${USERS}:${GROUPS} ${PIDDIR} ${LOGDIR}" >> ${TMPPLIST}
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CONFIGURE_ARGS+=CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>
|