[77203] trunk/dports/textproc/figlet
toby at macports.org
toby at macports.org
Tue Mar 22 11:35:05 PDT 2011
Revision: 77203
http://trac.macports.org/changeset/77203
Author: toby at macports.org
Date: 2011-03-22 11:35:03 -0700 (Tue, 22 Mar 2011)
Log Message:
-----------
figlet 2.2.4
Modified Paths:
--------------
trunk/dports/textproc/figlet/Portfile
trunk/dports/textproc/figlet/files/patch-Makefile
trunk/dports/textproc/figlet/files/patch-figlet.6
Removed Paths:
-------------
trunk/dports/textproc/figlet/files/patch-chkfont.c
Modified: trunk/dports/textproc/figlet/Portfile
===================================================================
--- trunk/dports/textproc/figlet/Portfile 2011-03-22 16:25:47 UTC (rev 77202)
+++ trunk/dports/textproc/figlet/Portfile 2011-03-22 18:35:03 UTC (rev 77203)
@@ -3,7 +3,7 @@
PortSystem 1.0
name figlet
-version 2.2.2
+version 2.2.4
categories textproc amusements
maintainers toby
description banner-like program prints strings as ASCII art
@@ -13,25 +13,15 @@
platforms darwin freebsd
master_sites ftp://ftp.figlet.org/pub/figlet/program/unix/
-distname ${name}[string map {"." ""} ${version}]
-dist_subdir ${name}/fix
+checksums md5 ea048d8d0b56f9c58e55514d4eb04203 \
+ sha1 365f1fce8525c0ff23631661f96534f06822e423 \
+ rmd160 158c833e7176f32b1f702482c4cb51dbfe2a4002
-checksums md5 5f84ad52d092d5db4ad5916df767646b \
- sha1 9578892559cda95f076507299fb6d689c809ce42 \
- rmd160 58a3cca61639f07595df2dad4e8e505c639d02ad
+patchfiles patch-Makefile patch-figlet.6
-patchfiles patch-Makefile patch-figlet.6 patch-chkfont.c
-
configure {
reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile"
reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/Makefile"
reinplace "s|__CFLAGS__|${configure.cflags}|" "${worksrcpath}/Makefile"
}
-
-destroot.destdir DESTROOT=${destroot}
-
-post-destroot {
- file attributes ${destroot}${prefix}/bin/figlist -permissions +x
- file attributes ${destroot}${prefix}/bin/showfigfonts -permissions +x
-}
Modified: trunk/dports/textproc/figlet/files/patch-Makefile
===================================================================
--- trunk/dports/textproc/figlet/files/patch-Makefile 2011-03-22 16:25:47 UTC (rev 77202)
+++ trunk/dports/textproc/figlet/files/patch-Makefile 2011-03-22 18:35:03 UTC (rev 77203)
@@ -1,28 +1,29 @@
---- Makefile.orig 2009-04-06 00:19:30.000000000 -0700
-+++ Makefile 2009-04-06 00:27:20.000000000 -0700
-@@ -11,19 +11,19 @@
- # Don't change this even if your shell is different. The only reason
- # for changing this is if sh is not in the same place.
+--- Makefile.orig 2011-03-22 11:30:01.000000000 -0700
++++ Makefile 2011-03-22 11:30:46.000000000 -0700
+@@ -19,8 +19,8 @@
SHELL = /bin/sh
--CC = gcc
--CFLAGS = -g
-+CC = __CC__
-+CFLAGS = __CFLAGS__
+ # The C compiler and linker to use
+-CC = gcc
+-CFLAGS = -g -O2 -Wall
++CC = __CC__
++CFLAGS = -g __CFLAGS__ -Wall
+ LD = gcc
+ LDFLAGS =
+
+@@ -29,13 +29,13 @@
+ XCFLAGS = -DTLF_FONTS
+
+ # Where to install files
+-prefix = /usr/local
++prefix = __PREFIX__
+
# Where the executables should be put
--DESTDIR = /usr/local/bin
-+DESTDIR = $(DESTROOT)__PREFIX__/bin
+ BINDIR = $(prefix)/bin
# Where the man page should be put
--MANDIR = /usr/local/man/man6
-+MANDIR = $(DESTROOT)__PREFIX__/share/man/man6
+-MANDIR = $(prefix)/man
++MANDIR = $(prefix)/share/man
# Where figlet will search first for fonts (the ".flf" files).
--DEFAULTFONTDIR = /usr/local/share/figlet
-+DEFAULTFONTDIR = $(DESTROOT)__PREFIX__/share/figlet
- # Use this definition if you can't put things in /usr/local/share/figlet
--DEFAULTFONTDIR = fonts
-+#DEFAULTFONTDIR = fonts
-
- # The filename of the font to be used if no other is specified
- # (standard.flf is recommended, but any other can be used).
+ DEFAULTFONTDIR = $(prefix)/share/figlet
Deleted: trunk/dports/textproc/figlet/files/patch-chkfont.c
===================================================================
--- trunk/dports/textproc/figlet/files/patch-chkfont.c 2011-03-22 16:25:47 UTC (rev 77202)
+++ trunk/dports/textproc/figlet/files/patch-chkfont.c 2011-03-22 18:35:03 UTC (rev 77203)
@@ -1,10 +0,0 @@
---- chkfont.c.orig 2009-04-06 00:31:50.000000000 -0700
-+++ chkfont.c 2009-04-06 00:32:03.000000000 -0700
-@@ -1,6 +1,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
-+#include <stdlib.h>
-
- #define DATE "20 Feb 1996"
- #define VERSION "2.2"
Modified: trunk/dports/textproc/figlet/files/patch-figlet.6
===================================================================
--- trunk/dports/textproc/figlet/files/patch-figlet.6 2011-03-22 16:25:47 UTC (rev 77202)
+++ trunk/dports/textproc/figlet/files/patch-figlet.6 2011-03-22 18:35:03 UTC (rev 77203)
@@ -1,6 +1,6 @@
--- figlet.6.orig Sat Jul 13 05:57:21 2002
+++ figlet.6 Mon Nov 22 06:53:15 2004
-@@ -54,7 +54,27 @@
+@@ -55,7 +55,27 @@
[
.I message
]
@@ -29,7 +29,7 @@
.SH DESCRIPTION
.B FIGlet
prints its input using large characters
-@@ -98,6 +118,23 @@
+@@ -103,6 +123,23 @@
in compressed form.
See
.BR "COMPRESSED FONTS" .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110322/f417a988/attachment.html>
More information about the macports-changes
mailing list