# -*- 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 ppmtomd
version 1.6
revision 1
categories print
platforms darwin
maintainers ryandesign openmaintainer
license GPL-2+
homepage http://ppmtomd.julianbradfield.org/
master_sites ${homepage}
use_parallel_build yes
description \
driver for the Alps Micro-Dry series of printers
long_description \
This program drives the Alps Micro-Dry series of printers, including \
the Citizen Printiva series, Alps MD series, and Oki DP series (but \
not yet the DP-7000). \
\
In the current release, the program drives the standard mode fairly \
well\; the dye sublimation mode very well\; and the VPhoto mode \
reasonably well. \
\
It supports all the colours available up to the DP-5000, including the \
foil colours.
checksums \
md5 5f064a9e49e3366914e52e8ea35a9878 \
sha1 d5283be72872224a79af1a5d1e78a7870e81243b \
rmd160 e446296836226b756270cbb270bb3d8735965354
depends_lib \
port:netpbm
variant universal {}
patchfiles \
patch-Makefile.diff
configure.cppflags-append -I${prefix}/include/netpbm
post-patch {
reinplace "s%@PREFIX@%${prefix}%g" ${worksrcpath}/Makefile
reinplace "s%@DESTROOT@%${destroot}%g" ${worksrcpath}/Makefile
reinplace "s%@CFLAGS@%${configure.cflags}%g" ${worksrcpath}/Makefile
reinplace "s%@CPPFLAGS@%${configure.cppflags}%g" ${worksrcpath}/Makefile
reinplace "s%@LDFLAGS@%${configure.ldflags}%g" ${worksrcpath}/Makefile
}
use_configure no
build.args CC="${configure.cc} [get_canonical_archflags]"
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex ${name}-(\[0-9.\]+)\\.tar