[120987] trunk/dports/multimedia/gnupod/Portfile

mf2k at macports.org mf2k at macports.org
Fri Jun 13 11:51:25 PDT 2014


Revision: 120987
          https://trac.macports.org/changeset/120987
Author:   mf2k at macports.org
Date:     2014-06-13 11:51:25 -0700 (Fri, 13 Jun 2014)
Log Message:
-----------
gnupod: Add and conform to mode line. Use perl 5.16. Use modern checksums. Fix homepage.

Modified Paths:
--------------
    trunk/dports/multimedia/gnupod/Portfile

Modified: trunk/dports/multimedia/gnupod/Portfile
===================================================================
--- trunk/dports/multimedia/gnupod/Portfile	2014-06-13 18:24:30 UTC (rev 120986)
+++ trunk/dports/multimedia/gnupod/Portfile	2014-06-13 18:51:25 UTC (rev 120987)
@@ -1,47 +1,57 @@
+# -*- 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
+PortSystem          1.0
 
-name              gnupod
-version           0.99.7
-revision          2
-categories        multimedia perl
-maintainers       nomaintainer
-platforms         darwin
+name                gnupod
+version             0.99.7
+revision            2
+categories          multimedia perl
+maintainers         nomaintainer
+platforms           darwin
+license             GFDL-1.2
+set perl-version    5.16
 
-description       GNUpod is a collection of tools which allow you to \
-                  use your iPod with UNIX-like operating systems.
-long_description  ${description}
+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
-master_sites      http://www.blinkenlights.ch/gnupod-dist/stable
-extract.suffix    .tgz
-checksums         sha1 3aa4b32cc896af435fb52d4bb154ee950ad08ce1
+homepage            http://blinkenlights.ch/gnupod/gnupod.html
+master_sites        http://www.blinkenlights.ch/gnupod-dist/stable
+extract.suffix      .tgz
 
-depends_lib       port:perl5.12 port:p5.12-mp3-info port:p5.12-digest-md5 \
-                  port:p5.12-xml-parser port:p5.12-unicode-string \
-                  port:p5.12-libwww-perl port:p5.12-digest-sha1 port:p5.12-timedate \
-		  port:lame
+checksums           rmd160  7a7dc808d7d58382d3a15facb5038612c146bf66 \
+                    sha256  52cfd91fe50a8f9800b15cf4e83d9a02ac806e5620f49f99c3c905a1b8574b4a
 
-configure.perl    ${prefix}/bin/perl5.12
+depends_lib         port:perl${perl-version} \
+                    port:p${perl-version}-mp3-info \
+                    port:p${perl-version}-digest-md5 \
+                    port:p${perl-version}-xml-parser \
+                    port:p${perl-version}-unicode-string \
+                    port:p${perl-version}-libwww-perl \
+                    port:p${perl-version}-digest-sha1 \
+                    port:p${perl-version}-timedate \
+                    port:lame
 
+configure.perl      ${prefix}/bin/perl${perl-version}
+
 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}
+        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:p5.12-audio-flac-header
+    depends_lib-append  port:flac port:p${perl-version}-audio-flac-header
 }
 
 # should use Ogg::Vorbis::Header::PurePerl, won't work
 variant vorbis description "Enable Ogg/Vorbis" {
-    depends_lib-append  port:vorbis-tools port:p5.12-libvorbis-perl
+    depends_lib-append  port:vorbis-tools port:p${perl-version}-libvorbis-perl
 }
 
 variant aac description "Enable AAC" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140613/c3ea240f/attachment.html>


More information about the macports-changes mailing list