diff --git a/graphics/inkscape-devel/Portfile b/graphics/inkscape-devel/Portfile
index 61b48d2c0b29864a7dd8a64a7901164849afc4d0..03ed5f0baa1fca0a6c5ca5bea6e4f67447a926fd 100644
a
|
b
|
|
1 | 1 | # -*- 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 |
2 | 2 | |
3 | 3 | PortSystem 1.0 |
| 4 | PortGroup cmake 1.1 |
| 5 | cmake.generator Ninja |
4 | 6 | |
5 | 7 | name inkscape-devel |
6 | 8 | conflicts inkscape |
7 | | epoch 1 |
| 9 | epoch 2 |
8 | 10 | set git_commit b1b33698810bb8ae6e31e509697ff27d2732e7ac |
9 | | set git_date 20180614 |
10 | | version 0.92.2-${git_date} |
| 11 | # INKSCAPE_0_92_3-19-gb1b3369881 |
| 12 | version 0.92.2.19 |
11 | 13 | license GPL-2 LGPL-2.1 |
12 | 14 | maintainers {devans @dbevans} |
13 | 15 | categories graphics gnome |
… |
… |
homepage http://www.inkscape.org/ |
25 | 27 | fetch.type git |
26 | 28 | git.url git://git.launchpad.net/inkscape |
27 | 29 | git.branch ${git_commit} |
| 30 | worksrcdir ${name} |
| 31 | distname ${name} |
28 | 32 | |
29 | 33 | set perl_version 5.26 |
30 | 34 | |
31 | 35 | depends_build port:pkgconfig \ |
32 | | port:autoconf \ |
33 | | port:automake \ |
34 | | port:libtool \ |
35 | 36 | port:intltool \ |
36 | 37 | port:perl${perl_version} |
37 | 38 | |
38 | 39 | depends_lib port:desktop-file-utils \ |
39 | 40 | port:popt \ |
40 | 41 | path:lib/libgc.dylib:boehmgc \ |
| 42 | path:lib/libgomp.dylib:libomp \ |
41 | 43 | port:gdk-pixbuf2 \ |
42 | 44 | port:gsl \ |
43 | 45 | port:gtkmm \ |
| 46 | port:glibmm \ |
44 | 47 | port:dbus-glib \ |
45 | 48 | port:lcms2 \ |
46 | 49 | port:poppler \ |
… |
… |
depends_lib port:desktop-file-utils \ |
57 | 60 | port:py27-numpy |
58 | 61 | |
59 | 62 | pre-fetch { |
60 | | ui_msg "---> Fetching source from bzr repository: this may take a while" |
| 63 | # the .git directory will be over 1.2Gb large alone so yes, this will take a while. |
| 64 | ui_msg "---> Fetching source from git repository: this will take a while" |
61 | 65 | } |
62 | 66 | |
63 | 67 | patchfiles patch-use-configured-perl.diff |
… |
… |
platform darwin { |
81 | 85 | } |
82 | 86 | } |
83 | 87 | |
84 | | configure.cmd ./autogen.sh && ./configure |
85 | | |
86 | | configure.python ${prefix}/bin/python2.7 |
87 | | |
88 | | configure.args --without-gnome-vfs \ |
89 | | --enable-lcms \ |
90 | | --enable-poppler-cairo \ |
91 | | --enable-dbusapi \ |
92 | | --disable-silent-rules \ |
93 | | --disable-strict-build |
94 | | |
95 | 88 | configure.cppflags-append \ |
96 | 89 | -I${worksrcpath}/src/extension/script |
97 | 90 | |
… |
… |
platform darwin { |
105 | 98 | } |
106 | 99 | } |
107 | 100 | |
108 | | variant strict description {Enable strict build} { |
109 | | configure.args-replace --disable-strict-build --enable-strict-build |
| 101 | variant gtk3 description {Enable experimental GTK+ 3 build} { |
| 102 | depends_lib-delete \ |
| 103 | port:gtkspell2 \ |
| 104 | port:gtk2 \ |
| 105 | port:gtkmm |
| 106 | depends_lib-append \ |
| 107 | port:gtkspell3 \ |
| 108 | port:gtk3 \ |
| 109 | port:gtkmm3 \ |
| 110 | port:gdl3 |
| 111 | } |
| 112 | |
| 113 | configure.args-append \ |
| 114 | -DWITH_GNOME_VFS=OFF \ |
| 115 | -DENABLE_LCMS=ON \ |
| 116 | -DENABLE_POPPLER=ON -DENABLE_POPPLER_CAIRO=ON \ |
| 117 | -DWITH_DBUS=ON |
| 118 | if {[variant_isset gtk3]} { |
| 119 | configure.args-append \ |
| 120 | -DWITH_GTK3_EXPERIMENTAL=ON |
| 121 | } else { |
| 122 | configure.args-append \ |
| 123 | -DWITH_GTK3_EXPERIMENTAL=OFF |
110 | 124 | } |
111 | 125 | |
112 | 126 | # |