aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-MagicTemplate
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-10-29 21:42:55 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-10-29 21:42:55 +0000
commit7b32d590c08687b1f558a666af467e2b267ac538 (patch)
tree9cbff444d8061e88309381e6a2b01c48c06ae56e /textproc/p5-Text-MagicTemplate
parent34cbd67e9d6ed9590507ff1de5fbe0ce80368063 (diff)
downloadports-7b32d590c08687b1f558a666af467e2b267ac538.tar.gz
ports-7b32d590c08687b1f558a666af467e2b267ac538.zip
Notes
Diffstat (limited to 'textproc/p5-Text-MagicTemplate')
-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 67490253395f..9f21dc2db6b2 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 306bd5860f89..1a58030c3092 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 1e1e20d2005e..2d7b3c605448 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