diff options
Diffstat (limited to 'devel/p5-Module-Build/Makefile')
-rw-r--r-- | devel/p5-Module-Build/Makefile | 15 |
1 files changed, 14 insertions, 1 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> |