[97131] trunk/dports/textproc/figlet
ryandesign at macports.org
ryandesign at macports.org
Mon Aug 27 16:45:51 PDT 2012
Revision: 97131
https://trac.macports.org/changeset/97131
Author: ryandesign at macports.org
Date: 2012-08-27 16:45:51 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
figlet: update to 2.2.5; ensure we're UsingTheRightCompiler and -arch flags; add standard modeline; remove a master_sites entry that does not have this version; see #35662 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/textproc/figlet/Portfile
trunk/dports/textproc/figlet/files/patch-Makefile
Modified: trunk/dports/textproc/figlet/Portfile
===================================================================
--- trunk/dports/textproc/figlet/Portfile 2012-08-27 23:33:14 UTC (rev 97130)
+++ trunk/dports/textproc/figlet/Portfile 2012-08-27 23:45:51 UTC (rev 97131)
@@ -1,3 +1,4 @@
+# -*- 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
# $Id$
PortSystem 1.0
@@ -3,5 +4,5 @@
name figlet
-version 2.2.4
+version 2.2.5
categories textproc amusements
maintainers toby
@@ -12,17 +13,20 @@
homepage http://www.figlet.org/
platforms darwin freebsd
-master_sites ftp://ftp.figlet.org/pub/figlet/program/unix/ \
- http://ftp.ch.openbsd.org/pub/OpenBSD/distfiles/
+master_sites ftp://ftp.figlet.org/pub/figlet/program/unix/
-checksums md5 ea048d8d0b56f9c58e55514d4eb04203 \
- sha1 365f1fce8525c0ff23631661f96534f06822e423 \
- rmd160 158c833e7176f32b1f702482c4cb51dbfe2a4002
+checksums rmd160 37abd6fc6ffdd7c0057850425640fe544278a2d9 \
+ sha256 bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d
patchfiles patch-Makefile patch-figlet.6
-configure {
+use_configure no
+
+variant universal {}
+
+post-patch {
reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile"
reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/Makefile"
- reinplace "s|__CFLAGS__|${configure.cflags}|" "${worksrcpath}/Makefile"
+ reinplace "s|__CFLAGS__|${configure.cflags} [get_canonical_archflags cc]|" "${worksrcpath}/Makefile"
+ reinplace "s|__LDFLAGS__|[get_canonical_archflags ld]|" "${worksrcpath}/Makefile"
}
Modified: trunk/dports/textproc/figlet/files/patch-Makefile
===================================================================
--- trunk/dports/textproc/figlet/files/patch-Makefile 2012-08-27 23:33:14 UTC (rev 97130)
+++ trunk/dports/textproc/figlet/files/patch-Makefile 2012-08-27 23:45:51 UTC (rev 97131)
@@ -1,17 +1,20 @@
---- Makefile.orig 2011-03-22 11:30:01.000000000 -0700
-+++ Makefile 2011-03-22 11:30:46.000000000 -0700
-@@ -19,8 +19,8 @@
+--- Makefile.orig 2012-06-01 07:51:09.000000000 -0500
++++ Makefile 2012-08-13 18:18:54.000000000 -0500
+@@ -19,23 +19,23 @@
SHELL = /bin/sh
# The C compiler and linker to use
-CC = gcc
-CFLAGS = -g -O2 -Wall
+-LD = gcc
+-LDFLAGS =
+CC = __CC__
+CFLAGS = -g __CFLAGS__ -Wall
- LD = gcc
- LDFLAGS =
++LD = __CC__
++LDFLAGS = __LDFLAGS__
-@@ -29,13 +29,13 @@
+ # Feature flags:
+ # define TLF_FONTS to use TOIlet TLF fonts
XCFLAGS = -DTLF_FONTS
# Where to install files
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/de0dd178/attachment.html>
More information about the macports-changes
mailing list