# -*- 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 dumpasn1 version 20210212 categories textproc security platforms darwin maintainers nomaintainer license permissive description an ASN.1 decoder and pretty-printer long_description \ The dumpasn1 program decodes BER and DER-encoded \ ASN.1 data, and is configured with knowledge of \ many security-related objects. homepage http://www.cs.auckland.ac.nz/~pgut001/ master_sites debian:d/${name}/ distfiles ${name}_${version}.orig${extract.suffix} checksums rmd160 2839333bda3675cb0ebec7092a3637f4e861c4a9 \ sha256 a6748ab9f6142711ed584ddc18753c6a44b26dec156aabbaaaa619389084db6f \ size 67893 post-patch { reinplace "s|/etc/dumpasn1/|${prefix}/etc/|g" \ "${worksrcpath}/dumpasn1.c" } use_configure no variant universal {} build { system -W ${worksrcpath} "${configure.cc} [get_canonical_archflags] -o dumpasn1 dumpasn1.c" } destroot { xinstall -c -m 0755 ${worksrcpath}/dumpasn1 \ ${destroot}${prefix}/bin/dumpasn1 xinstall -c -m 0644 ${worksrcpath}/dumpasn1.cfg \ ${destroot}${prefix}/etc/dumpasn1.cfg } livecheck.type regex livecheck.url http://http.debian.net/debian/pool/main/d/dumpasn1/ livecheck.regex ${name}_(\[0-9\]+).orig${extract.suffix}