source: trunk/dports/multimedia/gnupod/Portfile @ 137077

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

gnupod: remove apparently outdated vorbis variant comment.

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