# -*- 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
description Flash format 6+ decompressor
long_description ${description}
homepage https://web.archive.org/web/20120618212307/http://zefonseca.com/cws2fws/
master_sites https://web.archive.org/web/20120618212302/http://zefonseca.com/cws2fws/release/
dist_subdir ${name}/${version}_1
checksums rmd160 8475a3e880ac76856b6c215c6d65584a575583bc \
sha256 638164649e6626acaffd7e264b52cd711cc0ef71490a4d8221856ddd89ac0dd3 \
depends_run port:p${perl5.major}-io-compress
copy "${distpath}/cws2fws" "${worksrcpath}/cws2fws.pl"
reinplace "s|^#!/usr/bin/perl|#!${perl5.bin}|" "${worksrcpath}/cws2fws.pl"
xinstall -m 0755 "${worksrcpath}/cws2fws.pl" "${destroot}${prefix}/bin/cws2fws.pl"