Ticket #13213: Portfile

File Portfile, 1.7 KB (added by tomaz.solc@…, 17 years ago)
Line 
1# $Id: Portfile 30382 2007-10-26 03:51:09Z yves@macports.org $
2
3PortSystem 1.0
4
5name            inkscape
6version         0.45.1
7maintainers     rhwood openmaintainer
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                patch-py-wrap \
39                patch-conn-avoid-ref
40
41configure.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
51configure.env   PYTHON=${prefix}/bin/python2.5
52
53default_variants \
54    disable_debugging
55
56variant 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
66variant enable_debugging conflicts disable_debugging {
67    # does nothing but offer a counter-point to disable_debugging
68}