Ticket #35662: figlet-2.2.5.diff

File figlet-2.2.5.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

Portfile patch

  • Portfile

     
     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
    12# $Id$
    23
    34PortSystem 1.0
     
    34
    45name            figlet
    5 version         2.2.4
     6version         2.2.5
    67categories      textproc amusements
    78maintainers     toby
     
    1213homepage        http://www.figlet.org/
    1314platforms       darwin freebsd
    1415
    15 master_sites    ftp://ftp.figlet.org/pub/figlet/program/unix/ \
    16                 http://ftp.ch.openbsd.org/pub/OpenBSD/distfiles/
     16master_sites    ftp://ftp.figlet.org/pub/figlet/program/unix/
    1717
    18 checksums       md5 ea048d8d0b56f9c58e55514d4eb04203 \
    19                 sha1 365f1fce8525c0ff23631661f96534f06822e423 \
    20                 rmd160 158c833e7176f32b1f702482c4cb51dbfe2a4002
     18checksums       rmd160  37abd6fc6ffdd7c0057850425640fe544278a2d9 \
     19                sha256  bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d
    2120
    2221patchfiles      patch-Makefile patch-figlet.6
    2322
    24 configure {
     23use_configure   no
     24
     25variant universal {}
     26
     27post-patch {
    2528    reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile"
    2629    reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/Makefile"
    27     reinplace "s|__CFLAGS__|${configure.cflags}|" "${worksrcpath}/Makefile"
     30    reinplace "s|__CFLAGS__|${configure.cflags} [get_canonical_archflags cc]|" "${worksrcpath}/Makefile"
     31    reinplace "s|__LDFLAGS__|[get_canonical_archflags ld]|" "${worksrcpath}/Makefile"
    2832}