summaryrefslogtreecommitdiff
path: root/converters/wv/Makefile
blob: bcfb4c44c543af6a1ee939be35389cb3a93a3c73 (plain)
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
# $NetBSD: Makefile,v 1.16 2001/10/24 22:10:50 jlam Exp $
#

DISTNAME=		wv-0.6.7
CATEGORIES=		converters
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=wvware/}

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://www.wvWare.com/
COMMENT=		Microsoft Word 6, 7, 8, and 9 (95/97/2000) doc to HTML/LaTeX converter

# not detected by configure, causes conflicts with the one coming with wv
#CONFLICTS+=		libgetopt-[0-9]*

USE_BUILDLINK_ONLY=	YES
REPLACE_BUILDLINK=	wv-incconfig wv-libconfig

USE_GMAKE=		YES
GNU_CONFIGURE=		YES
MAKE_ENV+=		RM="${RM} -f"

post-install:
	${TOUCH} ${PREFIX}/share/wv/ttf/.directory
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wv
	cd ${WRKSRC} && ${INSTALL_DATA} COPYING CREDITS INSTALL KNOWN-BUGS \
		README help/Docs/XML_Tags ${PREFIX}/share/doc/wv

.include "../../converters/libiconv/buildlink.mk"
.include "../../devel/glib/buildlink.mk"
.include "../../graphics/ImageMagick/buildlink.mk"
.include "../../graphics/libwmf/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"