summaryrefslogtreecommitdiff
path: root/print/podofo/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-07-05 21:12:45 +0000
committerjoerg <joerg@pkgsrc.org>2013-07-05 21:12:45 +0000
commitdde827cbd7d35166e26581aa97cdf575147c249b (patch)
tree92bdbef04c0fcb0f695bba64b6c16a4363dcdc0c /print/podofo/Makefile
parent428282c1d6ee8f114e03120b0204734e3013ee3c (diff)
downloadpkgsrc-dde827cbd7d35166e26581aa97cdf575147c249b.tar.gz
Update to Podofo 0.9.2 for various bug fixes and improved encryption
support. Additionally, build shared libraries.
Diffstat (limited to 'print/podofo/Makefile')
-rw-r--r--print/podofo/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/print/podofo/Makefile b/print/podofo/Makefile
index d2ec329da42..fb04837beb9 100644
--- a/print/podofo/Makefile
+++ b/print/podofo/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2013/07/04 21:27:58 adam Exp $
+# $NetBSD: Makefile,v 1.17 2013/07/05 21:12:45 joerg Exp $
#
-DISTNAME= podofo-0.9.1
-PKGREVISION= 8
+DISTNAME= podofo-0.9.2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/}
@@ -14,14 +13,14 @@ 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 -DPODOFO_BUILD_STATIC:BOOL=TRUE
CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include
CMAKE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
-CFLAGS+= -fPIC
-CXXFLAGS+= -fPIC
.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"