source: trunk/dports/print/ppmtomd/Portfile

Last change on this file was 98706, checked in by ryandesign@…, 5 years ago

ppmtomd: increase revision to rebuild with libnetpbm.11.dylib

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 98706 2012-10-13 11:10:34Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    ppmtomd
7version                 1.6
8revision                1
9categories              print
10platforms               darwin
11maintainers             ryandesign openmaintainer
12license                 GPL-2+
13homepage                http://ppmtomd.julianbradfield.org/
14master_sites            ${homepage}
15use_parallel_build      yes
16
17description \
18    driver for the Alps Micro-Dry series of printers
19
20long_description \
21    This program drives the Alps Micro-Dry series of printers, including \
22    the Citizen Printiva series, Alps MD series, and Oki DP series (but \
23    not yet the DP-7000). \
24    \
25    In the current release, the program drives the standard mode fairly \
26    well\; the dye sublimation mode very well\; and the VPhoto mode \
27    reasonably well. \
28    \
29    It supports all the colours available up to the DP-5000, including the \
30    foil colours.
31
32checksums \
33    md5     5f064a9e49e3366914e52e8ea35a9878 \
34    sha1    d5283be72872224a79af1a5d1e78a7870e81243b \
35    rmd160  e446296836226b756270cbb270bb3d8735965354
36
37depends_lib \
38    port:netpbm
39
40variant universal {}
41
42patchfiles \
43    patch-Makefile.diff
44
45configure.cppflags-append   -I${prefix}/include/netpbm
46
47post-patch {
48    reinplace "s%@PREFIX@%${prefix}%g" ${worksrcpath}/Makefile
49    reinplace "s%@DESTROOT@%${destroot}%g" ${worksrcpath}/Makefile
50    reinplace "s%@CFLAGS@%${configure.cflags}%g" ${worksrcpath}/Makefile
51    reinplace "s%@CPPFLAGS@%${configure.cppflags}%g" ${worksrcpath}/Makefile
52    reinplace "s%@LDFLAGS@%${configure.ldflags}%g" ${worksrcpath}/Makefile
53}
54
55use_configure           no
56
57build.args              CC="${configure.cc} [get_canonical_archflags]"
58
59livecheck.type          regex
60livecheck.url           ${homepage}
61livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.