source: trunk/dports/multimedia/cws2fws-pl/Portfile

Last change on this file was 151910, checked in by mojca@…, 13 months ago

cws2fws-pl: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 151910 2016-08-23 22:00:30Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                cws2fws-pl
8version             0.0.1
9revision            5
10categories          multimedia
11license             MIT
12maintainers         nomaintainer
13description         Flash format 6+ decompressor
14long_description    ${description}
15platforms           darwin
16supported_archs     noarch
17homepage            https://web.archive.org/web/20120618212307/http://zefonseca.com/cws2fws/
18master_sites        https://web.archive.org/web/20120618212302/http://zefonseca.com/cws2fws/release/
19distfiles           cws2fws
20dist_subdir         ${name}/${version}_1
21
22checksums           rmd160  8475a3e880ac76856b6c215c6d65584a575583bc \
23                    sha256  638164649e6626acaffd7e264b52cd711cc0ef71490a4d8221856ddd89ac0dd3
24
25perl5.branches      5.24
26
27depends_run         port:p${perl5.major}-io-compress
28
29extract.mkdir       yes
30
31extract {
32    copy "${distpath}/cws2fws" "${worksrcpath}/cws2fws.pl"
33}
34
35patch {
36    reinplace "s|^#!/usr/bin/perl|#!${perl5.bin}|" "${worksrcpath}/cws2fws.pl"
37}
38
39use_configure       no
40
41build {}
42
43destroot {
44    xinstall -m 0755 "${worksrcpath}/cws2fws.pl" "${destroot}${prefix}/bin/cws2fws.pl"
45}
46
47livecheck.type      none
Note: See TracBrowser for help on using the repository browser.