# -*- 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 PortSystem 1.0 PortGroup perl5 1.0 name flac2mp3 version 20041223 revision 6 categories audio license GPL-2 supported_archs noarch platforms any maintainers nomaintainer description Script to convert flac audio files to mp3. long_description {*}$description # old homepage/master_sites gone since late 2014 # set homepage to archived copy from web.archive.org # set master_sites to macports_distfiles mirrors homepage https://web.archive.org/web/20140724100847/https://www.gurulabs.com/goodies/downloads/#FLAC-to-MP3 master_sites macports_distfiles checksums rmd160 eb5d32d163f217ccbd5c2c969159486adcf922be \ sha256 c01128e292f896b7e9e1a29a66eecb1bc7b35c9b0c0313a64760138fd8af6ac4 \ size 1255 distname ${name} # add perl variants perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} 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}" } livecheck.type none