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

Last change on this file since 32908 was 32908, checked in by ryandesign@…, 12 years ago

ppmtomd: new port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 32908 2008-01-15 00:26:48Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    ppmtomd
6version                 1.5
7categories              print
8platforms               darwin
9maintainers             ryandesign openmaintainer
10homepage                http://ppmtomd.julianbradfield.org/
11master_sites            ${homepage}
12
13description
14
15long_description
16
17checksums \
18    md5 6ba142a5fc9bcae23a44141f193ce90e \
19    sha1 5c33b8a37fd2ce66e182bef737360e6c73e5e2d1 \
20    rmd160 8cff67ee3553eaeea7a824d1d7d495b4682a5a8a
21
22universal_variant       no
23
24patchfiles \
25    patch-Makefile.diff
26
27configure {
28#    reinplace "s%/usr/local%${destroot}${prefix}%g" ${worksrcpath}/Makefile
29#    reinplace -E "s%^(CDEBUGFLAGS=).*$%\\1${configure.cflags} ${configure.cppflags}%g" ${worksrcpath}/Makefile
30#    reinplace -E "s%^# (LDLIBS=).*$%\\1${configure.ldflags}%g" ${worksrcpath}/Makefile
31    reinplace "s%@PREFIX@%${prefix}%g" ${worksrcpath}/Makefile
32    reinplace "s%@DESTROOT@%${destroot}%g" ${worksrcpath}/Makefile
33    reinplace "s%@CFLAGS@%${configure.cflags}%g" ${worksrcpath}/Makefile
34    reinplace "s%@CPPFLAGS@%${configure.cppflags}%g" ${worksrcpath}/Makefile
35    reinplace "s%@LDFLAGS@%${configure.ldflags}%g" ${worksrcpath}/Makefile
36}
37
38#build.env-append \
39#       BINDIR=${destroot}${prefix}/bin \
40#       MANDIR=${destroot}${prefix}/man \
41#       CDEBUGFLAGS="${configure.cflags} ${configure.cppflags}"
42
43livecheck.check         regex
44livecheck.url           ${homepage}
45livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.