# -*- 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 clang_dependency 1.0 PortGroup github 1.0 set apple_version 498 github.setup apple-oss-distributions xar ${apple_version} xar- version 1.8.0.${apple_version} revision 0 categories archivers sysutils license BSD description xar is the eXtensible ARchiver long_description {*}${description} maintainers {mps @Schamschula} openmaintainer distname ${name}-${apple_version} worksrcdir ${distname}/xar checksums rmd160 0471deb9e01c91658feb4ea120772f7478f5c350 \ sha256 34f2e97c6786d2994af30fd72447ff1ac53f4052391a1030424da291f26c44f4 \ size 224456 depends_build port:pkgconfig \ port:automake depends_lib path:lib/libssl.dylib:openssl \ port:bzip2 \ port:libxml2 \ port:zlib # from Debian: restore *ssl support, etc patchfiles xar-1.8-Add-OpenSSL-To-Configuration.patch \ xar-1.8-openssl-1.1.patch \ xar-1.8-arm-ppc.patch \ xar-1.8-safe_dirname.patch # don't use CommonCrypto, fix header path, etc patchfiles-append patch-tpoechtrager.diff \ patch-lib-archive.h.diff \ patch-lib-hash.c.diff \ patch-src-xar.c.diff # add --to-stdout patchfiles-append patch-stdout.diff # deal with 'os/availability.h' file not found # see: https://trac.macports.org/ticket/64826 patchfiles-append patch-include-xar.h.in.diff # see: https://trac.macports.org/ticket/64837 patchfiles-append patch-src-xar_internal.h.diff # see: https://trac.macports.org/ticket/65128 patchfiles-append patch-lib-filetree.c.diff # see: https://trac.macports.org/ticket/65839 patchfiles-append dont-overlink-to-libxml2.patch post-patch { copy -force ${prefix}/share/automake-1.16/config.guess ${worksrcpath} copy -force ${prefix}/share/automake-1.16/config.sub ${worksrcpath} } use_autoconf yes