PortSystem		1.0
PortGroup		xcode 1.0

name			DesktopManager
version			0.5.3
categories		aqua
license			GPL-2+
maintainers		nomaintainer
description		Virtual Desktops for Mac OS X
long_description	DesktopManager brings Virtual Desktops to Mac OS X. \
				It is utilizing the Quartz engine to make damn cool \
				animations while switching desktops (e. g. cube).

homepage		http://desktopmanager.berlios.de/
master_sites	http://download.berlios.de/desktopmanager/
distname		${distname}.src

checksums		md5 23548a9f4160dcfd80725afb1f7160a4 \
				sha1 dec0d383c98856973e5b52065da2816400e40a21 \
				rmd160 66935704e20439b855e1013f430227756a3bdeaf

worksrcdir		${name}

universal_variant no

xcode.destroot.settings	SKIP_INSTALL=yes

post-destroot {
	xinstall -d ${destroot}${applications_dir}
	copy "${worksrcpath}/build/UninstalledProducts/Desktop Manager.app" \
		${destroot}${applications_dir}

	delete {*}[glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
}

livecheck.type	regex
livecheck.url	http://developer.berlios.de/project/showfiles.php?group_id=3463
livecheck.regex	"${name}-(\\d+(?:\\.\\d+)*)"