9ad3a4837a
OSX build fixes Fixed AES decryption Improved load of (broken) PDF files Sign PDF file as an incremental update Added partial support for Type3 font encoding and metrics Drawing API improvements Unicode file names for attachments Font subset embedding
32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2015/11/05 19:46:53 adam Exp $
|
|
|
|
DISTNAME= podofo-0.9.3
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://podofo.sourceforge.net/
|
|
COMMENT= Library to work with the PDF file format
|
|
LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= pkg-config
|
|
CMAKE_ARGS+= -DPODOFO_BUILD_SHARED:BOOL=TRUE
|
|
CMAKE_ARGS+= -DPODOFO_BUILD_STATIC:BOOL=TRUE
|
|
CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
|
|
CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FTHEADER:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2/config
|
|
CMAKE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
|
|
|
|
.include "options.mk"
|
|
|
|
# tests-depend on cppunit (for unit tests)
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|