aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/figlet/Makefile17
-rw-r--r--misc/figlet/distinfo4
-rw-r--r--misc/figlet/files/patch-aa43
-rw-r--r--misc/figlet/pkg-plist120
4 files changed, 96 insertions, 88 deletions
diff --git a/misc/figlet/Makefile b/misc/figlet/Makefile
index f168be70f43b..0d678a358523 100644
--- a/misc/figlet/Makefile
+++ b/misc/figlet/Makefile
@@ -5,31 +5,32 @@
#
# $FreeBSD$
#
-# NOTE that the figlet port is purposefully not upgraded to the 2.2.2
-# version until we can determine if the 'Academic Free License 2.1'
-# vs. the Artistic License is better for us.
PORTNAME= figlet
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/program/unix/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
-DISTNAME= figlet221
MAINTAINER= obrien@FreeBSD.org
COMMENT= SysV banner-like program prints strings in large fancy ASCII art
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+MAKE_ENV= datadir=${DATADIR} prefix=${PREFIX}
+
MAN6= figlet.6
do-install:
- @ ${MKDIR} ${PREFIX}/share/figlet
+ @ ${MKDIR} ${DATADIR}
@ ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${PREFIX}/bin
@ ${INSTALL_SCRIPT} ${WRKSRC}/figlist ${PREFIX}/bin
@ ${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${PREFIX}/bin
- @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${PREFIX}/share/figlet
- @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${PREFIX}/share/figlet
+ @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${DATADIR}
+ @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${DATADIR}
@ ${INSTALL_MAN} ${WRKSRC}/figlet.6 ${PREFIX}/man/man6
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/misc/figlet/distinfo b/misc/figlet/distinfo
index 0e9c691f2806..8d3e3d08d075 100644
--- a/misc/figlet/distinfo
+++ b/misc/figlet/distinfo
@@ -1,2 +1,2 @@
-SHA256 (figlet221.tar.gz) = 8793b2a090924591d119f6dbd6c10f829dbc1fe7edef76e321b0664956b25a2e
-SIZE (figlet221.tar.gz) = 172219
+SHA256 (figlet-2.2.4.tar.gz) = 6e1801b3fd32ea33a470a92b5d04955fba5c7992feae777ee0e8b8ca52ad0ca7
+SIZE (figlet-2.2.4.tar.gz) = 229245
diff --git a/misc/figlet/files/patch-aa b/misc/figlet/files/patch-aa
index a5b7365825ca..c879d3d10d04 100644
--- a/misc/figlet/files/patch-aa
+++ b/misc/figlet/files/patch-aa
@@ -1,24 +1,31 @@
---- Makefile.orig Sat Jul 13 03:24:16 2002
-+++ Makefile Mon Oct 7 11:10:48 2002
-@@ -13,15 +13,15 @@
+--- Makefile.orig 2011-01-26 18:36:21.000000000 +0800
++++ Makefile 2011-07-21 09:58:28.753010869 +0800
+@@ -19,8 +19,8 @@
SHELL = /bin/sh
--CC = gcc
--CFLAGS = -g
-+#CC = gcc
-+#CFLAGS = -g
- # Where the executables should be put
--DESTDIR = /usr/local/bin
-+DESTDIR = $(PREFIX)/bin
+ # The C compiler and linker to use
+-CC = gcc
+-CFLAGS = -g -O2 -Wall
++#CC = gcc
++#CFLAGS = -g -O2 -Wall
+ LD = gcc
+ LDFLAGS =
+
+@@ -29,7 +29,7 @@
+ XCFLAGS = -DTLF_FONTS
- # Where the man page should be put
--MANDIR = /usr/local/man/man6
-+MANDIR = $(PREFIX)/man/man6
+ # Where to install files
+-prefix = /usr/local
++#prefix = /usr/local
+
+ # Where the executables should be put
+ BINDIR = $(prefix)/bin
+@@ -38,7 +38,7 @@
+ MANDIR = $(prefix)/man
# Where figlet will search first for fonts (the ".flf" files).
--DEFAULTFONTDIR = /usr/local/share/figlet
-+DEFAULTFONTDIR = $(PREFIX)/share/figlet
- # Use this definition if you can't put things in /usr/local/share/figlet
--DEFAULTFONTDIR = fonts
-+#DEFAULTFONTDIR = fonts
+-DEFAULTFONTDIR = $(prefix)/share/figlet
++DEFAULTFONTDIR = $(datadir)
+ # Use this definition if you can't put things in $(prefix)/share/figlet
+ #DEFAULTFONTDIR = fonts
diff --git a/misc/figlet/pkg-plist b/misc/figlet/pkg-plist
index e6c46b9895ee..e158af24e36b 100644
--- a/misc/figlet/pkg-plist
+++ b/misc/figlet/pkg-plist
@@ -1,65 +1,65 @@
@comment $FreeBSD$
-bin/figlet
bin/chkfont
+bin/figlet
bin/figlist
bin/showfigfonts
-share/figlet/646-ca.flc
-share/figlet/646-ca2.flc
-share/figlet/646-cn.flc
-share/figlet/646-cu.flc
-share/figlet/646-de.flc
-share/figlet/646-dk.flc
-share/figlet/646-es.flc
-share/figlet/646-es2.flc
-share/figlet/646-fr.flc
-share/figlet/646-gb.flc
-share/figlet/646-hu.flc
-share/figlet/646-irv.flc
-share/figlet/646-it.flc
-share/figlet/646-jp.flc
-share/figlet/646-kr.flc
-share/figlet/646-no.flc
-share/figlet/646-no2.flc
-share/figlet/646-pt.flc
-share/figlet/646-pt2.flc
-share/figlet/646-se.flc
-share/figlet/646-se2.flc
-share/figlet/646-yu.flc
-share/figlet/8859-2.flc
-share/figlet/8859-3.flc
-share/figlet/8859-4.flc
-share/figlet/8859-5.flc
-share/figlet/8859-7.flc
-share/figlet/8859-8.flc
-share/figlet/8859-9.flc
-share/figlet/banner.flf
-share/figlet/big.flf
-share/figlet/block.flf
-share/figlet/bubble.flf
-share/figlet/digital.flf
-share/figlet/frango.flc
-share/figlet/hz.flc
-share/figlet/ilhebrew.flc
-share/figlet/ivrit.flf
-share/figlet/jis0201.flc
-share/figlet/koi8r.flc
-share/figlet/lean.flf
-share/figlet/mini.flf
-share/figlet/mnemonic.flf
-share/figlet/moscow.flc
-share/figlet/script.flf
-share/figlet/shadow.flf
-share/figlet/slant.flf
-share/figlet/small.flf
-share/figlet/smscript.flf
-share/figlet/smshadow.flf
-share/figlet/smslant.flf
-share/figlet/standard.flf
-share/figlet/term.flf
-share/figlet/upper.flc
-share/figlet/ushebrew.flc
-share/figlet/uskata.flc
-share/figlet/utf8.flc
-@dirrm share/figlet
+%%DATADIR%%/646-ca.flc
+%%DATADIR%%/646-ca2.flc
+%%DATADIR%%/646-cn.flc
+%%DATADIR%%/646-cu.flc
+%%DATADIR%%/646-de.flc
+%%DATADIR%%/646-dk.flc
+%%DATADIR%%/646-es.flc
+%%DATADIR%%/646-es2.flc
+%%DATADIR%%/646-fr.flc
+%%DATADIR%%/646-gb.flc
+%%DATADIR%%/646-hu.flc
+%%DATADIR%%/646-irv.flc
+%%DATADIR%%/646-it.flc
+%%DATADIR%%/646-jp.flc
+%%DATADIR%%/646-kr.flc
+%%DATADIR%%/646-no.flc
+%%DATADIR%%/646-no2.flc
+%%DATADIR%%/646-pt.flc
+%%DATADIR%%/646-pt2.flc
+%%DATADIR%%/646-se.flc
+%%DATADIR%%/646-se2.flc
+%%DATADIR%%/646-yu.flc
+%%DATADIR%%/8859-2.flc
+%%DATADIR%%/8859-3.flc
+%%DATADIR%%/8859-4.flc
+%%DATADIR%%/8859-5.flc
+%%DATADIR%%/8859-7.flc
+%%DATADIR%%/8859-8.flc
+%%DATADIR%%/8859-9.flc
+%%DATADIR%%/banner.flf
+%%DATADIR%%/big.flf
+%%DATADIR%%/block.flf
+%%DATADIR%%/bubble.flf
+%%DATADIR%%/digital.flf
+%%DATADIR%%/frango.flc
+%%DATADIR%%/hz.flc
+%%DATADIR%%/ilhebrew.flc
+%%DATADIR%%/ivrit.flf
+%%DATADIR%%/jis0201.flc
+%%DATADIR%%/koi8r.flc
+%%DATADIR%%/lean.flf
+%%DATADIR%%/mini.flf
+%%DATADIR%%/mnemonic.flf
+%%DATADIR%%/moscow.flc
+%%DATADIR%%/script.flf
+%%DATADIR%%/shadow.flf
+%%DATADIR%%/slant.flf
+%%DATADIR%%/small.flf
+%%DATADIR%%/smscript.flf
+%%DATADIR%%/smshadow.flf
+%%DATADIR%%/smslant.flf
+%%DATADIR%%/standard.flf
+%%DATADIR%%/term.flf
+%%DATADIR%%/upper.flc
+%%DATADIR%%/ushebrew.flc
+%%DATADIR%%/uskata.flc
+%%DATADIR%%/utf8.flc
+@dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/figfont.txt
-%%PORTDOCS%%@dirrm share/doc/figlet
+%%PORTDOCS%%@dirrm %%DOCSDIR%%