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 111107 2013-09-15 12:51:31Z nicos@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup kde4 1.1 |
---|
6 | |
---|
7 | name juk |
---|
8 | version 4.11.1 |
---|
9 | categories kde kde4 |
---|
10 | maintainers nicos openmaintainer |
---|
11 | license GPL-2+ |
---|
12 | description JuK is an audio jukebox application |
---|
13 | long_description JuK is an audio jukebox application, supporting collections \ |
---|
14 | of MP3, Ogg Vorbis, and FLAC audio files. It allows you to edit \ |
---|
15 | the "tags" of your audio files, and manage your collection and \ |
---|
16 | playlists. It's main focus, in fact, is on music management. |
---|
17 | homepage http://www.kde.org |
---|
18 | platforms darwin |
---|
19 | master_sites kde:stable/${version}/src/ |
---|
20 | use_xz yes |
---|
21 | checksums rmd160 0da9922c37d301bb901590add69d5316f7fdfe7a \ |
---|
22 | sha256 dcd6c7732833d08fdc0700ec158365e2931ba1352249643512be994aab45561c |
---|
23 | |
---|
24 | #Binaries do not link to openssl, nor use the ssl backend of kdelibs4 |
---|
25 | license_noconflict openssl |
---|
26 | |
---|
27 | depends_lib-append port:kdelibs4 \ |
---|
28 | port:taglib |
---|
29 | |
---|
30 | if {![variant_isset docs]} { |
---|
31 | patchfiles-append patch-CMakeLists.txt.diff |
---|
32 | } |
---|
33 | |
---|
34 | pre-activate { |
---|
35 | #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports |
---|
36 | if {[file exists ${applications_dir}/KDE4/juk.app/Contents/Info.plist] |
---|
37 | && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] |
---|
38 | && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} { |
---|
39 | registry_deactivate_composite kdemultimedia4 "" [list ports_nodepcheck 1] |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.url http://kde.mirrors.hoobly.com/stable/ |
---|
44 | livecheck.regex (\\d+(\\.\\d+)+) |
---|