# $Id: Portfile,v 1.7 2004/01/18 04:02:02 toby Exp $

PortSystem 1.0
name		gtk-engines
version		0.12
categories	x11
maintainers	mij@opendarwin.org
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.

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

master_sites	gnome:sources/gtk-engines/0.12 \
		opendarwin::lt

checksums	gtk-engines-0.12.tar.gz md5 c867d1ebd6dbea355765d689a11330ec \
		ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
		ltmain13 md5 e094ae92724c4015dbab97de151c2525

patchfiles	patch-config.guess patch-config.sub

depends_lib	lib:libImlib.1:imlib
configure.env	LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
		CFLAGS="-I${prefix}/include"

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