openbsd-ports/converters/wv/Makefile
2006-11-11 21:04:27 +00:00

35 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.10 2006/11/11 21:04:27 steven Exp $
COMMENT= "convert various Microsoft formats into HTML/PNG"
DISTNAME= wv-0.7.2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
HOMEPAGE= http://www.wvware.com/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 c freetype jpeg m xml2 z
MODULES= converters/libiconv
LIB_DEPENDS= wmf.>=6,wmflite.>=6::graphics/libwmf \
png.>=2::graphics/png \
Magick.>=5::graphics/ImageMagick \
glib.>=1::devel/glib
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
CONFIGURE_ARGS+= --with-png=${LOCALBASE} --with-exporter \
--with-libiconv=${LOCALBASE} \
--with-Magick=${LOCALBASE} --with-libwmf=${LOCALBASE}
NO_REGRESS= Yes
.include <bsd.port.mk>