1 | # $Id: Portfile 30382 2007-10-26 03:51:09Z yves@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name inkscape |
---|
6 | version 0.45.1 |
---|
7 | maintainers rhwood openmaintainer |
---|
8 | categories gnome graphics |
---|
9 | platforms darwin |
---|
10 | homepage http://www.inkscape.org |
---|
11 | |
---|
12 | description Inkscape is an open source SVG editor. |
---|
13 | long_description\ |
---|
14 | Inkscape is an open source SVG editor with \ |
---|
15 | capabilities similar to Illustrator, CorelDraw, \ |
---|
16 | Visio, etc. Supported SVG features include basic \ |
---|
17 | shapes, paths, text, alpha blending, transforms, \ |
---|
18 | gradients, node editing, svg-to-png export, \ |
---|
19 | grouping, and more. |
---|
20 | |
---|
21 | master_sites sourceforge |
---|
22 | checksums md5 1ac63dfd5d78a676599bf5cf6d22e493 \ |
---|
23 | sha1 f3df9eafc0fdfcc5f5024ea4bec4d7c477698380 |
---|
24 | |
---|
25 | depends_lib \ |
---|
26 | port:libgnomeprintui \ |
---|
27 | port:boehmgc \ |
---|
28 | port:gtkmm \ |
---|
29 | port:gnome-vfs \ |
---|
30 | port:libxslt \ |
---|
31 | port:lcms \ |
---|
32 | port:dbus \ |
---|
33 | port:dbus-glib \ |
---|
34 | port:py25-xml \ |
---|
35 | port:libcroco |
---|
36 | |
---|
37 | patchfiles patch-configure \ |
---|
38 | patch-py-wrap \ |
---|
39 | patch-conn-avoid-ref |
---|
40 | |
---|
41 | configure.args \ |
---|
42 | --mandir=${prefix}/share/man \ |
---|
43 | --with-xft \ |
---|
44 | --with-gnome-print \ |
---|
45 | --with-gnome-vfs \ |
---|
46 | --with-perl \ |
---|
47 | --with-python \ |
---|
48 | --enable-lcms \ |
---|
49 | --enable-inkboard |
---|
50 | |
---|
51 | configure.env PYTHON=${prefix}/bin/python2.5 |
---|
52 | |
---|
53 | default_variants \ |
---|
54 | disable_debugging |
---|
55 | |
---|
56 | variant disable_debugging conflicts enable_debugging { |
---|
57 | # this variant strips the executables saving @200MB of disk space |
---|
58 | # at the cost of not being able to get meaningful debugging information |
---|
59 | # in the event of an application crash |
---|
60 | post-destroot { |
---|
61 | system "strip ${destroot}${prefix}/bin/inkscape" |
---|
62 | system "strip ${destroot}${prefix}/bin/inkview" |
---|
63 | } |
---|
64 | } |
---|
65 | |
---|
66 | variant enable_debugging conflicts disable_debugging { |
---|
67 | # does nothing but offer a counter-point to disable_debugging |
---|
68 | } |
---|