[127829] users/devans/dports/graphics
devans at macports.org
devans at macports.org
Tue Nov 4 16:11:20 PST 2014
Revision: 127829
https://trac.macports.org/changeset/127829
Author: devans at macports.org
Date: 2014-11-04 16:11:20 -0800 (Tue, 04 Nov 2014)
Log Message:
-----------
devans/dports: new port inkscape-branched, built from new inkscape-0.91.x branch.
Modified Paths:
--------------
users/devans/dports/graphics/inkscape-branched/Portfile
Added Paths:
-----------
users/devans/dports/graphics/inkscape-branched/
Removed Paths:
-------------
users/devans/dports/graphics/inkscape-branched/files/
Modified: users/devans/dports/graphics/inkscape-branched/Portfile
===================================================================
--- users/devans/dports/graphics/inkscape-prerelease/Portfile 2014-11-04 19:28:03 UTC (rev 127823)
+++ users/devans/dports/graphics/inkscape-branched/Portfile 2014-11-05 00:11:20 UTC (rev 127829)
@@ -3,17 +3,16 @@
PortSystem 1.0
-name inkscape-prerelease
-set dname inkscape
-conflicts inkscape inkscape-devel inkscape-experimental
-version 0.91pre2
-epoch 1
+name inkscape-branched
+conflicts inkscape inkscape-devel inkscape-prerelease
+set bzr_rev 13634
+version 0.91pre2.${bzr_rev}
license GPL-2 LGPL-2.1
maintainers devans
categories graphics gnome
platforms darwin
-description Unstable development version of Inkscape from \
- recent BZR trunk leading up to release of version 0.91.
+description This is a branched development version of Inkscape taken from the \
+ inkscape-0.91.x bzr branch leading up to the release of version 0.91.
long_description \
Inkscape is an open source SVG editor with \
@@ -21,14 +20,14 @@
Visio, etc. Supported SVG features include basic \
shapes, paths, text, alpha blending, transforms, \
gradients, node editing, svg-to-png export, \
- grouping, and more.
+ grouping, and more. ${description}
homepage http://www.inkscape.org/
-master_sites https://sourceforge.net/projects/inkscape/files/inkscape/${version}/
+master_sites file:///Users/devans/macports/distfiles/inkscape-0.91.x
-distname ${dname}-${version}
+checksums rmd160 35d6a293bd5cac893e48f60d3ac96cae539a8cb2 \
+ sha256 4c9d400be48ccced5b4461b9fb15bceb88b0e061443ea6b28264fd6353f04962
-checksums rmd160 49fbb632cea3a38dfd5164b93cc9a29c29bc5523 \
- sha256 79f4facb4140fce09a55daa464399116cae10a4f92c95e8b427875fe56da798b
+worksrcdir inkscape-0.91.x
depends_build port:pkgconfig \
port:autoconf \
@@ -43,52 +42,24 @@
port:gsl \
port:gtkmm \
port:dbus-glib \
- port:lcms \
+ port:lcms2 \
port:poppler \
port:boost \
port:ImageMagick \
- port:libcdr \
+ port:libcdr-0.1 \
port:libexif \
- port:libvisio \
- port:libwpg \
- port:gtkspell2
+ port:libvisio-0.1 \
+ port:libwpg-0.3 \
+ port:gtkspell2 \
+ port:py27-lxml \
+ port:py27-numpy
-patchfiles clang-cxx11-boost-1-56_3.diff
-
post-patch {
- xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+ reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
+ reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
+ reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
}
-variant python26 conflicts python27 description {Configure to use Python version 2.6} {
- depends_lib-append \
- port:py26-lxml \
- port:py26-numpy
-
- post-patch {
- reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.6\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
- reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
- reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
- }
-
- configure.python \
- ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python26 description {Configure to use Python version 2.7} {
- depends_lib-append \
- port:py27-lxml \
- port:py27-numpy
-
- post-patch {
- reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
- reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
- reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
- }
-
- configure.python \
- ${prefix}/bin/python2.7
-}
-
variant gtk3 description {Enable experimental GTK+ 3 build} {
depends_lib-delete port:gtkspell2 \
port:gtk2 \
@@ -103,11 +74,14 @@
variant svg2 description {Enable experimental SVG level 2 proposed features} {
configure.cppflags-append \
- "-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE"
+ "-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2"
}
configure.cmd ./autogen.sh && ./configure
+configure.python \
+ ${prefix}/bin/python2.7
+
configure.args --without-gnome-vfs \
--enable-lcms \
--enable-poppler-cairo \
@@ -122,10 +96,12 @@
configure.cxxflags-append -std=c++11
}
-if {![variant_isset python26] && ![variant_isset python27]} {
- default_variants +python27
+variant strict description {Enable strict build} {
+ configure.args-replace --disable-strict-build --enable-strict-build
}
+default_variants +strict
+
#
# the following dummy variants are used
# to identify this port's binary dependencies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141104/b533a791/attachment.html>
More information about the macports-changes
mailing list