1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/databases/flare/Makefile
Thomas Abthorpe 83fc7a83ad - Reassign nork@ ports to the heap
- Thank you for your years of service, we hope to see you back

Approved by:	portmgr
2012-08-15 19:26:13 +00:00

54 lines
1.4 KiB
Makefile

# New ports collection makefile for: flare
# Date created: 2010-05-29
# Whom: Norikatsu Shigemura <nork@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flare
PORTVERSION= 1.0.9
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://labs.gree.jp/data/source/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Flare - distributed and persistent key-value storage
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs \
tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_KQUEUE
LDFLAGS+= -L${LOCALBASE}/lib
USE_RC_SUBR= flared flarei
SUB_FILES= pkg-message
MAKE_JOBS_SAFE= yes
post-install:
@${INSTALL} -d ${_BINOWNGRP} -m 0750 /var/db/flare
@${INSTALL_DATA} ${WRKSRC}/etc/flared.conf ${PREFIX}/etc/flared.conf-dist
@[ -f ${PREFIX}/etc/flared.conf ] || \
${CP} -p ${PREFIX}/etc/flared.conf-dist ${PREFIX}/etc/flared.conf
@${INSTALL_DATA} ${WRKSRC}/etc/flarei.conf ${PREFIX}/etc/flarei.conf-dist
@[ -f ${PREFIX}/etc/flarei.conf ] || \
${CP} -p ${PREFIX}/etc/flarei.conf-dist ${PREFIX}/etc/flarei.conf
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
# NOT TESTED YET
#CONFIGURE_ARGS+=--enable-mysql-replication
#CONFIGURE_ARGS+=--enable-flarefs --with-fuse=${LOCALBASE}
#CONFIGURE_ARGS+=--enable-memory-allocation-check
.include <bsd.port.post.mk>