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
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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 3 4 4 5 name figlet 5 version 2.2. 46 version 2.2.5 6 7 categories textproc amusements 7 8 maintainers toby … … 12 13 homepage http://www.figlet.org/ 13 14 platforms darwin freebsd 14 15 15 master_sites ftp://ftp.figlet.org/pub/figlet/program/unix/ \ 16 http://ftp.ch.openbsd.org/pub/OpenBSD/distfiles/ 16 master_sites ftp://ftp.figlet.org/pub/figlet/program/unix/ 17 17 18 checksums md5 ea048d8d0b56f9c58e55514d4eb04203 \ 19 sha1 365f1fce8525c0ff23631661f96534f06822e423 \ 20 rmd160 158c833e7176f32b1f702482c4cb51dbfe2a4002 18 checksums rmd160 37abd6fc6ffdd7c0057850425640fe544278a2d9 \ 19 sha256 bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d 21 20 22 21 patchfiles patch-Makefile patch-figlet.6 23 22 24 configure { 23 use_configure no 24 25 variant universal {} 26 27 post-patch { 25 28 reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile" 26 29 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" 28 32 }