mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Upgrade to 2.5.
Pointed out by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
This commit is contained in:
parent
d2d33a6e50
commit
3048651c24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54909
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= HTML-Template
|
||||
PORTVERSION= 2.4
|
||||
PORTVERSION= 2.5
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= HTML
|
||||
@ -14,10 +14,16 @@ PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${PERL_INC}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
RUN_DEPENDS= ${PERL_INC}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= HTML::Template.3
|
||||
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
PERL_INC= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
||||
|
||||
post-patch:
|
||||
${PERL} -i -pe 's@%%PERL_INC%%@${PERL_INC}@' ${WRKSRC}/Template.pm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (HTML-Template-2.4.tar.gz) = 685845d9fbfcc93b33f8e429d1a6beb0
|
||||
MD5 (HTML-Template-2.5.tar.gz) = 2f8cb555618b2d1180534455c1e61d51
|
||||
|
12
www/p5-HTML-Template/files/patch-Template.pm
Normal file
12
www/p5-HTML-Template/files/patch-Template.pm
Normal file
@ -0,0 +1,12 @@
|
||||
--- Template.pm.orig Tue Feb 19 22:15:56 2002
|
||||
+++ Template.pm Tue Feb 19 22:18:31 2002
|
||||
@@ -863,7 +863,9 @@
|
||||
use strict; # and no funny business, either.
|
||||
|
||||
use Carp; # generate better errors with more context
|
||||
+BEGIN { unshift(@INC, "%%PERL_INC%%"); }
|
||||
use File::Spec; # generate paths that work on all platforms
|
||||
+shift(@INC);
|
||||
|
||||
# define accessor constants used to improve readability of array
|
||||
# accesses into "objects". I used to use 'use constant' but that
|
Loading…
Reference in New Issue
Block a user