[48982] trunk/dports/databases/couchdb-devel

febeling at macports.org febeling at macports.org
Wed Apr 1 06:46:47 PDT 2009


Revision: 48982
          http://trac.macports.org/changeset/48982
Author:   febeling at macports.org
Date:     2009-04-01 06:46:46 -0700 (Wed, 01 Apr 2009)
Log Message:
-----------
databases/couchdb-devel: update to recent revision

* bugfix: create symlink not going through workdir symlink
* remove obsolete patch files directory and patch
* output note to users about file format change

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

Removed Paths:
-------------
    trunk/dports/databases/couchdb-devel/files/

Modified: trunk/dports/databases/couchdb-devel/Portfile
===================================================================
--- trunk/dports/databases/couchdb-devel/Portfile	2009-04-01 13:42:50 UTC (rev 48981)
+++ trunk/dports/databases/couchdb-devel/Portfile	2009-04-01 13:46:46 UTC (rev 48982)
@@ -3,23 +3,26 @@
 PortSystem 1.0
 
 name                couchdb-devel
-version             0.9.0a-incubating
-revision            3
+svn.tag	            760877
+version             0.9.0r${svn.tag}
 
 categories          databases
 platforms           darwin
 
 description         couchdb is a document database server
 maintainers         jwa febeling
-long_description    ${description}
+long_description  ${description} with a restful HTTP API, capable of \
+	storing arbitrary JSON documents, building powerful data views, \
+	defined in JavaScript, and processed in parallel using Map/Reduce. \
+	It leaves out SQL and transactions for simplicity's sake, to \
+	improve scalability and to relax users' lives.
+
 homepage            http://couchdb.apache.org/
 master_sites        ${homepage}
-checksums           sha1 bf6506dd200ea18ea1331391da7aaece1188208d
 
 distname            couchdb-${version}
 fetch.type          svn
 svn.url             http://svn.apache.org/repos/asf/couchdb/trunk
-svn.tag		719015
 worksrcdir          trunk
 
 depends_lib	port:automake \
@@ -30,8 +33,6 @@
     port:spidermonkey \
     port:erlang
 
-patchfiles      patch-plist_redirects_to_devnull.diff
-
 pre-configure {
     system "cd ${worksrcpath}; ./bootstrap"
 }
@@ -53,10 +54,21 @@
         ${destroot}${dbdir} \
         ${destroot}${logdir}
     set plist org.apache.couchdb.plist
-    ln -sf ${destroot}${prefix}${plistdir}/${plist} \
-        ${destroot}${plistdir}/${plist}
+    system "cd ${destroot}/Library/LaunchDaemons && ln -sf ${prefix}/Library/LaunchDaemons/${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 "########################################################################"
+}
+
 livecheck.check	regex
 livecheck.url	http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/
 livecheck.version	${svn.tag}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090401/ebe8a75b/attachment.html>


More information about the macports-changes mailing list