Ticket #50070: Portfile-ciment

File Portfile-ciment, 2.3 KB (added by RJVB (René Bertin), 8 years ago)

Portfile for Ciment

Line 
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
4PortSystem          1.0
5
6name                ciment-icons
7categories          kde kf5 gnome
8version             200909
9
10maintainers         gmail.com:rjvbertin mk openmaintainer
11
12installs_libs       no
13supported_archs     noarch
14use_bzip2           yes
15homepage            http://kde-look.org/content/show.php?content=104424 \
16                    http://macthemes2.net/forum/viewtopic.php?id=16793761
17license             Creative Commons
18master_sites        http://kde-look.org/CONTENT/content-files/
19distname            104424-Ciment
20
21description         Ciment for KDE
22long_description    Ciment for KDE4 is a port of the Mac OS X icon folders "Ciment" made by Laurent Baumann. \
23                    It includes icons from "Albook" by the same author. An extended Albook theme can be found here:\
24                    http://stopdreaming.deviantart.com/art/Albook-extended-811-icons-95130402
25checksums           rmd160  04f3f11e35935057d80fbfac6c56c19a2477fd78 \
26                    sha256  f23e0b42891350c8019fe82817f1756f14f60194b095d9e9b1c016df3852c872
27
28use_configure       no
29
30build               {}
31destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/icons/
33    file copy ${workpath}/Ciment ${destroot}${prefix}/share/icons/
34    # add install a glaring omission:
35    file copy ${filespath}/128-go-down.png ${destroot}${prefix}/share/icons/Ciment/128x128/actions/go-down.png
36    file copy ${filespath}/64-go-down.png ${destroot}${prefix}/share/icons/Ciment/64x64/actions/go-down.png
37    file copy ${filespath}/48-go-down.png ${destroot}${prefix}/share/icons/Ciment/48x48/actions/go-down.png
38    file copy ${filespath}/32-go-down.png ${destroot}${prefix}/share/icons/Ciment/32x32/actions/go-down.png
39    file copy ${filespath}/22-go-down.png ${destroot}${prefix}/share/icons/Ciment/22x22/actions/go-down.png
40    file copy ${filespath}/16-go-down.png ${destroot}${prefix}/share/icons/Ciment/16x16/actions/go-down.png
41}
42
43variant OSXdg description {merge with the icons from port:OSXdg-icons} {
44    depends_run-append \
45                    port:OSXdg-icons
46    post-destroot {
47        reinplace "s|Inherits=oxygen|Inherits=osx|g" ${destroot}${prefix}/share/icons/Ciment/index.theme
48    }
49}
50
51livecheck.type      none