blob: 2d724d4fd7d1158809a60fe1db7444c587a28ddc (
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
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.5 2000/10/16 15:14:22 rh Exp $
#
DISTNAME= wv-0.6.0
CATEGORIES= converters
MASTER_SITES= http://download.sourceforge.net/wvware/
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= YES
USE_XPM= YES
WRKSRC= ${WRKDIR}/wv
GNU_CONFIGURE= YES
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} -f"
CPPFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include/magick
CPPFLAGS+= -I${LOCALBASE}/include/libwmf
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
pre-patch:
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \;
pre-configure:
#cd ${WRKSRC} && autoconf
post-configure:
#cd ${WRKSRC} && ${RM} -rf magick && \
#${LN} -s ${PREFIX}/include/magick .
#cd ${WRKSRC} && ${LN} -s ${PREFIX}/include/magick/config.h magick
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"
|