head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.11.13.22.51.41; author wiz; state Exp; branches; next ; commitid fdDNdEbfCRHrHriG; desc @@ 1.1 log @print/podofo09: import podofo-0.9.8nb7 PoDoFo is a library to work with the PDF file format. The name comes from the first letter of PDF (Portable Document Format). A few tools to work with PDF files are already included in the PoDoFo package. The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo. This is the old 0.9 version, just for calibre. @ text @$NetBSD: patch-CMakeLists.txt,v 1.6 2025/08/14 16:03:58 gdt Exp $ Require newer CMake to fix install_name on Darwin. Set correct shared library target. Install man pages to correct directory. --- CMakeLists.txt.orig 2022-05-03 12:18:23.000000000 +0000 +++ CMakeLists.txt @@@@ -1,4 +1,4 @@@@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.22) #***************** IMPORTANT ************* IMPORTANT ********************** # Look at http://www.vtk.org/Wiki/CMake_HowToDoPlatformChecks @@@@ -525,9 +525,9 @@@@ IF(FONTCONFIG_FOUND AND WANT_FONTCONFIG) INCLUDE_DIRECTORIES(${FONTCONFIG_INCLUDE_DIR}) ENDIF(FONTCONFIG_FOUND AND WANT_FONTCONFIG) -IF(WIN32 OR PODOFO_BUILD_STATIC) +IF(PODOFO_BUILD_SHARED) SET(PODOFO_LIB - podofo + podofo_shared ${PODOFO_LIB_DEPENDS} ) ELSE(WIN32 OR PODOFO_BUILD_STATIC) @@@@ -539,7 +539,7 @@@@ ENDIF(WIN32 OR PODOFO_BUILD_STATIC) # # Setup directories we will need # -SET(MANDIR "share/man/") +SET(MANDIR "${CMAKE_INSTALL_MANDIR}/") # Create the config file. It'll be appended to as the subdirs run though # then dependency information will be written to it at the end of the @@@@ -574,6 +574,6 @@@@ IF(PODOFO_BUILD_SHARED) EXPORT(TARGETS podofo_shared FILE "${CMAKE_CURRENT_BINARY_DIR}/PoDoFoConfig.cmake") ENDIF(PODOFO_BUILD_SHARED) IF(PODOFO_BUILD_STATIC) - EXPORT(TARGETS podofo_static FILE "${CMAKE_CURRENT_BINARY_DIR}/PoDoFoConfig.cmake") + EXPORT(TARGETS podofo_static APPEND FILE "${CMAKE_CURRENT_BINARY_DIR}/PoDoFoConfig.cmake") ENDIF(PODOFO_BUILD_STATIC) @