# -*- 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
maintainers {jonesc @cjones051073} {kencu @kencu} openmaintainer
description Installs wrapper headers to add missing functionality to legacy OSX versions.
long_description ${description}
github.setup macports macports-legacy-support 0.9 v
checksums rmd160 4f9dc8cee3bbbabf5d025270edff0039af2ca525 \
sha256 37af545d422ff41ba7b79f045f794af36985f7b29e43af953199242cf442b64a \
github.setup macports macports-legacy-support 5607e8902a9569b27ed4917bc0aeac55c10796b5
checksums rmd160 d74ee47542e46b534a9dcbe29386900665e7bcea \
sha256 cb338e120ade088c1296c827d85816c34bfb50e95eb51835979b52ff787d51f5 \
build.env CXX="${configure.cxx}" \
CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
destroot.env PREFIX=${prefix}
if { ${subport} eq "${name}-devel" } {
# install Tiger-specific fixes -- not quite ready
#copy ${worksrcpath}/tiger_only/include/libproc.h \
# ${destroot}${prefix}/include/LegacySupport/libproc.h
#copy ${worksrcpath}/tiger_only/include/sys/proc_info.h \
# ${destroot}${prefix}/include/LegacySupport/sys/proc_info.h
copy ${worksrcpath}/tiger_only/bin/which \
${destroot}${prefix}/bin/which