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 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name html-xml-utils |
---|
6 | version 8.6 |
---|
7 | revision 0 |
---|
8 | categories textproc |
---|
9 | maintainers nomaintainer |
---|
10 | license W3C |
---|
11 | |
---|
12 | description A number of simple utilties for manipulating HTML and XML files. |
---|
13 | |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | homepage https://www.w3.org/Tools/HTML-XML-utils/ |
---|
17 | master_sites ${homepage} |
---|
18 | |
---|
19 | checksums rmd160 7e5af01c985b01372b7ee23079140f41607a5522 \ |
---|
20 | sha256 5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2 \ |
---|
21 | size 421530 |
---|
22 | |
---|
23 | depends_lib port:libiconv \ |
---|
24 | port:curl \ |
---|
25 | path:lib/libssl.dylib:openssl \ |
---|
26 | port:nghttp2 \ |
---|
27 | port:libidn \ |
---|
28 | port:zlib |
---|
29 | |
---|
30 | configure.libs-append -liconv |
---|
31 | |
---|
32 | post-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 | |
---|
42 | livecheck.type regex |
---|
43 | livecheck.url [lindex ${master_sites} 0] |
---|
44 | livecheck.regex ${name}-(\[0-9.\]+)\\.tar |
---|