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 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name inkscape |
---|
7 | conflicts inkscape-devel |
---|
8 | version 0.47 |
---|
9 | revision 0 |
---|
10 | maintainers devans |
---|
11 | categories graphics gnome |
---|
12 | platforms darwin |
---|
13 | homepage http://www.inkscape.org/ |
---|
14 | |
---|
15 | description Inkscape is an open source SVG editor. |
---|
16 | |
---|
17 | long_description \ |
---|
18 | Inkscape is an open source SVG editor with \ |
---|
19 | capabilities similar to Illustrator, CorelDraw, \ |
---|
20 | Visio, etc. Supported SVG features include basic \ |
---|
21 | shapes, paths, text, alpha blending, transforms, \ |
---|
22 | gradients, node editing, svg-to-png export, \ |
---|
23 | grouping, and more. |
---|
24 | |
---|
25 | universal_variant no |
---|
26 | |
---|
27 | use_bzip2 yes |
---|
28 | master_sites sourceforge |
---|
29 | checksums md5 7b497c8f673e40b05295a29f6e2111f4 \ |
---|
30 | sha1 7c75352f3882ebf4fcaebc22413bcb79bf3b7895 |
---|
31 | |
---|
32 | depends_lib port:libgnomeprintui \ |
---|
33 | port:boehmgc \ |
---|
34 | port:gsl \ |
---|
35 | port:gtkmm \ |
---|
36 | port:gnome-vfs \ |
---|
37 | port:libxslt \ |
---|
38 | port:lcms \ |
---|
39 | port:dbus \ |
---|
40 | port:dbus-glib \ |
---|
41 | port:py25-xml \ |
---|
42 | port:libcroco \ |
---|
43 | port:poppler \ |
---|
44 | port:py25-numpy \ |
---|
45 | port:py25-lxml \ |
---|
46 | port:boost \ |
---|
47 | port:ImageMagick \ |
---|
48 | port:libwpg |
---|
49 | |
---|
50 | patchfiles patch-configure.diff |
---|
51 | |
---|
52 | configure.args \ |
---|
53 | --mandir=${prefix}/share/man \ |
---|
54 | --with-xft \ |
---|
55 | --with-gnome-print \ |
---|
56 | --with-gnome-vfs \ |
---|
57 | --with-python \ |
---|
58 | --enable-lcms \ |
---|
59 | --enable-inkboard |
---|
60 | |
---|
61 | configure.python \ |
---|
62 | ${prefix}/bin/python2.5 |
---|
63 | |
---|
64 | configure.cppflags-append \ |
---|
65 | -I${worksrcpath}/src/extension/script |
---|
66 | |
---|
67 | default_variants \ |
---|
68 | disable_debugging |
---|
69 | |
---|
70 | variant disable_debugging conflicts enable_debugging description {Disable debugging. Strip executables to save disk space} { |
---|
71 | # this variant strips the executables saving @200MB of disk space |
---|
72 | # at the cost of not being able to get meaningful debugging information |
---|
73 | # in the event of an application crash |
---|
74 | post-destroot { |
---|
75 | system "strip ${destroot}${prefix}/bin/inkscape" |
---|
76 | system "strip ${destroot}${prefix}/bin/inkview" |
---|
77 | } |
---|
78 | } |
---|
79 | |
---|
80 | variant enable_debugging conflicts disable_debugging description {Enable debugging. Executables not stripped} { |
---|
81 | # does nothing but offer a counter-point to disable_debugging |
---|
82 | } |
---|
83 | |
---|
84 | post-patch { |
---|
85 | reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp |
---|
86 | reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h |
---|
87 | reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp |
---|
88 | } |
---|
89 | |
---|
90 | livecheck.type regex |
---|
91 | livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=${name} |
---|
92 | livecheck.regex <title>${name} (\[0-9.\]+) released.*</title> |
---|
93 | |
---|