PortSystem		1.0
PortGroup		xcode 1.0
PortGroup		deprecated 1.0

name			DesktopManager
version			0.5.3
revision		1
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		https://github.com/tonyarnold/virtuedesktops
master_sites	macports_distfiles
distname		${distname}.src

checksums		md5 23548a9f4160dcfd80725afb1f7160a4 \
				sha1 dec0d383c98856973e5b52065da2816400e40a21 \
				rmd160 66935704e20439b855e1013f430227756a3bdeaf

worksrcdir		${name}

universal_variant no

if {${os.major} != 8} {
    known_fail  yes
    pre-fetch {
        ui_error "${name} ${version} requires Mac OS X 10.4."
        return -code error "incompatible macOS version"
    }
}

# Don't set INSTALL_PATH. This build system uses INSTALL_PATH internally to
# link the application and frameworks together with relative paths.
xcode.destroot.type

destroot {
	copy "${worksrcpath}/build/${xcode.configuration}/Desktop Manager.app" \
		${destroot}${applications_dir}
}

livecheck.type	none

deprecated.upstream_support no