# New ports collection makefile for:    wv2
# Date created:         Do 28 Aug 2003 15:50:37 CEST
# Whom:                 lofi@freebsd.org
#
# $FreeBSD: ports/textproc/wv2/Makefile,v 1.23 2008/09/07 00:36:27 linimon Exp $
#

PORTNAME=	wv2
PORTVERSION=	0.2.3
PORTREVISION=	2
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	wvware

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library providing routines to access Microsoft Word files

CONFIGURE_ARGS=	--with-libiconv=${LOCALBASE} --disable-debug

USE_AUTOTOOLS=	libtool:15
USE_GNOME=	gnometarget libgsf
USE_ICONV=	yes
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes

pre-configure:
	@${REINPLACE_CMD} "s,-pedantic ,," ${WRKSRC}/configure

.include <bsd.port.mk>
