Source
reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python${python_major}.${python_minor}\"|g" ${worksrcpath}/src/extension/implementation/script.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
PortGroup compiler_blacklist_versions 1.0
PortGroup cxx11 1.1
PortGroup cmake 1.1
cmake.generator Ninja
name inkscape-gtk3-devel
conflicts inkscape inkscape-devel
set git_commit 42f2371f
set git_date 20190429
revision 1
version 1.0alpha-${git_date}
license GPL-2 LGPL-2.1
maintainers {devans @dbevans}
categories graphics gnome
platforms darwin
description This a recent snapshot of the upstream master branch.
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/
fetch.type git
git.url -b master --depth 100 https://gitlab.com/inkscape/inkscape.git
git.branch ${git_commit}
post-fetch {
system -W ${worksrcpath} "git submodule update --init"
}
set python_major 3
set python_minor 7
set python_version ${python_major}${python_minor}
depends_build-append \
port:pkgconfig \
port:libtool \
port:intltool \
port:gtest
depends_lib-append \
port:desktop-file-utils \
port:libxslt \
port:adwaita-icon-theme \
port:double-conversion \
port:gdl3 \
port:libsoup \
port:cairo \
port:boehmgc \
port:gsl \
port:glibmm \
port:gtkmm3 \
port:gtkspell3 \
port:aspell \
port:dbus-glib \
port:lcms2 \
port:poppler \