openbsd-ports/converters/wv/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

45 lines
1012 B
Makefile

# $OpenBSD: Makefile,v 1.20 2010/11/15 00:22:51 espie Exp $
COMMENT = convert various Microsoft formats into HTML/PNG
DISTNAME = wv-1.2.4
REVISION = 2
SHARED_LIBS = wv-1.2 1.0 \
wv 1.0
CATEGORIES = converters
HOMEPAGE = http://wvware.sourceforge.net/
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += ICE SM X11 Xau Xdmcp bz2 c expat freetype gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 jpeg m pcre png pthread-stubs
WANTLIB += xcb xml2 z gsf-1 wmf wmflite
MODULES = devel/gettext
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=wvware/}
RUN_DEPENDS = graphics/ImageMagick
LIB_DEPENDS = devel/libgsf \
graphics/libwmf
MAKE_FILE = GNUmakefile
USE_GMAKE = Yes
USE_LIBTOOL = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng/"
CONFIGURE_ARGS = ${CONFIGURE_SHARED} --enable-static \
--with-png=${LOCALBASE} --with-libwmf=${LOCALBASE}
NO_REGRESS = Yes
.include <bsd.port.mk>