# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/devel/gtranslator/Makefile 350963 2014-04-11 14:27:02Z bapt $
#   $MCom: ports/devel/gtranslator/Makefile,v 1.12 2007/07/04 15:52:37 mezz Exp $

PORTNAME=	gtranslator
PORTVERSION=	1.1.7
PORTREVISION=	10
CATEGORIES=	devel gnome
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME application for creating GNU gettext translation files

LIB_DEPENDS=	libgtkspell.so:${PORTSDIR}/textproc/gtkspell

USE_GNOME=	intlhack gnomeprefix gnomevfs2 libgnomeui
USES=		gettext gmake pathfix pkgconfig tar:bzip2
INSTALLS_OMF=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lgnuregex
CONFIGURE_ARGS=	--disable-debug \
		--enable-compile-warnings=no

post-patch:
		@${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
