summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2005-03-31 14:17:03 +0000
committerMathieu Arnold <mat@FreeBSD.org>2005-03-31 14:17:03 +0000
commit7bf6803855e834cd11f743f4ac7ee916044dd391 (patch)
tree1ea0af32f9271de55c0d50f7b37675522c7dd4ad /devel
parentBump Thunderbird version. (diff)
fix plist
Approved by: portmgr (krion)
Notes
Notes: svn path=/head/; revision=132131
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-ExtUtils-MakeMaker/Makefile13
-rw-r--r--devel/p5-ExtUtils-MakeMaker/pkg-plist2
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/p5-ExtUtils-MakeMaker/Makefile b/devel/p5-ExtUtils-MakeMaker/Makefile
index 9ef65908039f..18d47f429ed0 100644
--- a/devel/p5-ExtUtils-MakeMaker/Makefile
+++ b/devel/p5-ExtUtils-MakeMaker/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ExtUtils-MakeMaker
PORTVERSION= 6.25
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
@@ -37,4 +38,16 @@ MAN3= ExtUtils::Installed.3 ExtUtils::MM_OS2.3 ExtUtils::MakeMaker.3 \
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
+.if ${PERL_LEVEL} >= 500800
+.undef MAN1
+PLIST_SUB+= EXE_FILES="@comment "
+.else
+PLIST_SUB+= EXE_FILES=""
+.endif
+
+post-patch:
+.if ${PERL_LEVEL} >= 500800
+ @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/p5-ExtUtils-MakeMaker/pkg-plist b/devel/p5-ExtUtils-MakeMaker/pkg-plist
index 5fbdd5b44774..352db33d882f 100644
--- a/devel/p5-ExtUtils-MakeMaker/pkg-plist
+++ b/devel/p5-ExtUtils-MakeMaker/pkg-plist
@@ -1,4 +1,4 @@
-bin/instmodsh
+%%EXE_FILES%%bin/instmodsh
%%SITE_PERL%%/ExtUtils/Command.pm
%%SITE_PERL%%/ExtUtils/Command/MM.pm
%%SITE_PERL%%/ExtUtils/Install.pm