source: trunk/dports/databases/couchdb-devel/Portfile @ 47589

Last change on this file since 47589 was 47589, checked in by jwa@…, 11 years ago

better livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 47589 2009-03-01 09:30:28Z jwa@macports.org $
2
3PortSystem 1.0
4
5name                couchdb-devel
6version             0.9.0a-incubating
7revision            1
8
9categories          databases
10platforms           darwin
11
12description         couchdb is a document database server
13maintainers         jwa febeling
14long_description    ${description}
15homepage            http://couchdb.apache.org/
16master_sites        ${homepage}
17checksums           sha1 bf6506dd200ea18ea1331391da7aaece1188208d
18
19distname            couchdb-${version}
20fetch.type          svn
21svn.url             http://svn.apache.org/repos/asf/couchdb/trunk
22svn.tag         719015
23worksrcdir          trunk
24
25depends_lib     port:automake \
26    port:autoconf \
27    port:libtool \
28    port:help2man \
29    port:icu \
30    port:spidermonkey \
31    port:erlang
32
33set dbgroup couchdb
34set dbuser couchdb
35set logdir ${prefix}/var/log/couchdb
36set dbdir ${prefix}/var/lib/couchdb
37
38pre-configure {
39    system "cd ${worksrcpath}; ./bootstrap"
40}
41
42pre-destroot {
43    addgroup ${dbgroup}
44    adduser ${dbuser} gid=[existsgroup ${dbgroup}]
45    xinstall -m 755 -o ${dbuser} -g ${dbgroup} -d \
46        ${destroot}${dbdir} \
47        ${destroot}${logdir}
48    destroot.keepdirs-append \
49        ${destroot}${dbdir} \
50        ${destroot}${logdir}
51}
52
53livecheck.check regex
54livecheck.url   http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/
55livecheck.version       ${svn.tag}
56livecheck.regex  (\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.