aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-10-30 05:42:55 +0800
committererwin <erwin@FreeBSD.org>2003-10-30 05:42:55 +0800
commitf30c2bc5a70c2745960851baa61bd651a9898dc9 (patch)
tree2f1d92a19b013dd961941abd99837efea2d3fc76
parentb9b7c5b674c3c4bf4d27646e54d9574e420b5dbe (diff)
downloadfreebsd-ports-graphics-f30c2bc5a70c2745960851baa61bd651a9898dc9.tar.gz
freebsd-ports-graphics-f30c2bc5a70c2745960851baa61bd651a9898dc9.tar.zst
freebsd-ports-graphics-f30c2bc5a70c2745960851baa61bd651a9898dc9.zip
Update to 3.1
PR: 58665 Submitted by: maintainer
-rw-r--r--textproc/p5-Text-MagicTemplate/Makefile11
-rw-r--r--textproc/p5-Text-MagicTemplate/distinfo2
-rw-r--r--textproc/p5-Text-MagicTemplate/pkg-plist8
3 files changed, 15 insertions, 6 deletions
diff --git a/textproc/p5-Text-MagicTemplate/Makefile b/textproc/p5-Text-MagicTemplate/Makefile
index 67490253395..9f21dc2db6b 100644
--- a/textproc/p5-Text-MagicTemplate/Makefile
+++ b/textproc/p5-Text-MagicTemplate/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= Text-MagicTemplate
-PORTVERSION= 3.05
+PORTVERSION= 3.1
+PORTEPOCH= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -21,4 +22,10 @@ MAN3= Text::MagicTemplate.3 \
Bundle::Text::MagicTemplate.3 \
Text::MagicTemplate::Zone.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE=3D This port requires perl 5.6.1 or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-MagicTemplate/distinfo b/textproc/p5-Text-MagicTemplate/distinfo
index 306bd5860f8..1a58030c309 100644
--- a/textproc/p5-Text-MagicTemplate/distinfo
+++ b/textproc/p5-Text-MagicTemplate/distinfo
@@ -1 +1 @@
-MD5 (Text-MagicTemplate-3.05.tar.gz) = bc8bd0c38b600628179c04dd049d511e
+MD5 (Text-MagicTemplate-3.1.tar.gz) = 1a62f8957575c386e3af1ff24b63c992
diff --git a/textproc/p5-Text-MagicTemplate/pkg-plist b/textproc/p5-Text-MagicTemplate/pkg-plist
index 1e1e20d2005..2d7b3c60544 100644
--- a/textproc/p5-Text-MagicTemplate/pkg-plist
+++ b/textproc/p5-Text-MagicTemplate/pkg-plist
@@ -8,9 +8,11 @@
%%SITE_PERL%%/auto/Text/MagicTemplate/INCLUDE_TEXT.al
%%SITE_PERL%%/auto/Text/MagicTemplate/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/MagicTemplate/.packlist
-@dirrm %%SITE_PERL%%/Bundle/Text
@dirrm %%SITE_PERL%%/Text/MagicTemplate
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true
@dirrm %%SITE_PERL%%/auto/Text/MagicTemplate
+@dirrm %%SITE_PERL%%/mach/auto/Text/MagicTemplate
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Text 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Bundle/Text 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Text/MagicTemplate 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH/auto/Text/MagicTemplate 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Bundle 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/Text 2>/dev/null || true