openbsd-ports/databases/redis/Makefile
2011-11-06 11:43:00 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2011/11/06 11:43:00 rpointel Exp $
COMMENT = persistent key-value database
DISTNAME = redis-2.4.2
CATEGORIES = databases
HOMEPAGE = http://redis.io/
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://redis.googlecode.com/files/
MODULES = lang/tcl
USE_GMAKE = Yes
FAKE_FLAGS = INSTALL_TOP=${WRKINST}${PREFIX}
# Replace cp/mkdir with our install commands
# Enable verbose compilation
MAKE_FLAGS = INSTALL="${INSTALL_PROGRAM}" \
INSTALL_DIR="${INSTALL_DATA_DIR}" \
V=1
WANTLIB += c m pthread
# Warning: executing the test suite can take a long time and will
# consume a lot of cpu cycles
REGRESS_DEPENDS = ${MODTCL_BUILD_DEPENDS}
REGRESS_FLAGS = TCL_BIN="${MODTCL_BIN}"
REGRESS_TARGET = test
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/redis
${INSTALL_DATA} ${WRKSRC}/redis.conf \
${PREFIX}/share/examples/redis/
.include <bsd.port.mk>