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

jwa at macports.org jwa at macports.org
Fri Oct 22 11:28:39 PDT 2010


Revision: 72658
          http://trac.macports.org/changeset/72658
Author:   jwa at macports.org
Date:     2010-10-22 11:28:34 -0700 (Fri, 22 Oct 2010)
Log Message:
-----------
version bump to 1.1.0a r1025573

Revision Links:
--------------
    http://trac.macports.org/changeset/1025573

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

Modified: trunk/dports/databases/couchdb-devel/Portfile
===================================================================
--- trunk/dports/databases/couchdb-devel/Portfile	2010-10-22 16:02:30 UTC (rev 72657)
+++ trunk/dports/databases/couchdb-devel/Portfile	2010-10-22 18:28:34 UTC (rev 72658)
@@ -3,8 +3,8 @@
 PortSystem 1.0
 
 name                couchdb-devel
-svn.revision        916868
-version             0.11.0b${svn.revision}
+svn.revision        1025573
+version             1.1.0a${svn.revision}
 
 categories          databases
 platforms           darwin
@@ -43,6 +43,7 @@
 set dbdir ${prefix}/var/lib/couchdb
 set plistdir /Library/LaunchDaemons
 startupitem.uniquename org.apache.couchdb
+set plist ${startupitem.uniquename}.plist
 
 post-destroot {
     addgroup ${dbgroup}
@@ -54,20 +55,19 @@
     destroot.keepdirs-append \
         ${destroot}${dbdir} \
         ${destroot}${logdir}
-    set plist org.apache.couchdb.plist
-    system "cd ${destroot}/Library/LaunchDaemons && ln -sf ${prefix}/Library/LaunchDaemons/${plist}"
+    system "cd ${destroot}${plistdir} && ln -sf ${prefix}${plistdir}/${plist}"
 }
 
 post-activate {
-	ui_msg "########################################################################"
-	ui_msg "# Changes in CouchDB r753448 make older database files incompatible."
-	ui_msg "# See http://wiki.apache.org/couchdb/BreakingChanges for details"
-	ui_msg "#"
-	ui_msg "# Run the following command to install the CouchDB launchd"
-	ui_msg "# startup item in order to start and re-start service automatically:"
-	ui_msg "#"
-	ui_msg "# sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist"
-	ui_msg "########################################################################"
+    ui_msg "########################################################################"
+    ui_msg "# Changes in CouchDB r753448 make older database files incompatible."
+    ui_msg "# See http://wiki.apache.org/couchdb/BreakingChanges for details"
+    ui_msg "#"
+    ui_msg "# Run the following command to install the CouchDB launchd"
+    ui_msg "# startup item in order to start and re-start service automatically:"
+    ui_msg "#"
+    ui_msg "# sudo launchctl load -w ${plistdir}/${plist}"
+    ui_msg "########################################################################"
 }
 
 livecheck.type	regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101022/136c89ff/attachment.html>


More information about the macports-changes mailing list