diff options
author | petef <petef@FreeBSD.org> | 2002-05-27 03:08:53 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-05-27 03:08:53 +0800 |
commit | c3106620d5183bdf355819fe2176582869206f44 (patch) | |
tree | ce5574f2578a38cffce1323d872c3931d38494e7 | |
parent | 48266db74a1cd8dc794eabfc7f76108c09add0af (diff) | |
download | freebsd-ports-gnome-c3106620d5183bdf355819fe2176582869206f44.tar.gz freebsd-ports-gnome-c3106620d5183bdf355819fe2176582869206f44.tar.zst freebsd-ports-gnome-c3106620d5183bdf355819fe2176582869206f44.zip |
Add p5-Text-FIGlet 1.06, perl module to provide FIGlet abilities,
akin to banner.
PR: 38530
Submitted by: Daniel B. Hemmerich <dan@spot.org>
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/Makefile | 28 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/distinfo | 1 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/files/patch-FIGlet.pm | 13 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/pkg-comment | 1 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/pkg-descr | 7 | ||||
-rw-r--r-- | misc/p5-Text-FIGlet/pkg-plist | 9 |
7 files changed, 60 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index aeb2d9f31d02..8576c1b38fcf 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -216,6 +216,7 @@ SUBDIR += p5-LEGO-RCX SUBDIR += p5-Locale-Codes SUBDIR += p5-Locale-SubCountry + SUBDIR += p5-Text-FIGlet SUBDIR += patanjali SUBDIR += patchutils SUBDIR += pbs diff --git a/misc/p5-Text-FIGlet/Makefile b/misc/p5-Text-FIGlet/Makefile new file mode 100644 index 000000000000..d18da154dbcc --- /dev/null +++ b/misc/p5-Text-FIGlet/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-Text-Figlet +# Date created: 24 May 2002 +# Whom: Daniel B. Hemmerich <dan@spot.org> +# +# $FreeBSD$ + +PORTNAME= Text-FIGlet +PORTVERSION= 1.06 +CATEGORIES= misc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Text +PKGNAMEPREFIX= p5- + +MAINTAINER= dan@spot.org + +RUN_DEPENDS= ${LOCALBASE}/bin/figlet:${PORTSDIR}/misc/figlet + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +MAN3= Text::FIGlet.3 \ + Text::charmap.3 \ + Text::figlet.3 \ + Text::minifig.3 \ + Text::showfigfonts.3 + +.include <bsd.port.mk> diff --git a/misc/p5-Text-FIGlet/distinfo b/misc/p5-Text-FIGlet/distinfo new file mode 100644 index 000000000000..b3d5f2dfeb1f --- /dev/null +++ b/misc/p5-Text-FIGlet/distinfo @@ -0,0 +1 @@ +MD5 (Text-FIGlet-1.06.tar.gz) = 2a57ad951eff510c533d79bcbbe7aed5 diff --git a/misc/p5-Text-FIGlet/files/patch-FIGlet.pm b/misc/p5-Text-FIGlet/files/patch-FIGlet.pm new file mode 100644 index 000000000000..6c4af9bb42e4 --- /dev/null +++ b/misc/p5-Text-FIGlet/files/patch-FIGlet.pm @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- FIGlet.pm.orig Fri May 24 20:25:42 2002 ++++ FIGlet.pm Fri May 24 20:25:59 2002 +@@ -174,7 +174,7 @@ + $opts{-A} .= "\0" x ($self->{_font}->[ord($_)]->[0]-1) . $_; + } + } +- $opts{-A} = Text::Wrap::wrap('', '', $opts{-A}), "\n"; ++ $opts{-A} = Text::Wrap::wrap('', '', $opts{-A}); + $opts{-A} =~ tr/\0//d; + } + @text = split("\n", $opts{-A}); diff --git a/misc/p5-Text-FIGlet/pkg-comment b/misc/p5-Text-FIGlet/pkg-comment new file mode 100644 index 000000000000..9f06bee60715 --- /dev/null +++ b/misc/p5-Text-FIGlet/pkg-comment @@ -0,0 +1 @@ +Perl module to provide FIGlet abilities, akin to banner diff --git a/misc/p5-Text-FIGlet/pkg-descr b/misc/p5-Text-FIGlet/pkg-descr new file mode 100644 index 000000000000..6e1402291bdd --- /dev/null +++ b/misc/p5-Text-FIGlet/pkg-descr @@ -0,0 +1,7 @@ +The Text::FIGlet module creates a banner using the FIGlet program. +It has the ability to select various fonts, options, and paths. + +WWW: http://search.cpan.org/search?dist=Text-FIGlet + +- Daniel B. Hemmerich +dan@spot.org diff --git a/misc/p5-Text-FIGlet/pkg-plist b/misc/p5-Text-FIGlet/pkg-plist new file mode 100644 index 000000000000..416b5f03cb16 --- /dev/null +++ b/misc/p5-Text-FIGlet/pkg-plist @@ -0,0 +1,9 @@ +lib/perl5/site_perl/%%PERL_VER%%/Text/FIGlet.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/charmap.pl +lib/perl5/site_perl/%%PERL_VER%%/Text/figlet.pl +lib/perl5/site_perl/%%PERL_VER%%/Text/minifig.pl +lib/perl5/site_perl/%%PERL_VER%%/Text/showfigfonts.pl +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FIGlet/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FIGlet +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true |