source: trunk/dports/kde/amarok-devel/Portfile @ 97894

Last change on this file since 97894 was 97894, checked in by rmstonecipher@…, 8 years ago

audio/taglib upgraded version from 1.7.2 to 1.8, incremented revision of 19 dependent ports due to .dylib change

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 97894 2012-09-19 02:07:44Z rmstonecipher@macports.org $
2
3PortSystem          1.0
4PortGroup           kde4    1.0
5
6name                amarok-devel
7version             git-20090927
8revision            4
9categories          kde kde4
10maintainers         illogic-al openmaintainer
11description         Amarok, the world-renowned media player.
12long_description    Amarok is a music player and manager with an intuitive \
13                    interface. It provides a variety of feature which helps \
14                    to discover and manage your music.
15platforms           darwin
16homepage            http://amarok.kde.org
17master_sites        http://gitorious.org/amarok
18# The following are placeholders for official beta releases
19#master_sites       http://ftp.kde.org/unstable/${name}/${version}/src/
20#use_bzip2           yes
21#checksums           md5 410863050e5de95df82106cc9dfe486a
22distname            amarok
23fetch.type          git
24git.url             git://gitorious.org/amarok/amarok.git
25git.branch          33f852d6e293aa4632a4381d3468c7cf89224380
26worksrcdir          amarok
27
28depends_build-append port:git-core
29
30depends_lib-append  port:kde4-runtime port:kdelibs4 \
31                    port:qtscriptgenerator port:liblastfm \
32                    port:taglib port:taglib-extras \
33                    port:loudmouth \
34                    path:bin/mysql_config5:mysql5
35
36pre-configure {
37    if {![file exists ${prefix}/lib/mysql5/mysql/libmysqld.a]} {
38        ui_error "${name} cannot be installed because MySQL was not installed with the libmysqld embedded server."
39        return -code error "incompatible MySQL installation"
40    }
41}
42
43configure.env           QTDIR=${prefix}/libexec/qt4-mac
44configure.args-append   ../${distname}
45
46default_variants-append    +debug
47
48post-destroot {
49    # Place bundle icons in correct location
50        system "mv ${destroot}${prefix}/bin/amarok.app/Contents/Resources/* ${destroot}${applications_dir}/KDE4/Amarok.app/Contents/Resources/"
51        system "rm -rf ${destroot}${prefix}/bin"
52}
53
Note: See TracBrowser for help on using the repository browser.