# New ports collection makefile for:	buffy
# Date Created:				13 June 2000
# Whom:				 	Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/x11-themes/buffy/Makefile,v 1.24 2007/05/25 23:04:36 kris Exp $
#    $MCom: ports/x11-themes/buffy/Makefile,v 1.2 2006/09/24 04:12:51 mezz Exp $
#

PORTNAME=	buffy
PORTVERSION=	0.2
PORTREVISION=	4
CATEGORIES=	x11-themes
MASTER_SITES=	${MASTER_SITE_THEMES}
MASTER_SITE_SUBDIR=	buffy02
DISTNAME=	buffy02-1.2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A GTK theme engine looking like SGI enhanced Motif (aka Roxy)

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_GNOME=	gtk12
GNU_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Broken with gcc 4.2
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig

.include <bsd.port.post.mk>
