dca9bb9e38
Full ChangeLog at https://github.com/antirez/redis/raw/2.2/00-RELEASENOTES
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2011/06/27 13:11:32 dcoppa Exp $
|
|
|
|
COMMENT = persistent key-value database
|
|
DISTNAME = redis-2.2.11
|
|
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 by install
|
|
MAKE_FLAGS = INSTALL="${INSTALL_PROGRAM}"
|
|
|
|
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/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/redis
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/* ${PREFIX}/share/doc/redis/
|
|
|
|
.include <bsd.port.mk>
|