source: trunk/dports/print/ppmtomd/Portfile @ 90232

Last change on this file since 90232 was 86975, checked in by ryandesign@…, 8 years ago

ppmtomd: fix build with latest netpbm; add universal variant; build for the right archs; ensure we're UsingTheRightCompiler

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