2018-03-12 12:15:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2018/03/12 11:17:27 wiz Exp $
|
2009-10-11 11:41:35 +02:00
|
|
|
|
2017-02-11 23:27:00 +01:00
|
|
|
DISTNAME= podofo-0.9.5
|
2018-03-12 12:15:24 +01:00
|
|
|
PKGREVISION= 2
|
2009-10-11 11:41:35 +02:00
|
|
|
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
|
2011-10-26 21:28:00 +02:00
|
|
|
LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
|
2009-10-11 11:41:35 +02:00
|
|
|
|
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= pkg-config
|
2015-11-05 20:46:53 +01:00
|
|
|
CMAKE_ARGS+= -DPODOFO_BUILD_SHARED:BOOL=TRUE
|
|
|
|
CMAKE_ARGS+= -DPODOFO_BUILD_STATIC:BOOL=TRUE
|
2014-04-07 13:15:52 +02:00
|
|
|
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
|
2009-10-11 11:41:35 +02:00
|
|
|
CMAKE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
|
|
|
|
|
2011-05-02 13:53:51 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2009-10-11 11:41:35 +02:00
|
|
|
# tests-depend on cppunit (for unit tests)
|
2013-07-05 23:12:45 +02:00
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
2009-10-11 11:41:35 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2011-10-26 21:28:00 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2009-10-11 11:41:35 +02:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2015-11-05 20:46:53 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2009-10-11 11:41:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|