Ticket #67709: Portfile

File Portfile, 1.4 KB (added by vike2000, 15 months ago)
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
3PortSystem          1.0
4
5name                html-xml-utils
6version             8.6
7revision            0
8categories          textproc
9maintainers         nomaintainer
10license             W3C
11
12description         A number of simple utilties for manipulating HTML and XML files.
13
14long_description    ${description}
15
16homepage            https://www.w3.org/Tools/HTML-XML-utils/
17master_sites        ${homepage}
18
19checksums           rmd160  7e5af01c985b01372b7ee23079140f41607a5522 \
20                    sha256  5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2 \
21                    size    421530
22
23depends_lib         port:libiconv \
24                    port:curl \
25                    path:lib/libssl.dylib: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