# $NetBSD: Makefile,v 1.78 2018/05/05 12:33:00 minskim Exp $ DISTNAME= libwmf-0.2.8.4 PKGREVISION= 16 CATEGORIES= graphics devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://wvware.sourceforge.net/libwmf.html COMMENT= Library for reading and converting WMF (Windows Meta Files) LICENSE= gnu-gpl-v2 USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-gd CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/${PKGNAME_NOREV} CONFIGURE_ARGS+= --with-freetype=${BUILDLINK_PREFIX.freetype2} CONFIGURE_ENV+= ac_cv_path_FREETYPE_CONFIG="" post-install: ${RMDIR} ${DESTDIR}${PREFIX}/include/libwmf/gd .include "options.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/bsd.pkg.mk"