source: trunk/dports/www/volta/Portfile

Last change on this file was 96003, checked in by ryandesign@…, 5 years ago

volta: update to 0.2.0 (#35338)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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
2# $Id: Portfile 96003 2012-07-28 01:19:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                volta
7version             0.2.0
8categories          www net
9platforms           darwin
10maintainers         nomaintainer
11license             BSD
12
13description         a high performance Squid compatible URI redirector
14
15long_description    Volta is a high performance, low resource URI rewriter \
16                    for use with the Squid caching proxy server (or \
17                    alternatively Polipo!) With it, you can dynamically alter \
18                    URI requests on various criteria. It uses a finite state \
19                    machine to parse URIs and rules, and a constant database \
20                    for storage. It can perform conditional rewrites \
21                    internally or by evaluating Lua scripts.
22
23homepage            http://projects.martini.nu/volta/
24master_sites        http://dl.dropbox.com/u/7234177/Releases/ \
25                    ${homepage}chrome/site/
26extract.suffix      .tgz
27
28checksums           rmd160 d2d10d54ea0c335e656a67c2d2bc33393bef723a \
29                    sha256 9857c08cddafd935238a756d13822a6240ac1f79ed3a33f84805b60532e523d6
30
31depends_build       port:pkgconfig \
32                    port:tinycdb
33
34depends_lib         port:lua
35
36use_configure       no
37
38variant universal {}
39
40build.target        ${name}
41
42build.args          CC="${configure.cc} [get_canonical_archflags cc]"
43
44destroot {
45    xinstall -m 755 ${worksrcpath}/volta ${destroot}${prefix}/bin/
46   
47    set docdir ${prefix}/share/doc/${subport}
48    xinstall -d ${destroot}${docdir}
49    xinstall -m 644 -W ${worksrcpath} \
50        ChangeLog \
51        LICENSE \
52        README \
53        ${destroot}${docdir}
54}
55
56livecheck.type      regex
57livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.