# New ports collection makefile for:	gtk-engines
# Date Created:				23 Dec 1998
# Whom:					Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD: ports/x11-toolkits/gtk-engines/Makefile,v 1.29 2002/04/12 17:13:32 marcus Exp $
#

PORTNAME=	gtk-engines
PORTVERSION=	0.12
PORTREVISION=	2
CATEGORIES=	x11-toolkits
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	stable/sources/gtk-engines

MAINTAINER=	gnome@FreeBSD.org

USE_X_PREFIX=	yes
USE_IMLIB=	yes
USE_LIBTOOL=	yes

THEMES=		metal notif pixmap raleigh redmond95

post-patch:
	@for theme in ${THEMES}; do \
		cd ${WRKSRC}/$$theme/Theme/gtk; \
		${MV} gtkrc gtkrc.tmp; \
		${SED} -e s^%%PREFIX%%^${PREFIX}^g < gtkrc.tmp > gtkrc; \
	done

.include <bsd.port.mk>
