pkgsrc/graphics/libwmf/Makefile
2022-07-22 13:43:46 +00:00

31 lines
970 B
Makefile

# $NetBSD: Makefile,v 1.86 2022/07/22 13:43:46 wiz Exp $
DISTNAME= libwmf-0.2.8.4
PKGREVISION= 22
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"