# -*- 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 83814 2011-09-11 12:33:56Z afb@macports.org $

PortSystem 1.0

name            xfce
version         4.6.2
categories      xfce
platforms       darwin
license         public-domain
maintainers     afb
description     Xfce Desktop Environment
long_description \
Xfce is a lightweight desktop environment for unix-like operating systems. \
It aims to be fast and lightweight, while still being visually appealing and \
easy to use.
homepage        http://www.xfce.org/
master_sites    http://www.ca-us.xfce.org/archive/xfce-${version}/src/

# depends on MacPorts xfce4
depends_lib     port:libxfcegui4 \
                port:gtk-xfce-engine \
                port:xfconf \
                port:xfwm4 \
                port:xfwm4-themes \
                port:exo \
                port:xfce-utils \
                port:xfce4-icon-theme \
                port:xfce4-panel \
                port:xfce4-appfinder \
                port:xfdesktop \
                port:xfprint \
                port:orage \
                port:mousepad \
                port:Thunar \
                port:Terminal \
                port:midori

distfiles

use_configure   no
supported_archs noarch
build           { }
destroot        {
        xinstall -d ${destroot}${prefix}/share/xfce4
        file copy ${portpath}/${filesdir}/STARTME ${destroot}${prefix}/share/xfce4/
}
post-destroot   { ui_msg "To start xfce put \"exec startxfce4\" in your .xinitrc" }
