# -*- 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 PortSystem 1.0 name potrace version 1.16 categories graphics maintainers nomaintainer license GPL-2+ platforms darwin description Transform bitmaps into vector graphics long_description Potrace is a utility for tracing a bitmap, which means, \ transforming a bitmap into a smooth, scalable image. \ The input is a bitmap (PBM, PGM, PPM, or BMP), and the \ default output is one of several vector file formats. A \ typical use is to create EPS files from scanned data, \ such as company or university logos, handwritten notes, \ etc. The resulting image is not "jaggy" like a bitmap, \ but smooth. It can then be rendered at any resolution. homepage http://potrace.sourceforge.net/ master_sites sourceforge:project/potrace/${version}/ checksums rmd160 7301ae2d2ae88e5f9825d7655e046d98a8083a6c \ sha256 be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc \ size 657314 depends_lib port:zlib configure.args --with-libpotrace post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ AUTHORS COPYING ChangeLog NEWS README \ ${destroot}${prefix}/share/doc/${name} } variant metric_default \ description {compile potrace with centimeters as the default unit \ instead of inches.} { \ configure.args-append --enable-metric } variant a4_default \ description {compile potrace with A4 as the default page size.} { \ configure.args-append --enable-a4 } livecheck.type regex livecheck.url ${homepage} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"