Skip to content
Permalink
Browse files

textproc/html-xml-utils:

Drop the w3* prefix as there are no obvious conflicts with any system tools or
other ports. As the program prefix was used ever since this port was added,
install symlinks for compatibility.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117765 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
raimue committed Mar 11, 2014
1 parent f7c57c9 commit 2da23e1e3a17a72dc16a3d9e617f2debe69e7255
Showing with 11 additions and 2 deletions.
  1. +11 −2 textproc/html-xml-utils/Portfile
@@ -5,6 +5,7 @@ PortSystem 1.0

name html-xml-utils
version 6.5
revision 1
categories textproc
platforms darwin
maintainers nomaintainer
@@ -20,12 +21,20 @@ master_sites ${homepage}
checksums rmd160 a62ba2f7e2f7dc02b09f73ac6c16ce12032091e6 \
sha256 21e411f7a52281bb006aa0177f0996b832f27a85c00ba126acf98ddc06248c9a

configure.args --program-prefix=w3

configure.cflags-append -std=gnu89

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

0 comments on commit 2da23e1

Please sign in to comment.
You can’t perform that action at this time.