blob: 66eaa2ef07cbc35a1a7ec505ef7651591c897ed9 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.4 2000/09/02 17:52:53 wiz Exp $
#
DISTNAME= wv-0.5.44
CATEGORIES= converters
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/mswordview/development/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.wvWare.com/
BUILD_DEPENDS+= autoconf:../../devel/autoconf
DEPENDS+= libwmf-0.1.17nb1:../../graphics/libwmf
DEPENDS+= ImageMagick>=5.2.2:../../graphics/ImageMagick
# not detected by configure, causes conflicts with the one coming with wv
CONFLICTS+= libgetopt-*
USE_X11= # defined
WRKSRC= ${WRKDIR}/wv
GNU_CONFIGURE= # defined
EVAL_PREFIX= XPMDIR=xpm
CONFIGURE_ARGS+= --with-Magick=${LOCALBASE}
CONFIGURE_ARGS+= --with-png=${LOCALBASE}
CONFIGURE_ARGS+= --with-ttf=${LOCALBASE}
CONFIGURE_ARGS+= --with-wmf=${LOCALBASE}
CONFIGURE_ARGS+= --with-xpm=${XPMDIR}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
MAKE_ENV+= RM="${RM}"
CPPFLAGS+= -I${LOCALBASE}/include # png.h
pre-patch:
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \;
pre-configure:
cd ${WRKSRC} && autoconf
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 Documentation/XML_Tags ${PREFIX}/share/doc/wv
.include "../../mk/bsd.pkg.mk"
|