source: trunk/dports/textproc/figlet/Portfile

Last change on this file was 97135, checked in by ryandesign@…, 5 years ago

figlet: license BSD

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
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
2# $Id: Portfile 97135 2012-08-27 23:50:00Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            figlet
7version         2.2.5
8categories      textproc amusements
9maintainers     toby
10license         BSD
11
12description     banner-like program prints strings as ASCII art
13long_description \
14    FIGlet is a program for making large letters out of ordinary text
15homepage        http://www.figlet.org/
16platforms       darwin freebsd
17
18master_sites    ftp://ftp.figlet.org/pub/figlet/program/unix/
19
20checksums       rmd160  37abd6fc6ffdd7c0057850425640fe544278a2d9 \
21                sha256  bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d
22
23patchfiles      patch-Makefile patch-figlet.6
24
25use_configure   no
26
27variant universal {}
28
29post-patch {
30    reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile"
31    reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/Makefile"
32    reinplace "s|__CFLAGS__|${configure.cflags} [get_canonical_archflags cc]|" "${worksrcpath}/Makefile"
33    reinplace "s|__LDFLAGS__|[get_canonical_archflags ld]|" "${worksrcpath}/Makefile"
34}
Note: See TracBrowser for help on using the repository browser.