diff options
Diffstat (limited to 'converters/wv/Makefile')
-rw-r--r-- | converters/wv/Makefile | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/converters/wv/Makefile b/converters/wv/Makefile index 286cbb2eabd..778cbfda8a4 100644 --- a/converters/wv/Makefile +++ b/converters/wv/Makefile @@ -1,26 +1,44 @@ -# $NetBSD: Makefile,v 1.2 2000/05/18 00:09:06 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2000/08/05 02:39:18 jlam Exp $ # -DISTNAME= wv-0.5.43 -CATEGORIES= converters -MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/mswordview/development/ +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/ +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.wvWare.com/ -DEPENDS+= libwmf-0.1.17:../../graphics/libwmf -DEPENDS+= ImageMagick-*:../../graphics/ImageMagick +BUILD_DEPENDS+= autoconf:../../devel/autoconf +DEPENDS+= libwmf-0.1.17nb1:../../graphics/libwmf +DEPENDS+= ImageMagick-*:../../graphics/ImageMagick # not detected by configure, causes conflicts with the one coming with wv -CONFLICTS+= libgetopt-*:../../devel/libgetopt +CONFLICTS+= libgetopt-* -MAKE_ENV+= RM="${RM}" +USE_X11= # defined -WRKSRC= ${WRKDIR}/wv -GNU_CONFIGURE= YES -LDFLAGS+= -Wl,-R${X11BASE}/lib +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 |