Source
reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
# -*- 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
PortSystem 1.0
name inkscape
conflicts inkscape-devel
version 0.92.2
revision 1
license GPL-2 LGPL-2.1
maintainers {devans @dbevans}
categories graphics gnome
platforms darwin
description This is the current stable release version of Inkscape.
long_description Inkscape is an multi-platform, Open-Source Vector Graphics Editor \
that uses SVG as its native file format. \
${description}
homepage http://www.inkscape.org/
master_sites https://inkscape.org/en/gallery/item/11254/
use_bzip2 yes
checksums rmd160 5508b38c47ed0a860a734eef8f8ca8e53f4e923a \
sha256 a628d0e04c254e9840947e6d866974f92c68ae31631a38b94d9b65e5cd84cfd3
set perl_version 5.26
depends_build port:pkgconfig \
port:autoconf \
port:automake \
port:libtool \
port:intltool \
port:perl${perl_version}
depends_lib port:desktop-file-utils \
port:popt \
path:lib/libgc.dylib:boehmgc \
port:gdk-pixbuf2 \
port:gsl \
port:gtkmm \
port:dbus-glib \
port:lcms2 \
port:poppler \
port:boost \
port:ImageMagick \
port:libcdr-0.1 \
port:libexif \
port:libvisio-0.1 \
port:libwpg-0.3 \
port:aspell \
port:gtkspell2 \
port:potrace \
port:py27-lxml \
port:py27-numpy
patchfiles patch-use-configured-perl.diff \
libavoid-abs-ambiguous.diff
post-patch {
reinplace "s|@@MP_PERL@@|${prefix}/bin/perl${perl_version}|" ${worksrcpath}/Makefile.am
reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp