# New ports collection makefile for:	guile-gnome
# Date created:        			9th June 2000
# Whom:                			Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD: ports/x11-toolkits/guile-gnome/Makefile,v 1.32 2007/10/24 23:34:33 marcus Exp $
#    $MCom: ports/x11-toolkits/guile-gnome/Makefile,v 1.2 2007/07/30 21:23:18 mezz Exp $

PORTNAME=	guile-gnome
PORTVERSION=	0.20
PORTREVISION=	10
CATEGORIES=	x11-toolkits gnome scheme
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/gnome-guile/0.20
DISTNAME=	gnome-guile-${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Guile binding library for GNOME

LIB_DEPENDS=	guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomeprefix bonobo gtkhtml libglade
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-bonobo --with-gtkhtml --without-gal \
		--with-libglade --with-gdkpixbuf --with-ghttp
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig

pre-build:
	@${TOUCH} -f ${WRKSRC}/guile-gnome/gtkhtml/*.c

.include <bsd.port.mk>
