# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 name flac2mp3 version 20041223 revision 4 categories audio platforms darwin license GPL-2 supported_archs noarch maintainers nomaintainer description Script to convert flac audio files to mp3. long_description $description homepage https://www.gurulabs.com/goodies/downloads/#FLAC-to-MP3 master_sites http://www.gurulabs.com/downloads checksums rmd160 eb5d32d163f217ccbd5c2c969159486adcf922be \ sha256 c01128e292f896b7e9e1a29a66eecb1bc7b35c9b0c0313a64760138fd8af6ac4 distname ${name} perl5.branches 5.24 depends_run port:flac \ port:lame \ port:p${perl5.major}-mp3-info extract.suffix .pl extract.only use_configure no build {} destroot { xinstall ${distpath}/${name}${extract.suffix} ${destroot}${prefix}/bin reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|g" \ "${destroot}${prefix}/bin/${name}${extract.suffix}" }