# New ports collection makefile for:	gtkmozedit
# Date created:		2005-10-12
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD: ports/devel/gtkmozedit/Makefile,v 1.17 2009/08/02 19:33:11 mezz Exp $
#

PORTNAME=	gtkmozedit
PORTVERSION=	0.3.0
PORTREVISION=	5
CATEGORIES=	devel editors www
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Text editor widget based on Mozilla's editing functionality

USE_AUTOTOOLS=	libtool:22
USE_BZIP2=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomehack
USE_GECKO=	mozilla

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"

post-patch:
	@${REINPLACE_CMD} -e 's|firefox-nspr|firefox-xpcom|; \
		s|mozilla-nspr|mozilla-xpcom|' \
		${WRKSRC}/configure

.include <bsd.port.post.mk>
