# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $MidnightBSD: trunk/textproc/gtkspell3/Makefile 20343 2015-09-28 14:32:05Z laffer1 $
# $FreeBSD: head/textproc/gtkspell3/Makefile 384722 2015-04-25 09:37:20Z kwm $

PORTNAME=	gtkspell3
PORTVERSION=	3.0.7
CATEGORIES=	textproc gnome
MASTER_SITES=	SF/gtkspell/${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	GTK+ 3 spell checking component

LICENSE=	gpl2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	vapigen:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libenchant.so:${PORTSDIR}/textproc/enchant

USE_GNOME=	gtk30 intlhack introspection:build
USES=		gettext gmake libtool pathfix pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGEt=	install-strip

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

.include <bsd.port.mk>
