summaryrefslogtreecommitdiff
path: root/converters/wv/Makefile
blob: f717eb24637d1652f3125432aa3c042a84568e0f (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
34
# $NetBSD: Makefile,v 1.18 2002/03/13 17:36:44 fredb Exp $
#

DISTNAME=		wv-0.7.0
PKGREVISION=		1
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"