# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/news/grn/Makefile 315433 2013-03-28 03:28:30Z eadler $

PORTNAME=	grn
PORTVERSION=	0.0.28
PORTREVISION=	9
CATEGORIES=	news gnome
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/pre-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A NNTP client for Gnome

USE_BZIP2=	yes
USE_PERL5=	yes
USES=        pathfix
USE_GNOME=	gnomelibs gnomeprefix
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
LIBTOOLFILES=	configure libmutt/configure
CONFIGURE_ENV=	glibpath="${GLIB_CONFIG}"

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure ${WRKSRC}/libmutt/configure

.include <bsd.port.mk>
