# New ports collection makefile for:	gmanedit
# Date created:				12 July 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/editors/gmanedit/Makefile,v 1.20 2008/11/26 02:56:35 chinsan Exp $
#

PORTNAME=	gmanedit
PORTVERSION=	0.4.2
CATEGORIES=	editors gnome
MASTER_SITES=	SF/gmanedit2

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	A GNOME manpages editor

USE_GNOME=	gnomehack gnometarget libgnomeui
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		gmanedit.1

post-patch:
	@${REINPLACE_CMD} -e '/<argz\.h>/d' ${WRKSRC}/src/callbacks.c

.include <bsd.port.mk>
