openbsd-ports/converters/wv/Makefile

45 lines
1022 B
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.19 2010/10/24 21:06:36 ajacoutot Exp $
COMMENT = convert various Microsoft formats into HTML/PNG
DISTNAME = wv-1.2.4
2010-10-23 18:01:29 -04:00
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
2010-10-23 18:01:29 -04:00
WANTLIB += xcb xml2 z gsf-1 wmf wmflite
MODULES = devel/gettext
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=wvware/}
RUN_DEPENDS = ::graphics/ImageMagick
2010-10-23 18:01:29 -04:00
LIB_DEPENDS = ::devel/libgsf \
::graphics/libwmf
MAKE_FILE = GNUmakefile
USE_GMAKE = Yes
USE_LIBTOOL = Yes
2010-10-18 13:06:05 -04:00
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>