aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-RTx-Shredder/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-RTx-Shredder/Makefile')
-rw-r--r--www/p5-RTx-Shredder/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/p5-RTx-Shredder/Makefile b/www/p5-RTx-Shredder/Makefile
index eeb20d7f101a..297162366e4d 100644
--- a/www/p5-RTx-Shredder/Makefile
+++ b/www/p5-RTx-Shredder/Makefile
@@ -37,10 +37,12 @@ MAN3= RTx::Shredder::Plugin::Base.3 \
RTx::Shredder::Plugin::Users.3 \
RTx::Shredder::Plugin::Objects.3
-# Don't use normal CONFIGURE_ARGS
+# Don't use normal CONFIGURE_ARGS. Disable doc_?????_indstall targets to
+# suppress installing perllocal.pod. This duplicates code from bsd.perl.mk
+# rather undesirably.
do-configure:
@cd ${CONFIGURE_WRKSRC} && \
- ${SETENV} ${CONFIGURE_ENV} \
- ${PERL5} ./${CONFIGURE_SCRIPT}
+ ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
+ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.include <bsd.port.mk>