# $Id: Portfile,v 1.2 2006/05/26 09:45:45 rhwood Exp $

PortSystem		1.0
name			gtk-theme-switch
version			2.0.4
categories		x11
maintainers		jbenninghoff@mac.com
description		command-line theme switcher for gtk2

long_description \
	Command-line replacement for gnomecc theme switcher with optional \
	GUI (if passed the --preview or --dock switch)

homepage		http://www.muhri.net/nav.php3?node=gts
master_sites		http://ftp.debian.org/debian/pool/main/g/gtk-theme-switch/
distfiles	gtk-theme-switch_${version}.tar.gz
platforms		darwin
checksums		md5 ea213872031bebcb0f3d736352a5aae7

depends_lib		lib:gtk-engines2:gtk-engines2

build.target	switch2

configure {}

destroot {
	xinstall -m 755 ${worksrcpath}/switch2 ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/switch.1 \
		${destroot}${prefix}/share/man/man1/switch2.1
}
