source: trunk/dports/sysutils/augeas/Portfile @ 142996

Last change on this file since 142996 was 142996, checked in by ryandesign@…, 4 years ago

augeas: fix configure failure when nawk is installed and gawk is not

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 142996 2015-12-01 13:37:08Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    augeas
7version                 1.3.0
8categories              sysutils
9license                 LGPL-2.1+
10platforms               darwin
11maintainers             nomaintainer
12
13description             configuration editing tool
14
15long_description        ${name} is a ${description}. It parses configuration \
16                        files in their native formats and transforms them \
17                        into a tree. Configuration changes are made by \
18                        manipulating this tree and saving it back into native \
19                        config files
20
21homepage                http://www.augeas.net/
22master_sites            http://download.augeas.net/
23
24checksums               rmd160 9fb6ff75724a496a9e8f13a5076970a1106637e9 \
25                        sha256 80763031af76515a8ea66013ddc3c466742a15d2e907c7c8e2e3b7410262e2af
26
27depends_build           port:pkgconfig port:naturaldocs
28depends_lib             port:readline port:libxml2
29
30# Don't link with "-flat_namespace -undefined suppress" on Yosemite and later.
31patchfiles              yosemite-libtool.patch
32
33configure.args          --disable-silent-rules \
34                        ac_cv_prog_AWK=/usr/bin/awk
35
36#use_parallel_build      no
37
38post-destroot {
39    file mkdir ${destroot}${prefix}/share/doc/${name}
40    move ${worksrcpath}/doc/naturaldocs/output/c_api ${destroot}${prefix}/share/doc/${name}
41    move ${worksrcpath}/doc/naturaldocs/output/lenses ${destroot}${prefix}/share/doc/${name}
42}
43
44
45livecheck.type          regex
46livecheck.url           [lindex ${master_sites} 0]
47livecheck.regex         ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.