aboutsummaryrefslogtreecommitdiff
path: root/databases/redis
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2011-08-25 06:40:44 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2011-08-25 06:40:44 +0000
commita97530c6a9dc7288b75586b4f626902dccfa928c (patch)
treee24ccdd892faeebe526ee3e9a6839b30f57c1f59 /databases/redis
parent5264b6931f91e0e441c0a9a92280a59a576ea097 (diff)
Notes
Diffstat (limited to 'databases/redis')
-rw-r--r--databases/redis/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/databases/redis/Makefile b/databases/redis/Makefile
index ef68439c5859..51e44d545125 100644
--- a/databases/redis/Makefile
+++ b/databases/redis/Makefile
@@ -7,6 +7,7 @@
PORTNAME= redis
PORTVERSION= 2.2.12
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= GOOGLE_CODE
@@ -26,6 +27,8 @@ BIN_FILES= redis-benchmark redis-check-aof redis-check-dump \
PKGMESSAGE= ${WRKDIR}/pkg-message
+PORTDOCS= *
+
USERS= redis
GROUPS= redis
@@ -53,6 +56,10 @@ post-build:
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${PREFIX}/bin/
${INSTALL_DATA} ${WRKDIR}/redis.conf ${PREFIX}/etc/redis.conf.sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
+.endif
post-install:
.for d in ${REDIS_LOGDIR} ${REDIS_RUNDIR} ${REDIS_DBDIR}