openbsd-ports/graphics/libwmf/Makefile
2017-10-23 17:10:49 +00:00

38 lines
808 B
Makefile

# $OpenBSD: Makefile,v 1.30 2017/10/23 17:10:51 sthen Exp $
COMMENT= WMF handling and conversion library
DISTNAME= libwmf-0.2.8.4
REVISION= 5
SHARED_LIBS= wmf 8.0 \
wmf-0.2 8.0 \
wmflite 7.1 \
wmflite-0.2 7.1
CATEGORIES= graphics devel
HOMEPAGE= http://wvware.sf.net/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 c expat freetype m xcb z jpeg png Xau Xdmcp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
LIB_DEPENDS= graphics/jpeg \
graphics/png
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-png=${LOCALBASE} \
--with-freetype=${X11BASE} \
--with-jpeg=${LOCALBASE} \
--with-zlib=/usr \
--with-gsfontdir=${LOCALBASE}/share/fonts/ghostscript \
--disable-gd
CONFIGURE_ENV= PKG_CONFIG="/usr/bin/false"
.include <bsd.port.mk>