# $Id: Portfile 59457 2009-10-15 11:25:24Z afb@macports.org $

PortSystem 1.0

name		xfce
version		4.6.1
categories	xfce
platforms	darwin
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

distfiles

use_configure	no
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" }
