Ticket #49925: Portfile.2

File Portfile.2, 1.2 KB (added by RJVB (René Bertin), 8 years ago)

PortFile for the Breeze icons

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
6set kf5.project     breeze
7set kf5.virtualPath plasma
8# current plasma and thus Port version set in the PortGroup:
9PortGroup           kf5 1.1
10name                kf5-breeze-icons
11
12maintainers         gmail.com:rjvbertin mk openmaintainer
13
14installs_libs       no
15supported_archs     noarch
16use_xz              yes
17
18description         Breeze icon theme
19long_description    Breeze icon theme.
20checksums           rmd160  d78e825b5672e238918415a6572277ea891812d3 \
21                    sha256  fc89d5edcc8c3c13263d1b1759f0f8400ea79c76df0eeafcce91d462d4cf93fa
22
23subport ${name}-dark {
24    description     Dark ${description}
25    long_description \
26                    Dark ${long_description}
27}
28
29if {${subport} eq "${name}"} {
30    xinstall -m 755 -d ${worksrcpath}
31    extract.post_args-append \
32                    -C ${worksrcpath} --strip-components 2 ${distname}/icons
33    post-extract {
34    }
35} else {
36    xinstall -m 755 -d ${worksrcpath}
37    extract.post_args-append \
38                    -C ${worksrcpath} --strip-components 2 ${distname}/icons-dark
39}