FreeBSD Bugzilla – Attachment 164986 Details for
Bug 205824
misc/p5-Text-FIGlet: Wrong font path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Path to fix path and bump portrevision
p5-Text-FIGlet.patch (text/plain), 9.71 KB, created by
Rodrigo Osorio
on 2016-01-03 09:14:07 UTC
(
hide
)
Description:
Path to fix path and bump portrevision
Filename:
MIME Type:
Creator:
Rodrigo Osorio
Created:
2016-01-03 09:14:07 UTC
Size:
9.71 KB
patch
obsolete
>Index: misc/p5-Text-FIGlet/Makefile >=================================================================== >--- misc/p5-Text-FIGlet/Makefile (revision 405100) >+++ misc/p5-Text-FIGlet/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= Text-FIGlet > PORTVERSION= 2.19.3 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= misc perl5 > MASTER_SITES= CPAN > PKGNAMEPREFIX= p5- >@@ -22,4 +22,14 @@ > USE_PERL5= configure > USES= perl5 tar:tgz > >+post-patch: >+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ >+ ${WRKSRC}/bin/figlet.pl \ >+ ${WRKSRC}/bin/showfigfonts.pl \ >+ ${WRKSRC}/lib/Text/FIGlet/Control.pm \ >+ ${WRKSRC}/lib/Text/FIGlet/Font.pm \ >+ ${WRKSRC}/lib/Text/FIGlet/Illuminated.pm \ >+ ${WRKSRC}/lib/Text/FIGlet/Ransom.pm \ >+ ${WRKSRC}/lib/Text/FIGlet.pm >+ > .include <bsd.port.mk> >Index: misc/p5-Text-FIGlet/files/patch-bin_figlet.pl >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-bin_figlet.pl (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-bin_figlet.pl (working copy) >@@ -0,0 +1,11 @@ >+--- bin/figlet.pl.orig 2013-04-02 03:07:34 UTC >++++ bin/figlet.pl >+@@ -334,7 +334,7 @@ It should reside in the directory specif >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-bin_figlet.pl >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-bin_showfigfonts.pl >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-bin_showfigfonts.pl (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-bin_showfigfonts.pl (working copy) >@@ -0,0 +1,11 @@ >+--- bin/showfigfonts.pl.orig 2009-01-23 02:31:14 UTC >++++ bin/showfigfonts.pl >+@@ -37,7 +37,7 @@ my %figify = ( >+ -w=>$opts{w}), >+ >+ >+-$opts{d} ||= $ENV{FIGLIB} || '/usr/games/lib/figlet/'; >++$opts{d} ||= $ENV{FIGLIB} || '%%PREFIX%%/share/figlet/'; >+ my @fonts; >+ find(sub { >+ return unless -f && /.[ft]lf$/; > >Property changes on: misc/p5-Text-FIGlet/files/patch-bin_showfigfonts.pl >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet.pm >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet.pm (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet.pm (working copy) >@@ -0,0 +1,29 @@ >+--- lib/Text/FIGlet.pm.orig 2013-04-07 18:20:18 UTC >++++ lib/Text/FIGlet.pm >+@@ -186,7 +186,7 @@ Text::FIGlet can print in a variety of f >+ right-to-left, with adjacent characters kerned and I<smushed> together in >+ various ways. FIGlet fonts are stored in separate files, which can be >+ identified by the suffix I<.flf>. Most FIGlet font files will be stored in >+-FIGlet's default font directory F</usr/games/lib/figlet>. Support for TOIlet >++FIGlet's default font directory F<%%PREFIX%%/share/figlet>. Support for TOIlet >+ fonts I<*.tlf>, which are typically in the same location, has also been added. >+ >+ Text::FIGlet can also use control files, which tell it to map input characters >+@@ -218,7 +218,7 @@ into a single font as a L<Text::FIGlet:: >+ >+ Whence to load files. >+ >+-Defaults to F</usr/games/lib/figlet> >++Defaults to F<%%PREFIX%%/share/figlet> >+ >+ =back >+ >+@@ -278,7 +278,7 @@ It should reside in the directory specif >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Control.pm >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Control.pm (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Control.pm (working copy) >@@ -0,0 +1,20 @@ >+--- lib/Text/FIGlet/Control.pm.orig 2009-10-12 00:00:31 UTC >++++ lib/Text/FIGlet/Control.pm >+@@ -24,7 +24,7 @@ sub new{ >+ else{ >+ $self->{$s} = shift; } >+ } >+- $self->{-d} ||= $ENV{FIGLIB} || '/usr/games/lib/figlet/'; >++ $self->{-d} ||= $ENV{FIGLIB} || '%%PREFIX%%/share/figlet/'; >+ $self->{"_\\"} = 1 if $^O =~ /MSWin32|DOS/i; >+ >+ >+@@ -180,7 +180,7 @@ will make use of these environment varia >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Control.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Font.pm >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Font.pm (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Font.pm (working copy) >@@ -0,0 +1,38 @@ >+--- lib/Text/FIGlet/Font.pm.orig 2013-04-20 02:20:11 UTC >++++ lib/Text/FIGlet/Font.pm >+@@ -18,7 +18,7 @@ sub new{ >+ my $self = {_maxLen=>0, -U=>-1, -m=>-2, @_}; >+ $self->{-m} = -3 if defined($self->{-m}) && $self->{-m} eq '-0'; >+ $self->{-f} ||= $ENV{FIGFONT} || 'standard'; >+- $self->{-d} ||= $ENV{FIGLIB} || '/usr/games/lib/figlet/'; >++ $self->{-d} ||= $ENV{FIGLIB} || '%%PREFIX%%/share/figlet/'; >+ _load_font($self); >+ bless($self); >+ } >+@@ -370,7 +370,7 @@ B<Text::FIGlet::Font> can print in a var >+ right-to-left, with adjacent glyphs kerned and smushed together in various >+ ways. FIGlet fonts are stored in separate files, which can be identified by >+ the suffix I<.flf>. Most FIGlet font files will be stored in FIGlet's default >+-font directory F</usr/games/lib/figlet>. Support for TOIlet fonts I<.tlf>, >++font directory F<%%PREFIX%%/share/figlet>. Support for TOIlet fonts I<.tlf>, >+ which are typically in the same location, has also been added. >+ >+ This implementation is known to work with perl 5.005, 5.6 and 5.8, including >+@@ -386,7 +386,7 @@ support for Unicode (UTF-8) in all three >+ >+ Whence to load files. >+ >+-Defaults to F</usr/games/lib/figlet> >++Defaults to F<%%PREFIX%%/share/figlet> >+ >+ =item B<-D=E<gt>>I<boolean> >+ >+@@ -554,7 +554,7 @@ It should reside in the directory specif >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Font.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Illuminated.pm >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Illuminated.pm (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Illuminated.pm (working copy) >@@ -0,0 +1,11 @@ >+--- lib/Text/FIGlet/Illuminated.pm.orig 2013-04-02 00:35:39 UTC >++++ lib/Text/FIGlet/Illuminated.pm >+@@ -184,7 +184,7 @@ It should reside in the directory specif >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Illuminated.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Ransom.pm >=================================================================== >--- misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Ransom.pm (nonexistent) >+++ misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Ransom.pm (working copy) >@@ -0,0 +1,11 @@ >+--- lib/Text/FIGlet/Ransom.pm.orig 2013-04-02 00:32:30 UTC >++++ lib/Text/FIGlet/Ransom.pm >+@@ -310,7 +310,7 @@ will make use of these environment varia >+ =item FIGLIB >+ >+ The default location of fonts. >+-If undefined the default is F</usr/games/lib/figlet> >++If undefined the default is F<%%PREFIX%%/share/figlet> >+ >+ =back >+ > >Property changes on: misc/p5-Text-FIGlet/files/patch-lib_Text_FIGlet_Ransom.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205824
: 164986