# -*- 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: Portfile 148922 2016-05-22 23:03:50Z devans@macports.org $ PortSystem 1.0 name gtkpod version 2.1.5 categories multimedia gnome platforms darwin maintainers nomaintainer description gtkpod is a platform independent Graphical User Interface for Apple's iPod using GTK3. long_description ${description} It supports the first to fifth Generation including the iPod mini, iPod Photo, iPod Shuffle, iPod nano, and iPod Video. homepage http://www.gtkpod.org/ master_sites sourceforge:gtkpod license GPL-2+ checksums rmd160 ff20819458e731d8350e774ef4134a319fe7511d \ sha256 a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76 depends_build port:pkgconfig \ port:intltool \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:anjuta \ port:curl \ port:faad2 \ port:flex \ port:flac \ port:gstreamer1-gst-plugins-base \ port:libgpod \ port:libid3tag \ path:lib/libmp4v2.dylib:mp4v2 \ port:libmusicbrainz5 \ port:libvorbis \ path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0 } } patchfiles patch-autogen.sh.diff \ patch-configure.ac.diff \ patch-use_extern.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.args --disable-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type regex livecheck.url http://sourceforge.net/projects/gtkpod/files/gtkpod/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"