# -*- 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 name ota version 20211019 revision 0 checksums rmd160 de53405922f23ca6db59c0d356025bff4b15df16 \ sha256 a40eac2a6831f38c76b03b81dc494ad7ba301dac4a828399f546297154f49239 \ size 46909 categories archivers platforms darwin maintainers {ryandesign @ryandesign} openmaintainer license Permissive description iOS OTA/PBZX expander/unpacker/lister/searcher long_description ${name} is an {*}${description}. extract.suffix .tgz homepage http://newosxbook.com/articles/OTA8.html master_sites http://newosxbook.com/code/listings/${name}${extract.suffix}?dummy= depends_lib port:xz extract.mkdir yes post-patch { # The developer has failed to include these required files in the distribution. # Copied from the previous (20190807) version of the distribution. xinstall -m 0644 -W ${filespath} sha1.c sha1.h ${worksrcpath} } use_configure no variant universal {} build.args CC="${configure.cc} [get_canonical_archflags cc]" \ CFLAGS="${configure.cflags}" \ CPPFLAGS="${configure.cppflags}" \ LDFLAGS="${configure.ldflags}" \ -f ${filespath}/Makefile destroot { xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin } livecheck.type moddate livecheck.url [lindex [split ${master_sites} ?] 0]