# -*- 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
# $Id: Portfile 83808 2011-09-11 11:10:53Z afb@macports.org $

PortSystem 1.0

name            xfce4-axiom-theme
version         4.4.3
categories      xfce
platforms       darwin
license         GPL
maintainers     afb openmaintainer
description     Additional theme for xfwm4/gtk2
long_description ${description}
homepage        http://www.xfce-look.org/content/show.php/?content=90145
master_sites    http://xfce-look.org/CONTENT/content-files/
distfiles       90145-axiom-xfwm.tar.gz 90873-axiom-gtk.tar.gz

checksums       90145-axiom-xfwm.tar.gz \
                md5     6c8b828bd1361c34f1ff68e8d8b8515f \
                sha1    f440748a4b60aa0f80e7be6dea8c42b18f7b002e \
                rmd160  71dba766229b95301cee508aa4e826de152b6e62 \
                90873-axiom-gtk.tar.gz \
                md5     8241a4244ea20233ed60daa366d77db5 \
                sha1    92a60a73689c8ae3c97f9a34e20f26e763dc2890 \
                rmd160  eea41467179fe041352bbb71f1910f8f2f4779c2
                
worksrcdir      axiom

use_configure no
build {}

destroot {
   xinstall -d ${destroot}${prefix}/share/themes
   file copy ${worksrcpath} ${destroot}${prefix}/share/themes/
   # fix up unreadable file permissions issue in the distfile
   foreach item [glob ${destroot}${prefix}/share/themes/*/*/*.png] {
       file attributes ${item} -permissions +r
   }
}
