| 1 | # $Id: Portfile 26236 2007-06-16 20:03:34Z ryandesign@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name inkscape |
|---|
| 5 | version 0.45.1 |
|---|
| 6 | revision 1 |
|---|
| 7 | maintainers rhwood yves |
|---|
| 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 | |
|---|
| 39 | configure.args \ |
|---|
| 40 | --mandir=${prefix}/share/man \ |
|---|
| 41 | --with-xft \ |
|---|
| 42 | --with-gnome-print \ |
|---|
| 43 | --with-gnome-vfs \ |
|---|
| 44 | --with-perl \ |
|---|
| 45 | --with-python=${prefix}/bin/python2.5 \ |
|---|
| 46 | --enable-lcms \ |
|---|
| 47 | --enable-inkboard |
|---|
| 48 | |
|---|
| 49 | default_variants \ |
|---|
| 50 | disable_debugging |
|---|
| 51 | |
|---|
| 52 | variant disable_debugging conflicts enable_debugging { |
|---|
| 53 | # this variant strips the executables saving @200MB of disk space |
|---|
| 54 | # at the cost of not being able to get meaningful debugging information |
|---|
| 55 | # in the event of an application crash |
|---|
| 56 | post-destroot { |
|---|
| 57 | system "strip ${destroot}${prefix}/bin/inkscape" |
|---|
| 58 | system "strip ${destroot}${prefix}/bin/inkview" |
|---|
| 59 | } |
|---|
| 60 | } |
|---|
| 61 | |
|---|
| 62 | variant enable_debugging conflicts disable_debugging { |
|---|
| 63 | # does nothing but offer a counter-point to disable_debugging |
|---|
| 64 | } |
|---|