# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
#   $MCom: ports/textproc/gtkspell/Makefile,v 1.2 2006/09/10 00:51:13 mezz Exp $

PORTNAME=	gtkspell
PORTVERSION=	2.0.16
PORTREVISION?=	6
CATEGORIES=	textproc gnome
MASTER_SITES=	LOCAL/marcus

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GTK+ 2 spell checking component

LIB_DEPENDS=	libenchant.so:textproc/enchant

USES=		gettext gmake gnome libtool:keepla pathfix pkgconfig
USE_GNOME=	gnomeprefix gtk20 intlhack
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
