1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name gle-graphics |
---|
6 | version 4.2.4c |
---|
7 | revision 1 |
---|
8 | categories graphics |
---|
9 | platforms darwin |
---|
10 | maintainers transientskp.org:swinbank |
---|
11 | description Graphics Layout Engine |
---|
12 | long_description A graphics scripting language designed for creating \ |
---|
13 | publication quality graphics, plots, diagrams, figures \ |
---|
14 | and slides. |
---|
15 | homepage http://glx.sourceforge.net/ |
---|
16 | master_sites sourceforge:glx |
---|
17 | distname ${name}-${version}f-src |
---|
18 | checksums rmd160 7628b7dce259708034f1c22af59d2002aa2ef1ee \ |
---|
19 | sha256 21715f2943ca528ec94a8e129175693afc3b59bb03f92540a2150ffe72ab47ef |
---|
20 | depends_lib port:libpng \ |
---|
21 | port:jpeg \ |
---|
22 | port:tiff \ |
---|
23 | port:zlib \ |
---|
24 | port:cairo |
---|
25 | worksrcdir ${name}-${version} |
---|
26 | configure.args --with-jpeg=${prefix} \ |
---|
27 | --with-png=${prefix} \ |
---|
28 | --with-tiff=${prefix} \ |
---|
29 | --with-z=${prefix} \ |
---|
30 | --with-qt=no \ |
---|
31 | --with-manip=yes \ |
---|
32 | --with-debug=no \ |
---|
33 | --with-extrafonts=yes \ |
---|
34 | --with-arch=no \ |
---|
35 | --with-staticlink=no |
---|
36 | |
---|
37 | post-patch { |
---|
38 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/gui/qgslibloader.cpp |
---|
39 | } |
---|
40 | |
---|
41 | variant gui description {Include QGLE graphical interface} { |
---|
42 | depends_lib-append port:qt4-mac \ |
---|
43 | port:ghostscript |
---|
44 | configure.args-delete --with-qt=no |
---|
45 | configure.args-append --with-qt=${prefix} |
---|
46 | destroot.args-append QGLEDIR=${applications_dir} |
---|
47 | patchfiles-append patch-qgle-carbon.diff \ |
---|
48 | patch-qgle-destdir.diff \ |
---|
49 | patch-qgle-libgs.diff \ |
---|
50 | patch-qgle-glu.diff |
---|
51 | use_parallel_build no |
---|
52 | } |
---|