Files
Ryan Schmidt b0e41a1ec6 ekhtml: Always autoreconf; fixes build failure with SDK
When the port was originally added, autoreconf was only used when the
universal variant was selected. Perhaps this was done because it was
assumed that an SDK would only be used when building universal. An SDK
can be used for any build, not just universal builds, so we should
always autoreconf.

Also modernize checksums.
2018-08-13 15:33:21 -05:00

41 lines
1.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name ekhtml
version 0.3.2
checksums rmd160 8e5d664821d181e12f0fc6d24d1a288f432cc2b5 \
sha256 1ed1f0166cd56552253cd67abcfa51728ff6b88f39bab742dbf894b2974dc8d6 \
size 234917
license BSD
categories textproc devel
platforms darwin
maintainers nomaintainer
description El-Kabong is a speedy, yet forgiving, SAX-style HTML parser
long_description \
${description}
homepage http://ekhtml.sourceforge.net/
master_sites sourceforge:project/ekhtml/ekhtml/${version}
patchfiles patch-automake-1.13.diff
# Fix build error "clang: error: unknown argument: '-syslibroot'" when
# a macOS SDK is used.
use_autoreconf yes
use_parallel_build no
test.run yes
test.target check
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
TODO ${destroot}${docdir}
copy ${worksrcpath}/docs/html ${destroot}${docdir}/api
}