source: trunk/dports/graphics/potrace/Portfile @ 20312

Last change on this file since 20312 was 20312, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 20312 2006-11-01 21:50:13Z blair@macports.org $
2
3PortSystem                      1.0
4name                            potrace
5version                         1.7
6categories                      graphics
7maintainers                     darwinports@opendarwin.org
8description                     Transform bitmaps into vector graphics
9long_description \
10        Potrace is a utility for tracing a bitmap, which means, transforming a \
11        bitmap into a smooth, scalable image.  The input is a bitmap (PBM, PGM, \
12        PPM, or BMP), and the default output is one of several vector file \
13        formats.  A typical use is to create EPS files from scanned data, such \
14        as company or university logos, handwritten notes, etc.  The resulting \
15        image is not "jaggy" like a bitmap, but smooth. It can then be rendered \
16        at any resolution.
17
18platforms                       darwin
19
20homepage                        http://potrace.sourceforge.net/
21master_sites            ${homepage}download/
22
23checksums                       md5 8bfaabf935c03643a6875bde36fe6302 \
24                                        sha1 281d041c97c48a8f469b9951c8d778774128dbf5
25
26depends_lib                     lib:libz:zlib
27
28configure.args          --mandir=${prefix}/share/man
29
30post-destroot {
31        xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
32        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
33                NEWS README ${destroot}/${prefix}/share/doc/${name}
34}
35
36variant metric_default {
37        configure.args-append   --enable-metric
38}
39
40variant a4_default {
41        configure.args-append   --enable-a4
42}
43
Note: See TracBrowser for help on using the repository browser.