Files
2023-07-01 21:15:20 -05:00

49 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup legacysupport 1.1
# getline
legacysupport.newest_darwin_requires_legacy 10
name html-xml-utils
version 8.6
revision 0
categories textproc
maintainers nomaintainer
license W3C
description A number of simple utilties for manipulating HTML and XML files.
long_description ${description}
homepage https://www.w3.org/Tools/HTML-XML-utils/
master_sites ${homepage}
checksums rmd160 7e5af01c985b01372b7ee23079140f41607a5522 \
sha256 5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2 \
size 421530
depends_lib port:libiconv \
port:curl \
path:lib/libssl.dylib:openssl \
port:nghttp2 \
port:libidn \
port:zlib
configure.libs-append -liconv
post-destroot {
# For backwards compatibility, restore the program prefix that was used in
# earlier versions of this port
fs-traverse f "${destroot}${prefix}/bin ${destroot}${prefix}/share/man" {
if {[file isfile $f]} {
ln -s [file tail $f] [file dirname $f]/w3[file tail $f]
}
}
}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)\\.tar