# $Id$

PortSystem 1.0
name		gtk-engines
version		0.12
set branch	[join [lrange [split ${version} .] 0 1] .]
categories	x11
maintainers	nomaintainer
description	Theme engine for GTK+
homepage	http://www.gtk.org/
platforms	darwin

long_description gtk-engines is a theme engine for GTK+.  It provides \
		the ability to change the way widgets, buttons, etc. \
		look when using GTK+ applications.

distfiles-append ltconfig13:lt ltmain13:lt
extract.only	${distname}${extract.suffix}

master_sites	gnome:sources/gtk-engines/${branch} \
		macports:lt:lt

checksums	${distname}${extract.suffix} md5 c867d1ebd6dbea355765d689a11330ec \
		ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
		ltmain13 md5 e094ae92724c4015dbab97de151c2525

patchfiles	patch-config.guess patch-config.sub

depends_lib	port:imlib

post-extract	{ system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
		  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }