source: trunk/dports/devel/tre/Portfile

Last change on this file was 140684, checked in by ryandesign@…, 22 months ago

tre conflicts with glimpse

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 140684 2015-09-30 06:14:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tre
7version             0.8.0
8revision            1
9categories          devel
10platforms           darwin
11maintainers         nomaintainer
12license             BSD
13conflicts           agrep glimpse
14description         TRE is a lightweight POSIX compliant regular expression library
15long_description    TRE is a lightweight POSIX compliant regular expression library
16homepage            http://laurikari.net/tre/
17master_sites        ${homepage}
18use_bzip2           yes
19checksums           md5     b4d3232593dadf6746f4727bdda20b41 \
20                    sha1    a41692e64b40ebae3cffe83931ddbf8420a10ae3 \
21                    rmd160  8031cc0c421dd0f473b4c98f49aef9805fa65b64
22depends_lib         port:gettext \
23                    port:libiconv
24test.run            yes
25test.target         check
26
27post-build {
28    reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/tre.pc
29}
30
31post-destroot {
32    set docdir ${destroot}${prefix}/share/doc/${name}
33    xinstall -d ${docdir}
34    xinstall -m 644 -W ${worksrcpath} \
35        AUTHORS \
36        ChangeLog \
37        LICENSE \
38        NEWS \
39        README \
40        THANKS \
41        TODO \
42        ${docdir}
43}
44
45livecheck.type      regex
46livecheck.url       [lindex ${master_sites} 0]download
47livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.