[30415] trunk/dports/databases/couchdb-devel/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 27 07:32:30 PDT 2007


Revision: 30415
          http://trac.macosforge.org/projects/macports/changeset/30415
Author:   jwa at macports.org
Date:     2007-10-27 07:32:30 -0700 (Sat, 27 Oct 2007)

Log Message:
-----------
first try with startup item, not tested yet, livecheck url fixed

Modified Paths:
--------------
    trunk/dports/databases/couchdb-devel/Portfile

Modified: trunk/dports/databases/couchdb-devel/Portfile
===================================================================
--- trunk/dports/databases/couchdb-devel/Portfile	2007-10-27 14:28:46 UTC (rev 30414)
+++ trunk/dports/databases/couchdb-devel/Portfile	2007-10-27 14:32:30 UTC (rev 30415)
@@ -33,7 +33,16 @@
     configure.compiler	gcc-4.0
 }
 
+variant server {
+    set logdir ${prefix}/var/log
+    startupitem.create	yes
+    startupitem.type	launchd
+    startupitem.name	CouchDB
+    startupitem.start	"${prefix}/bin/couchdb -b -o ${logdir}/couchdb.stdout -e ${logdir}/couchdb.stderr"
+    startupitem.stop	"${prefix}/bin/couchdb -d"
+}
+
 livecheck.check	moddate
-livecheck.url	http://couchdb.googlecode/svn/trunk
-#livecheck.regex	files/xar-(\[0-9\.\]+).tar.gz
+livecheck.url	http://couchdb.googlecode.com/svn/trunk
+#livecheck.regex	files/couchdb
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071027/4958c463/attachment.html


More information about the macports-changes mailing list