1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name gle-graphics |
---|
6 | version 4.2.3b |
---|
7 | categories graphics |
---|
8 | platforms darwin |
---|
9 | maintainers transientskp.org:swinbank |
---|
10 | description Graphics Layout Engine |
---|
11 | long_description A graphics scripting language designed for creating \ |
---|
12 | publication quality graphics, plots, diagrams, figures \ |
---|
13 | and slides. |
---|
14 | homepage http://glx.sourceforge.net/ |
---|
15 | master_sites sourceforge:glx |
---|
16 | distname ${name}-${version}f-src |
---|
17 | checksums md5 5884a1cbf7a0fe5d3a18a235d10f64a8 \ |
---|
18 | sha1 7a0b0ff1be264ce1e7606419f80362efe06c60b5 \ |
---|
19 | rmd160 60381d22ad8e1d17d8cbd9736522b768e2476bfd |
---|
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 | variant gui description {Include QGLE graphical interface} { |
---|
38 | depends_lib-append port:qt4-mac \ |
---|
39 | port:ghostscript |
---|
40 | configure.args-delete --with-qt=no |
---|
41 | configure.args-append --with-qt=${prefix} |
---|
42 | destroot.args-append QGLEDIR=${applications_dir} |
---|
43 | patchfiles-append patch-qgle-carbon.diff \ |
---|
44 | patch-qgle-destdir.diff \ |
---|
45 | patch-qgle-libgs.diff |
---|
46 | use_parallel_build no |
---|
47 | } |
---|