1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name gl2ps |
---|
8 | version 1.3.5 |
---|
9 | categories graphics print |
---|
10 | license lgpl |
---|
11 | maintainers nomaintainer@macports.org |
---|
12 | homepage http://geuz.org/gl2ps |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | description an OpenGL to PostScript printing library |
---|
16 | |
---|
17 | long_description GL2PS is a C library providing high quality vector \ |
---|
18 | output for any OpenGL application. The main difference \ |
---|
19 | between GL2PS and other similar libraries is the use of \ |
---|
20 | sorting algorithms capable of handling intersecting and \ |
---|
21 | stretched polygons, as well as non manifold objects. \ |
---|
22 | GL2PS provides advanced smooth shading and text \ |
---|
23 | rendering, culling of invisible primitives, mixed \ |
---|
24 | vector/bitmap output, and much more... |
---|
25 | |
---|
26 | master_sites ${homepage} |
---|
27 | |
---|
28 | checksums md5 22e51ff57ecd35cb1cc22497a178a017 \ |
---|
29 | sha1 cf2c5220662581f48ef59173c64f41dc47011c6b \ |
---|
30 | rmd160 bced0f28d0912670ee09c847a47e87c6787e94c3 |
---|
31 | |
---|
32 | depends_lib-append port:zlib \ |
---|
33 | port:libpng \ |
---|
34 | port:ghostscript \ |
---|
35 | |
---|
36 | master_sites ${homepage}/src/ |
---|
37 | |
---|
38 | distfiles gl2ps-${version}.tgz |
---|
39 | |
---|
40 | extract.suffix .tgz |
---|
41 | |
---|
42 | worksrcdir ${name}-${version}-source |
---|
43 | |
---|
44 | |
---|
45 | configure.universal_args |
---|
46 | |
---|
47 | use_parallel_build yes |
---|
48 | |
---|
49 | test.run yes |
---|
50 | |
---|
51 | livecheck.type none |
---|
52 | |
---|
53 | configure.args-append -DZLIB_INCLUDE_DIR=${prefix}/include \ |
---|
54 | -DZLIB_LIBRARY=${prefix}/lib/libz.dylib \ |
---|
55 | -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \ |
---|
56 | -DPNG_INCLUDE_DIR=${prefix}/include |
---|
57 | |
---|
58 | variant bibtex description {Add BibTeX support} { |
---|
59 | depends_lib-append port:bibtex2html |
---|
60 | configure.args-append -DBIBTEX_COMPILER=${prefix}/lib/ |
---|
61 | } |
---|
62 | |
---|
63 | variant latex description {Add LaTeX support} { |
---|
64 | depends_lib-append port:latex2html |
---|
65 | configure.args-append -DLATEX2HTML_CONVERTER=${prefix}/lib/ |
---|
66 | } |
---|