[76462] trunk/dports/databases

ryandesign at macports.org ryandesign at macports.org
Wed Feb 23 17:52:42 PST 2011


Revision: 76462
          http://trac.macports.org/changeset/76462
Author:   ryandesign at macports.org
Date:     2011-02-23 17:52:41 -0800 (Wed, 23 Feb 2011)
Log Message:
-----------
simplevoc-open: new port, version 1.7.0; see #28187

Added Paths:
-----------
    trunk/dports/databases/simplevoc-open/
    trunk/dports/databases/simplevoc-open/Portfile

Added: trunk/dports/databases/simplevoc-open/Portfile
===================================================================
--- trunk/dports/databases/simplevoc-open/Portfile	                        (rev 0)
+++ trunk/dports/databases/simplevoc-open/Portfile	2011-02-24 01:52:41 UTC (rev 76462)
@@ -0,0 +1,79 @@
+# -*- 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
+
+name                    simplevoc-open
+version                 1.7.0
+categories              databases
+platforms               darwin
+maintainers             triagens.de:f.celler \
+                        triagens.de:k.salewski \
+                        triagens.de:w.helisch
+
+description             Versatile object cache
+
+long_description        SimpleVoc-OPEN is an open source version of a \
+                        key/value based in memory object cache software. \
+                        (See the WWW page for details.)
+                        
+supported_archs         i386 x86_64
+
+homepage                http://www.worldofvoc.com/
+master_sites            http://www.worldofvoc.com/wp-content/uploads/2011/01/
+
+distname                SimpleVoc-${version}-OPEN
+
+checksums               md5     a1817eaf3fa2450c5c7d468ad74bda60 \
+                        sha1    154ab772f350e90b397508abe00144b5066de479
+
+depends_build           port:boost \
+                        port:libev
+
+configure.args          --enable-static-libev \
+                        --enable-static-boost
+
+build.target            touch all
+
+post-destroot {
+    xinstall -m 755 -d \
+        ${destroot}${prefix}/share/simplevoc \
+        ${destroot}${prefix}/share/doc/simplevoc \
+        ${destroot}${prefix}/Library/LaunchDaemons
+    
+    xinstall -m 644 -W ${worksrcpath} NOTICE NOTICE.boost NOTICE.getaddrinfo NOTICE.json NOTICE.libev \
+        ${destroot}${prefix}/share/doc/simplevoc
+    
+    xinstall -m 755 ${worksrcpath}/Demo/exampleRequest.sh ${destroot}${prefix}/share/doc/simplevoc/exampleRequest.sh
+    xinstall -m 755 ${worksrcpath}/SimpleVoc/simplevoc ${destroot}${prefix}/sbin/simplevoc
+    xinstall -m 644 ${worksrcpath}/initscripts/simplevoc.conf ${destroot}${prefix}/etc/simplevoc.conf.sample
+    xinstall -m 644 ${worksrcpath}/initscripts/de.triagens.simplevoc.plist ${destroot}${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist.sample
+    
+    file copy ${worksrcpath}/WebAdmin ${destroot}${prefix}/share/simplevoc
+    
+    reinplace "s|/usr/sbin|${prefix}/sbin|g"   ${destroot}${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist.sample
+    reinplace "s|/etc|${prefix}/etc|g"         ${destroot}${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist.sample
+    reinplace "s|/usr/share|${prefix}/share|g" ${destroot}${prefix}/etc/simplevoc.conf.sample
+    reinplace "s|/var/log|${prefix}/var/log|g" ${destroot}${prefix}/etc/simplevoc.conf.sample
+}
+
+post-activate {
+    if {![file exists ${prefix}/etc/simplevoc.conf]} {
+        file copy ${prefix}/etc/simplevoc.conf.sample \
+            ${prefix}/etc/simplevoc.conf
+    }
+    if {![file exists ${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist]} {
+        file copy ${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist.sample \
+            ${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist
+    }
+}
+
+notes "
+To start up the simplevoc-open server instance, use
+
+    launchctl load ${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist
+
+To stop up the simplevoc-open server instance, use
+
+    launchctl unload ${prefix}/Library/LaunchDaemons/org.macports.simplevoc.plist
+"


Property changes on: trunk/dports/databases/simplevoc-open/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110223/2432ee09/attachment.html>


More information about the macports-changes mailing list