Sun Oct 11 09:41:35 2009 UTC ()
Initial import of podofo-0.7.0:

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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-20091011


(wiz)
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/Makefile
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/PLIST
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/distinfo
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/DESCR
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/print/podofo/patches/patch-aa

File Added: pkgsrc/print/podofo/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
#

DISTNAME=	podofo-0.7.0
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-v? AND gnu-gpl-v?

PKG_DESTDIR_SUPPORT=	user-destdir

USE_CMAKE=	yes
USE_LANGUAGES=	c c++
USE_TOOLS+=	pkg-config
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

# optional: lua support
# tests-depend on cppunit (for unit tests)
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/print/podofo/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $
bin/podofoencrypt
bin/podofoimgextract
bin/podofoimpose
bin/podofomerge
bin/podofopdfinfo
bin/podofotxt2pdf
bin/podofotxtextract
bin/podofouncompress
include/podofo/Pdf3rdPtyForwardDecl.h
include/podofo/PdfAcroForm.h
include/podofo/PdfAction.h
include/podofo/PdfAnnotation.h
include/podofo/PdfArray.h
include/podofo/PdfCanvas.h
include/podofo/PdfColor.h
include/podofo/PdfContents.h
include/podofo/PdfContentsTokenizer.h
include/podofo/PdfData.h
include/podofo/PdfDataType.h
include/podofo/PdfDate.h
include/podofo/PdfDefines.h
include/podofo/PdfDestination.h
include/podofo/PdfDictionary.h
include/podofo/PdfDifferenceEncoding.h
include/podofo/PdfDocument.h
include/podofo/PdfElement.h
include/podofo/PdfEncoding.h
include/podofo/PdfEncodingFactory.h
include/podofo/PdfEncrypt.h
include/podofo/PdfError.h
include/podofo/PdfExtGState.h
include/podofo/PdfField.h
include/podofo/PdfFileSpec.h
include/podofo/PdfFileStream.h
include/podofo/PdfFilter.h
include/podofo/PdfFiltersPrivate.h
include/podofo/PdfFont.h
include/podofo/PdfFontCID.h
include/podofo/PdfFontCache.h
include/podofo/PdfFontFactory.h
include/podofo/PdfFontMetrics.h
include/podofo/PdfFontSimple.h
include/podofo/PdfFontTTFSubset.h
include/podofo/PdfFontTrueType.h
include/podofo/PdfFontType1.h
include/podofo/PdfFunction.h
include/podofo/PdfHintStream.h
include/podofo/PdfImage.h
include/podofo/PdfImmediateWriter.h
include/podofo/PdfInfo.h
include/podofo/PdfInputDevice.h
include/podofo/PdfInputStream.h
include/podofo/PdfLocale.h
include/podofo/PdfMemDocument.h
include/podofo/PdfMemStream.h
include/podofo/PdfName.h
include/podofo/PdfNamesTree.h
include/podofo/PdfObject.h
include/podofo/PdfOutlines.h
include/podofo/PdfOutputDevice.h
include/podofo/PdfOutputStream.h
include/podofo/PdfPage.h
include/podofo/PdfPagesTree.h
include/podofo/PdfPainter.h
include/podofo/PdfPainterMM.h
include/podofo/PdfParser.h
include/podofo/PdfParserObject.h
include/podofo/PdfRect.h
include/podofo/PdfRefCountedBuffer.h
include/podofo/PdfRefCountedInputDevice.h
include/podofo/PdfReference.h
include/podofo/PdfRijndael.h
include/podofo/PdfShadingPattern.h
include/podofo/PdfStream.h
include/podofo/PdfStreamedDocument.h
include/podofo/PdfString.h
include/podofo/PdfTable.h
include/podofo/PdfTokenizer.h
include/podofo/PdfVariant.h
include/podofo/PdfVecObjects.h
include/podofo/PdfVersion.h
include/podofo/PdfWriter.h
include/podofo/PdfXObject.h
include/podofo/PdfXRef.h
include/podofo/PdfXRefStream.h
include/podofo/podofo.h
include/podofo/podofoapi.h
include/podofo/util/PdfMutex.h
include/podofo/util/PdfMutexWrapper.h
lib/libpodofo.a

File Added: pkgsrc/print/podofo/distinfo
$NetBSD: distinfo,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $

SHA1 (podofo-0.7.0.tar.gz) = bd9862770c99f5790e6be53a57c77c5d4796d841
RMD160 (podofo-0.7.0.tar.gz) = 37721670a706da614b61ec9620fb1ef46aaff4ae
Size (podofo-0.7.0.tar.gz) = 1117023 bytes
SHA1 (patch-aa) = 7d3bb709d86ad13b21120d41223a4d84c5d9215d

File Added: pkgsrc/print/podofo/DESCR
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.

File Added: pkgsrc/print/podofo/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $

BUILDLINK_TREE+=	podofo

.if !defined(PODOFO_BUILDLINK3_MK)
PODOFO_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.podofo+=	podofo>=0.7.0
BUILDLINK_PKGSRCDIR.podofo?=	../../nih/podofo
BUILDLINK_DEPMETHOD.podofo?=	build

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.endif	# PODOFO_BUILDLINK3_MK

BUILDLINK_TREE+=	-podofo

File Added: pkgsrc/print/podofo/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.1.1.1 2009/10/11 09:41:35 wiz Exp $

--- cmake/modules/FindFREETYPE.cmake.orig	2007-11-07 17:45:20.000000000 +0000
+++ cmake/modules/FindFREETYPE.cmake
@@ -41,7 +41,7 @@ ENDIF(NOT FREETYPE_FIND_QUIETLY)
 SET(FREETYPE_LIBRARY_NAMES_DEBUG ${FREETYPE_LIBRARY_NAMES_DEBUG} freetyped libfreetyped)
 SET(FREETYPE_LIBRARY_NAMES_RELEASE ${FREETYPE_LIBRARY_NAMES_RELEASE} freetype libfreetype)
 
-SET(FREETYPE_LIB_PATHS /usr/lib /usr/local/lib)
+#SET(FREETYPE_LIB_PATHS /usr/lib /usr/local/lib)
 
 FIND_LIBRARY(FREETYPE_LIBRARY_RELEASE
   ${FREETYPE_LIBRARY_NAMES_RELEASE}