# -*- 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           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Crypt-AppleTwoFish 0.051
revision            4
license             Restrictive
maintainers         nomaintainer
description         two Apple iTMS/iTunes key descrambling algorithms
long_description    The first algorithm appears to have only cursory \
                    resemblance to Bruce Schneier's blowfish and twofish \
                    algorithms in that it too has a table-based decoder. \
                    The second algorithm is more standard encryption using \
                    S-box type permutations and lookup tables, and might \
                    have started out something like Twofish or Blowfish.

platforms           {darwin any}

checksums           md5 b37a913ad65a66a8b039d577e7c3b83b \
                    sha1 21122281f52938960270cdff3baebd58f3250b79 \
                    rmd160 a3056423752533c1255a98e6476cffe2602e1b36

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-digest-sha

    supported_archs noarch
}
