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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name OSXdg-icons |
---|
7 | categories kde kf5 gnome |
---|
8 | version 3.10 |
---|
9 | |
---|
10 | maintainers gmail.com:rjvbertin mk openmaintainer |
---|
11 | |
---|
12 | installs_libs no |
---|
13 | supported_archs noarch |
---|
14 | license GPL |
---|
15 | |
---|
16 | description MBuntu-OSX icon theme for XDG/Freedesktop (Gnome or KDE) |
---|
17 | long_description NoobsLab's MBuntu-OSX icon theme for XDG/Freedesktop (Gnome or KDE). |
---|
18 | |
---|
19 | # an alternative OS X icon theme, sadly containing errors: |
---|
20 | # use_7z yes |
---|
21 | # homepage http://gnome-look.org/content/show.php/?content=166136 |
---|
22 | # master_sites http://orig09.deviantart.net/23d6/f/2014/192/5/b/ |
---|
23 | # distname mac_os_x_by_balasakthi-d7q79zz |
---|
24 | # checksums rmd160 c63e60d9a0dac8aa2946c36e9c6d7a358b0b5acd \ |
---|
25 | # sha256 45ee2c207fa4bfa8d36fb601fef7b7ce1c8f63f52e77302c45a4d95616cee028 |
---|
26 | # extract { |
---|
27 | # xinstall -m 755 -d ${worksrcpath} |
---|
28 | # system -W ${workpath} "7z x -o${worksrcpath} ${distpath}/${distfiles}" |
---|
29 | # system "chmod -R 755 ${worksrcpath}" |
---|
30 | # } |
---|
31 | |
---|
32 | homepage http://www.noobslab.com/2015/11/macbuntu-1510-transformation-pack-for.html |
---|
33 | master_sites https://launchpad.net/~noobslab/+archive/ubuntu/themes/+files |
---|
34 | distname mac-icons-v3_3.10~trusty~NoobsLab.com |
---|
35 | set worksrcpath ${workpath}/MBuntu-icons |
---|
36 | checksums rmd160 c8ea174d0c490582021d5c152b3a06d14076fa28 \ |
---|
37 | sha256 1ed70f7c01ad4577b274003f4a5412ef90d1ffcddc914c9c398f7f99ea132313 |
---|
38 | |
---|
39 | variant kde4 conflicts kf5 description {depend on the KDE4 Oxygen icon theme} { |
---|
40 | depends_lib-append \ |
---|
41 | port:oxygen-icons |
---|
42 | } |
---|
43 | variant kf5 conflicts kde4 description {depend on the KF5 Oxygen & Breeze icon themes} { |
---|
44 | depends_lib-append \ |
---|
45 | port:kf5-oxygen-icons port:kf5-breeze-icons |
---|
46 | } |
---|
47 | default_variants +kde4 |
---|
48 | |
---|
49 | use_configure no |
---|
50 | |
---|
51 | post-patch { |
---|
52 | if {[variant_isset kf5]} { |
---|
53 | reinplace "s|Inherits=|Inherits=oxygen,breeze,|g" ${worksrcpath}/MBuntu-OSX/index.theme |
---|
54 | } else { |
---|
55 | reinplace "s|Inherits=|Inherits=oxygen,|g" ${worksrcpath}/MBuntu-OSX/index.theme |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | build {} |
---|
60 | destroot { |
---|
61 | xinstall -m 755 -d ${destroot}${prefix}/share/icons/ |
---|
62 | # file copy ${workpath}/${distname} ${destroot}${prefix}/share/icons/Mac-X-Lion-reload |
---|
63 | file copy ${worksrcpath}/MBuntu-OSX ${destroot}${prefix}/share/icons/osx |
---|
64 | } |
---|
65 | |
---|
66 | livecheck.type none |
---|