source: trunk/dports/audio/flac2mp3/Portfile @ 140400

Last change on this file since 140400 was 138742, checked in by devans@…, 4 years ago

flac2mp3: configure to use perl 5.22, increment revision (#48365).

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