source: trunk/dports/multimedia/gnupod/Portfile

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

gnupod: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 151903 2016-08-23 21:51:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                gnupod
8version             0.99.8
9revision            2
10categories          multimedia perl
11maintainers         nomaintainer
12platforms           darwin
13license             GFDL-1.2
14supported_archs     noarch
15perl5.branches      5.24
16
17description         GNUpod is a collection of tools which allow you to \
18                    use your iPod with UNIX-like operating systems.
19long_description    ${description}
20
21homepage            http://blinkenlights.ch/gnupod/gnupod.html
22master_sites        http://www.blinkenlights.ch/gnupod-dist/stable
23extract.suffix      .tgz
24
25checksums           rmd160  fd43914afb9646d21e3ce7dbbe6a81330794be10 \
26                    sha256  bd566295a2e14352e6d05f5c816cab36b0e80d3ab36d29c4bbb45c581d3f3c31
27
28depends_lib         port:perl${perl5.major} \
29                    port:p${perl5.major}-mp3-info \
30                    port:p${perl5.major}-digest-md5 \
31                    port:p${perl5.major}-xml-parser \
32                    port:p${perl5.major}-unicode-string \
33                    port:p${perl5.major}-libwww-perl \
34                    port:p${perl5.major}-digest-sha1 \
35                    port:p${perl5.major}-timedate \
36                    port:p${perl5.major}-datemanip \
37                    port:lame
38
39configure.perl      ${perl5.bin}
40
41configure.args      --infodir=${prefix}/share/info
42
43post-destroot {
44    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
45    xinstall -m 644 -W ${worksrcpath} doc/gnupodrc.example \
46        doc/gnutunesdb.example doc/ipod.svg doc/mkspl.html \
47        doc/gnupod.html ${destroot}${prefix}/share/${name}
48}
49
50# should also use timidity
51variant flac description "Enable FLAC" {
52    depends_lib-append  port:flac port:p${perl-version}-audio-flac-header
53}
54
55variant vorbis description "Enable Ogg/Vorbis" {
56    depends_lib-append  port:vorbis-tools port:p${perl-version}-ogg-vorbis-header-pureperl
57}
58
59variant aac description "Enable AAC" {
60    depends_lib-append  port:faac path:lib/libavcodec.dylib:ffmpeg
61}
62
63variant artwork description "Enable artwork support" {
64    depends_lib-append  port:ImageMagick
65}
Note: See TracBrowser for help on using the repository browser.