Ticket #33924: couchdb-Portfile.patch
File couchdb-Portfile.patch, 4.0 KB (added by deric@…, 13 years ago) |
---|
-
Portfile
1 # -*- 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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 2 3 3 name 4 version 1.1.14 name couchdb 5 version 1.2.0 5 6 6 categories 7 platforms 7 categories databases 8 platforms darwin 8 9 9 description 10 maintainers 11 long_description ${description} with a restful HTTP API, capable of \12 13 14 15 10 description CouchDB is a document database server 11 maintainers jwa 12 long_description ${description} with a restful HTTP API, capable of \ 13 storing arbitrary JSON documents, building powerful data views, \ 14 defined in JavaScript, and processed in parallel using Map/Reduce. \ 15 It leaves out SQL and transactions for simplicity's sake, to \ 16 improve scalability and to relax users' lives. 16 17 17 homepage 18 master_sites 19 master_sites.mirror_subdir ${name}/${version}/20 distname 18 homepage http://couchdb.apache.org/ 19 master_sites apache 20 master_sites.mirror_subdir ${name}/releases/${version} 21 distname apache-${name}-${version} 21 22 22 checksums md5 cd126219b9cb69a4c521abd6960807a6 \ 23 sha1 c901676663279338095642462bafa2d0667df98b \ 24 rmd160 e61acf6649dbcfdd4834cc5f0920f38fd0d4ba76 23 checksums rmd160 c96da6e285201f001431c57ee84cc04e2e244115 \ 24 sha256 0f254ddea2471dbc4d3c6cd1fa61e4782c75475fb325024e10f68bf1aa8d5c37 25 25 26 depends_lib port:automake \ 27 port:autoconf \ 28 port:libtool \ 29 port:help2man \ 30 port:icu \ 31 port:spidermonkey \ 32 port:curl \ 33 port:erlang 26 depends_lib port:automake \ 27 port:autoconf \ 28 port:libtool \ 29 port:help2man \ 30 port:icu \ 31 port:spidermonkey \ 32 port:erlang 34 33 35 patchfiles 34 patchfiles patch-configure.diff 36 35 … … 47 46 48 47 configure.args --with-js-include=${prefix}/include/js \ 49 48 --with-erlang=${prefix}/lib/erlang/usr/include \ 50 --enable-js-trunk49 --enable-js-trunk 51 50 52 51 # erlang is not universal 53 52 universal_variant no … … 56 55 set dbuser couchdb 57 56 set logdir ${prefix}/var/log/couchdb 58 57 set dbdir ${prefix}/var/lib/couchdb 58 set rundir ${prefix}/var/run/couchdb 59 59 set plistdir /Library/LaunchDaemons 60 60 startupitem.uniquename org.apache.couchdb 61 61 set plist ${startupitem.uniquename}.plist … … 64 64 addgroup ${dbgroup} 65 65 adduser ${dbuser} gid=[existsgroup ${dbgroup}] 66 66 xinstall -m 755 -o ${dbuser} -g ${dbgroup} -d \ 67 ${destroot}${dbdir} \ 68 ${destroot}${logdir} \ 69 ${destroot}${plistdir} 67 ${destroot}${dbdir} \ 68 ${destroot}${logdir} \ 69 ${destroot}${plistdir} \ 70 ${destroot}${rundir} 70 71 destroot.keepdirs-append \ 71 72 ${destroot}${dbdir} \ 72 ${destroot}${logdir} 73 ${destroot}${logdir} \ 74 ${destroot}${rundir} 75 73 76 system "cd ${destroot}${plistdir} && ln -sf ${prefix}${plistdir}/${plist}" 74 77 # the following patches can be removed after next version 75 78 reinplace "s;`${prefix}/bin/icu-config --invoke`;;" ${destroot}${prefix}/bin/couchdb … … 85 88 ui_msg "########################################################################" 86 89 } 87 90 88 livecheck.type 89 livecheck.url 90 livecheck.regex 91 livecheck.type regex 92 livecheck.url http://couchdb.apache.org/downloads.html 93 livecheck.regex apache-${name}-(\[0-9.\]+\[0-9\]+)