diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
commit | 1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch) | |
tree | e0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /devel/p5-Module-Build | |
parent | 0804fca67c5eda2be61329599da40c5734b4d634 (diff) |
Notes
Diffstat (limited to 'devel/p5-Module-Build')
-rw-r--r-- | devel/p5-Module-Build/Makefile | 15 | ||||
-rw-r--r-- | devel/p5-Module-Build/pkg-plist | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile index 203d97a91891..cddb7adaf0e5 100644 --- a/devel/p5-Module-Build/Makefile +++ b/devel/p5-Module-Build/Makefile @@ -56,6 +56,19 @@ MAN3= Module::Build.3 \ Module::Build::Platform::darwin.3 \ Module::Build::Platform::os2.3 \ Module::Build::YAML.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} >= 501000 +PLIST_SUB+= EXE_FILES="@comment " +.else +PLIST_SUB+= EXE_FILES="" MAN1= config_data.1 +.endif + +post-patch: +.if ${PERL_LEVEL} >= 501000 + @${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/p5-Module-Build/pkg-plist b/devel/p5-Module-Build/pkg-plist index 7a8dae6b0fd9..7d6617174247 100644 --- a/devel/p5-Module-Build/pkg-plist +++ b/devel/p5-Module-Build/pkg-plist @@ -1,5 +1,5 @@ @comment $FreeBSD$ -bin/config_data +%%EXE_FILES%%bin/config_data %%SITE_PERL%%/Module/Build.pm %%SITE_PERL%%/Module/Build/API.pod %%SITE_PERL%%/Module/Build/Authoring.pod |