# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 93002 2012-05-13 23:46:28Z ryandesign@macports.org $

PortSystem          1.0

name                qpdf
version             2.3.1
categories          textproc pdf
platforms           darwin
maintainers         masterleep.com:dojo

description         content-preserving PDF transformation system

long_description    QPDF is a command-line program that does structural, \
                    content-preserving transformations on PDF files.

homepage            http://qpdf.sourceforge.net/
master_sites        sourceforge:project/qpdf/qpdf/${version}

checksums           rmd160  e348f5507a917db007f3f86c6bada76f8cc58d48 \
                    sha256  e1e687bbc0137e296c702daa5e2d804efce37c4edb48f2c27ae0dd0b43f99a40

depends_lib         port:pcre

# Prevent build errors when upgrading from an older version.
patchfiles          patch-FLAGS.diff

# Fix build with pcre 8.30.
patchfiles-append   patch-pcre-8.30.diff
