source: trunk/dports/audio/flac2mp3/Portfile

Last change on this file was 151906, checked in by mojca@…, 11 months ago

flac2mp3: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 151906 2016-08-23 21:56:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                flac2mp3
8
9version             20041223
10revision            4
11
12categories          audio
13platforms           darwin
14license             GPL-2
15supported_archs     noarch
16maintainers         nomaintainer
17
18description         Script to convert flac audio files to mp3.
19long_description    $description
20
21homepage            https://www.gurulabs.com/goodies/downloads/#FLAC-to-MP3
22
23master_sites        http://www.gurulabs.com/downloads
24
25checksums           rmd160  eb5d32d163f217ccbd5c2c969159486adcf922be \
26                    sha256  c01128e292f896b7e9e1a29a66eecb1bc7b35c9b0c0313a64760138fd8af6ac4
27
28distname            ${name}
29
30perl5.branches      5.24
31
32depends_run         port:flac \
33                    port:lame \
34                    port:p${perl5.major}-mp3-info
35
36extract.suffix      .pl
37extract.only
38
39use_configure       no
40
41build               {}
42
43destroot {
44    xinstall ${distpath}/${name}${extract.suffix} ${destroot}${prefix}/bin
45    reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
46        "${destroot}${prefix}/bin/${name}${extract.suffix}"
47}
Note: See TracBrowser for help on using the repository browser.