summaryrefslogtreecommitdiff
path: root/converters/wv/Makefile
blob: 286cbb2eabd96f4a05da605a6344ccd92292255e (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
# $NetBSD: Makefile,v 1.2 2000/05/18 00:09:06 wiz Exp $
#

DISTNAME=	wv-0.5.43
CATEGORIES=	converters
MASTER_SITES=	http://www.csn.ul.ie/~caolan/publink/mswordview/development/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.wvWare.com/

DEPENDS+=	libwmf-0.1.17:../../graphics/libwmf
DEPENDS+=	ImageMagick-*:../../graphics/ImageMagick

# not detected by configure, causes conflicts with the one coming with wv
CONFLICTS+=	libgetopt-*:../../devel/libgetopt

MAKE_ENV+=	RM="${RM}"

WRKSRC=		${WRKDIR}/wv
GNU_CONFIGURE=	YES
LDFLAGS+=	-Wl,-R${X11BASE}/lib

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wv
	cd ${WRKSRC} && ${INSTALL_DATA} COPYING CREDITS INSTALL KNOWN-BUGS \
		README Documentation/XML_Tags ${PREFIX}/share/doc/wv

.include "../../mk/bsd.pkg.mk"