# -*- 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 gnupod version 0.99.8 revision 7 categories multimedia perl maintainers nomaintainer license GFDL-1.2 supported_archs noarch platforms {darwin any} perl5.branches 5.34 description GNUpod is a collection of tools which allow you to \ use your iPod with UNIX-like operating systems. long_description {*}${description} homepage http://blinkenlights.ch/gnupod/gnupod.html master_sites http://www.blinkenlights.ch/gnupod-dist/stable extract.suffix .tgz checksums rmd160 fd43914afb9646d21e3ce7dbbe6a81330794be10 \ sha256 bd566295a2e14352e6d05f5c816cab36b0e80d3ab36d29c4bbb45c581d3f3c31 depends_lib port:perl${perl5.major} \ port:p${perl5.major}-mp3-info \ port:p${perl5.major}-digest-md5 \ port:p${perl5.major}-xml-parser \ port:p${perl5.major}-unicode-string \ port:p${perl5.major}-libwww-perl \ port:p${perl5.major}-digest-sha1 \ port:p${perl5.major}-timedate \ port:p${perl5.major}-date-manip \ port:lame configure.perl ${perl5.bin} configure.args --infodir=${prefix}/share/info post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} doc/gnupodrc.example \ doc/gnutunesdb.example doc/ipod.svg doc/mkspl.html \ doc/gnupod.html ${destroot}${prefix}/share/${name} } # should also use timidity variant flac description "Enable FLAC" { depends_lib-append port:flac port:p${perl5.major}-audio-flac-header } variant vorbis description "Enable Ogg/Vorbis" { depends_lib-append port:vorbis-tools port:p${perl5.major}-ogg-vorbis-header-pureperl } variant aac description "Enable AAC" { depends_lib-append port:faac path:lib/libavcodec.dylib:ffmpeg } variant artwork description "Enable artwork support" { depends_lib-append port:ImageMagick }