aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wv2/Makefile
blob: b5f9a69f42602f22b74f02faf4d119746ae78990 (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
# Created by: lofi@FreeBSD.org
# $FreeBSD$

PORTNAME=   wv2
PORTVERSION=    0.4.2
PORTREVISION=   6
CATEGORIES= textproc
MASTER_SITES=   SF/wvware/

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

USE_GNOME=  libgsf
GNU_CONFIGURE=  yes
USES=       cmake:outsource iconv pkgconfig libtool tar:bzip2
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|LIBGSF_INCLUDE_DIR|PC_LIBGSF_INCLUDE_DIRS|g' \
        -e 's|LIBGSF_LIBRARIES|PC_LIBGSF_LIBRARIES|g' \
        ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e 's|glib/giochannel.h|glib.h|g' \
        ${WRKSRC}/src/olestream.h

.include <bsd.port.mk>