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 +# +# $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 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