[76679] trunk/dports/databases/redis/Portfile
stromnov at macports.org
stromnov at macports.org
Sat Mar 5 00:40:49 PST 2011
Revision: 76679
http://trac.macports.org/changeset/76679
Author: stromnov at macports.org
Date: 2011-03-05 00:40:46 -0800 (Sat, 05 Mar 2011)
Log Message:
-----------
redis: update homepage, fix ws, update description
Modified Paths:
--------------
trunk/dports/databases/redis/Portfile
Modified: trunk/dports/databases/redis/Portfile
===================================================================
--- trunk/dports/databases/redis/Portfile 2011-03-05 06:54:44 UTC (rev 76678)
+++ trunk/dports/databases/redis/Portfile 2011-03-05 08:40:46 UTC (rev 76679)
@@ -1,43 +1,32 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name redis
-version 2.0.4
-revision 0
-categories databases
-maintainers gmail.com:brianjlandau openmaintainer
-homepage http://code.google.com/p/redis/
-platforms darwin
-master_sites googlecode
+name redis
+version 2.0.4
+revision 0
+categories databases
+platforms darwin
-description A persistent key-value database with built-in net \
- interface written in ANSI-C for POSIX systems
+maintainers gmail.com:brianjlandau openmaintainer
-long_description Redis is a key-value database. It is similar to \
- memcached but the dataset is not volatile, and values \
- can be strings, exactly like in memcached, but also \
- lists and sets with atomic operations to push/pop \
- elements. In order to be very fast but at the same \
- time persistent the whole dataset is taken in memory \
- and from time to time and/or when a number of changes \
- to the dataset are performed it is written \
- asynchronously on disk. You may lost the last few \
- queries that is acceptable in many applications but \
- it is as fast as an in memory DB (beta 6 of Redis \
- includes initial support for master-slave replication \
- in order to solve this problem by redundancy).
+description Redis is an open source, advanced key-value store.
+long_description ${description}
-checksums md5 60656113efb6759ab644d7495629d90b \
- sha1 fee2f1960eda22385503517a9a6dcae610df84d5 \
- rmd160 e8ae60e9c5cf79b2f81233bfa6516659fea3983f
+homepage http://redis.io/
+master_sites googlecode:redis
-patchfiles redis.c.diff
+checksums md5 60656113efb6759ab644d7495629d90b \
+ sha1 fee2f1960eda22385503517a9a6dcae610df84d5 \
+ rmd160 e8ae60e9c5cf79b2f81233bfa6516659fea3983f
-use_configure no
+patchfiles redis.c.diff
-build.env-append CC=${configure.cc}
+use_configure no
+
+build.env-append CC=${configure.cc}
+
post-build {
copy ${filespath}/redis.conf.sample.in ${workpath}/redis.conf.sample
copy ${filespath}/redis-daemon.conf.sample.in ${workpath}/redis-daemon.conf.sample
@@ -46,7 +35,8 @@
${workpath}/redis-daemon.conf.sample
}
-destroot.keepdirs ${destroot}${prefix}/var/db/redis
+destroot.keepdirs ${destroot}${prefix}/var/db/redis
+
destroot {
xinstall -d ${destroot}${prefix}/var/db/redis
xinstall -m 0755 -W ${worksrcpath} \
@@ -73,9 +63,9 @@
touch ${prefix}/var/log/redis.log
}
-startupitem.create yes
-startupitem.start "${prefix}/bin/redis-server ${prefix}/etc/redis-daemon.conf"
-startupitem.stop "echo \"SHUTDOWN\" | nc localhost 6379"
+startupitem.create yes
+startupitem.start "${prefix}/bin/redis-server ${prefix}/etc/redis-daemon.conf"
+startupitem.stop "echo \"SHUTDOWN\" | nc localhost 6379"
notes "
To start up a redis server instance use this command:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110305/cc7a2ee7/attachment.html>
More information about the macports-changes
mailing list