source: trunk/dports/textproc/html-xml-utils/Portfile

Last change on this file was 149354, checked in by raimue@…, 13 months ago

textproc/html-xml-utils:
Update to version 7.0, use default C standard, add missing dependencies

  • 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 149354 2016-06-14 16:17:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                html-xml-utils
7version             7.0
8categories          textproc
9platforms           darwin
10maintainers         nomaintainer
11license             W3C
12
13description         A number of simple utilties for manipulating HTML and XML files.
14
15long_description    ${description}
16
17homepage            http://www.w3.org/Tools/HTML-XML-utils/
18master_sites        ${homepage}
19
20checksums           rmd160  832c7815b8bc1f9b9b15df9b622d38c4d71609d0 \
21                    sha256  e7d30de4fb4731f3ecd4622ac30db9fb82e1aa0ab190ae13e457360eea9460b0
22
23depends_lib         port:libiconv \
24                    port:curl \
25                    port:openssl \
26                    port:nghttp2 \
27                    port:libidn \
28                    port:zlib
29
30configure.libs-append   -liconv
31
32post-destroot {
33    # For backwards compatibility, restore the program prefix that was used in
34    # earlier versions of this port
35    fs-traverse f "${destroot}${prefix}/bin ${destroot}${prefix}/share/man" {
36        if [file isfile $f] {
37            ln -s [file tail $f] [file dirname $f]/w3[file tail $f]
38        }
39    }
40}
41
42livecheck.type      regex
43livecheck.url       [lindex ${master_sites} 0]
44livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.