[77819] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Wed Apr 13 22:22:59 PDT 2011


Revision: 77819
          http://trac.macports.org/changeset/77819
Author:   ryandesign at macports.org
Date:     2011-04-13 22:22:58 -0700 (Wed, 13 Apr 2011)
Log Message:
-----------
gl2ps: new port, version 1.3.5; see #29071

Added Paths:
-----------
    trunk/dports/graphics/gl2ps/
    trunk/dports/graphics/gl2ps/Portfile

Added: trunk/dports/graphics/gl2ps/Portfile
===================================================================
--- trunk/dports/graphics/gl2ps/Portfile	                        (rev 0)
+++ trunk/dports/graphics/gl2ps/Portfile	2011-04-14 05:22:58 UTC (rev 77819)
@@ -0,0 +1,59 @@
+# -*- 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
+# $Id$
+
+PortSystem              1.0
+PortGroup               cmake 1.0
+
+name                    gl2ps
+version                 1.3.5
+categories              graphics print
+platforms               darwin
+maintainers             nomaintainer
+license                 GL2PS-2 LGPL-2
+
+description             an OpenGL to PostScript printing library
+
+long_description        GL2PS is a C library providing high quality vector \
+                        output for any OpenGL application. The main difference \
+                        between GL2PS and other similar libraries is the use of \
+                        sorting algorithms capable of handling intersecting and \
+                        stretched polygons, as well as non manifold objects. \
+                        GL2PS provides advanced smooth shading and text \
+                        rendering, culling of invisible primitives, mixed \
+                        vector/bitmap output, and much more...
+
+homepage                http://geuz.org/gl2ps/
+master_sites            ${homepage}src/
+extract.suffix          .tgz
+
+checksums               sha1    cf2c5220662581f48ef59173c64f41dc47011c6b \
+                        rmd160  bced0f28d0912670ee09c847a47e87c6787e94c3
+
+depends_lib-append      port:zlib \
+                        port:libpng \
+                        port:ghostscript \
+
+worksrcdir              ${name}-${version}-source
+
+configure.args-append   -DZLIB_INCLUDE_DIR=${prefix}/include \
+                        -DZLIB_LIBRARY=${prefix}/lib/libz.dylib \
+                        -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \
+                        -DPNG_INCLUDE_DIR=${prefix}/include
+
+use_parallel_build      yes
+
+test.run                yes
+
+variant bibtex description {Add BibTeX support} {
+    depends_lib-append port:bibtex2html
+    configure.args-append -DBIBTEX_COMPILER=${prefix}/lib/
+}
+
+variant latex description {Add LaTeX support} {
+    depends_lib-append port:latex2html
+    configure.args-append -DLATEX2HTML_CONVERTER=${prefix}/lib/
+}
+
+livecheck.type          regex
+livecheck.url           [lindex ${master_sites} 0]
+livecheck.regex         ${name}-(\[0-9.\]+)\\.


Property changes on: trunk/dports/graphics/gl2ps/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110413/3a57a0b5/attachment.html>


More information about the macports-changes mailing list