Ticket #12329: Portfile.2

File Portfile.2, 1.6 KB (added by yves@…, 17 years ago)

inkscape

Line 
1# $Id: Portfile 26236 2007-06-16 20:03:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            inkscape
5version         0.45.1
6revision    1
7maintainers     rhwood yves
8categories      gnome graphics
9platforms       darwin
10homepage        http://www.inkscape.org
11
12description     Inkscape is an open source SVG editor.
13long_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
21master_sites    sourceforge
22checksums       md5 1ac63dfd5d78a676599bf5cf6d22e493 \
23                sha1 f3df9eafc0fdfcc5f5024ea4bec4d7c477698380
24
25depends_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
37patchfiles      patch-configure
38
39configure.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       
49default_variants \
50    disable_debugging
51
52variant 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
62variant enable_debugging conflicts disable_debugging {
63    # does nothing but offer a counter-point to disable_debugging
64}