source: trunk/dports/graphics/potrace/Portfile

Last change on this file was 141677, checked in by khindenburg@…, 2 years ago

potrace: update to 1.13 #49407

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
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: Portfile 141677 2015-10-26 18:22:30Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                potrace
7version             1.13
8categories          graphics
9maintainers         nomaintainer
10license             GPL-2+
11platforms           darwin
12
13description         Transform bitmaps into vector graphics
14
15long_description    Potrace is a utility for tracing a bitmap, which means, \
16                    transforming a bitmap into a smooth, scalable image. \
17                    The input is a bitmap (PBM, PGM, PPM, or BMP), and the \
18                    default output is one of several vector file formats. A \
19                    typical use is to create EPS files from scanned data, \
20                    such as company or university logos, handwritten notes, \
21                    etc. The resulting image is not "jaggy" like a bitmap, \
22                    but smooth. It can then be rendered at any resolution.
23
24homepage            http://potrace.sourceforge.net/
25master_sites        sourceforge:project/potrace/${version}/
26
27checksums           rmd160  ff51f938641bfc81236dd4daba54c00915e883c0 \
28                    sha256  6252438b6b6644b9b6298056b4c5de3690a1d4e862b66889abe21eecdf16b784
29
30depends_lib         port:zlib
31
32configure.args      --with-libpotrace
33
34post-destroot {
35    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36    xinstall -m 644 -W ${worksrcpath} \
37        AUTHORS COPYING ChangeLog NEWS README \
38        ${destroot}${prefix}/share/doc/${name}
39}
40
41variant metric_default \
42    description {compile potrace with centimeters as the default unit \
43        instead of inches.} { \
44    configure.args-append   --enable-metric
45}
46
47variant a4_default \
48    description {compile potrace with A4 as the default page size.} { \
49    configure.args-append   --enable-a4
50}
51
52livecheck.type  regex
53livecheck.url   ${homepage}
54livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.