1PORTNAME= libEMF 2DISTVERSION= 1.0.13 3PORTREVISION= 1 4CATEGORIES= graphics 5MASTER_SITES= SF 6DISTNAME= libemf-${DISTVERSION} 7 8MAINTAINER= ports@MidnightBSD.org 9COMMENT= Enhanced Metafile Library 10WWW= https://libemf.sourceforge.net/ 11 12LICENSE= lgpl2.1 13 14USES= compiler:c++14-lang cpe libtool 15CPE_VENDOR= ${PORTNAME:tl}_project 16# libEMF 1.10.13 does not work with C++17 which is the default since 17# clang 16. This can be removed once that port starts working with C++17 and 18# has its own USE_CXXSTD removed. 19# See also: https://sourceforge.net/p/libemf/bugs/5/ 20USE_CXXSTD= c++14 21USE_LDCONFIG= yes 22 23GNU_CONFIGURE= yes 24INSTALL_TARGET= install-strip 25TEST_TARGET= check 26 27OPTIONS_DEFINE= DOCS 28 29post-install-DOCS-on: 30 ${MKDIR} ${FAKE_DESTDIR}${DOCSDIR} 31 cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${FAKE_DESTDIR}${DOCSDIR} 32 33.include <bsd.port.mk> 34