# $Id: Portfile 32908 2008-01-15 00:26:48Z ryandesign@macports.org $ PortSystem 1.0 name ppmtomd version 1.5 categories print platforms darwin maintainers ryandesign openmaintainer homepage http://ppmtomd.julianbradfield.org/ master_sites ${homepage} description long_description checksums \ md5 6ba142a5fc9bcae23a44141f193ce90e \ sha1 5c33b8a37fd2ce66e182bef737360e6c73e5e2d1 \ rmd160 8cff67ee3553eaeea7a824d1d7d495b4682a5a8a universal_variant no patchfiles \ patch-Makefile.diff configure { # reinplace "s%/usr/local%${destroot}${prefix}%g" ${worksrcpath}/Makefile # reinplace -E "s%^(CDEBUGFLAGS=).*$%\\1${configure.cflags} ${configure.cppflags}%g" ${worksrcpath}/Makefile # reinplace -E "s%^# (LDLIBS=).*$%\\1${configure.ldflags}%g" ${worksrcpath}/Makefile 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 } #build.env-append \ # BINDIR=${destroot}${prefix}/bin \ # MANDIR=${destroot}${prefix}/man \ # CDEBUGFLAGS="${configure.cflags} ${configure.cppflags}" livecheck.check regex livecheck.url ${homepage} livecheck.regex ${name}-(\[0-9.\]+)\\.tar