aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wv2/Makefile
blob: 288fc6e9bc2b4548c6fe6cd6ecbc959e6f0f7757 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    wv2
# Date created:         Do 28 Aug 2003 15:50:37 CEST
# Whom:                 lofi@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   wv2
PORTVERSION=    0.2.1
PORTREVISION=   3
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wvware

MAINTAINER= lofi@freebsd.org
COMMENT=    A library providing routines to access Microsoft Word files

LIB_DEPENDS=    iconv:${PORTSDIR}/converters/libiconv

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

USE_GNOME=  gnometarget libgsf
USE_LIBTOOL_VER=13
LIBTOOLFLAGS=   # none, we want to keep libwv2.la
USE_BZIP2=  yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes

pre-configure:
    @${TOUCH} ${WRKSRC}/config.h.in
    @${REINPLACE_CMD} "s,-pedantic ,," ${WRKSRC}/configure

.include <bsd.port.mk>