diff options
author | mat <mat@FreeBSD.org> | 2005-03-31 22:17:03 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2005-03-31 22:17:03 +0800 |
commit | c2805cecfd2f205fb5afe00917990a44e8fe3105 (patch) | |
tree | 30a79ee37b939cd38b1aab1ecab0773c77989a18 /devel/p5-ExtUtils-MakeMaker | |
parent | fdb97116dc68c70b552d01c7436c435c93331c86 (diff) | |
download | freebsd-ports-gnome-c2805cecfd2f205fb5afe00917990a44e8fe3105.tar.gz freebsd-ports-gnome-c2805cecfd2f205fb5afe00917990a44e8fe3105.tar.zst freebsd-ports-gnome-c2805cecfd2f205fb5afe00917990a44e8fe3105.zip |
fix plist
Approved by: portmgr (krion)
Diffstat (limited to 'devel/p5-ExtUtils-MakeMaker')
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/Makefile | 13 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/pkg-plist | 2 |
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 |