aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/cyrus-imapd2/Makefile4
-rw-r--r--mail/cyrus-imapd22/Makefile4
-rw-r--r--mail/cyrus-imapd23/Makefile4
-rw-r--r--mail/cyrus-imapd24/Makefile4
4 files changed, 16 insertions, 0 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile
index f95f743249ca..0ec6d54bef14 100644
--- a/mail/cyrus-imapd2/Makefile
+++ b/mail/cyrus-imapd2/Makefile
@@ -133,6 +133,10 @@ post-patch:
-e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \
${WRKSRC}/tools/mkimap
+post-build:
+ ${FIND} ${WRKSRC}/perl -name Makefile -exec \
+ ${REINPLACE_CMD} -i '' -E 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' {} \;
+
post-install:
.for f in ${CYRUS_MAN3}
@${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${f}
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile
index adb1bded1f94..b3be10a65a17 100644
--- a/mail/cyrus-imapd22/Makefile
+++ b/mail/cyrus-imapd22/Makefile
@@ -177,6 +177,10 @@ post-patch:
@${RM} -rf ${WRKSRC}/autom4te.cache
.endif
+post-build:
+ ${FIND} ${WRKSRC}/perl -name Makefile -exec \
+ ${REINPLACE_CMD} -i '' -E 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' {} \;
+
post-install:
.for f in ${CYRUS_MAN3}
@${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${f}
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 03e4e369abef..20f881154abf 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -206,6 +206,10 @@ post-patch:
@${RM} -rf ${WRKSRC}/autom4te.cache
.endif
+post-build:
+ ${FIND} ${WRKSRC}/perl -name Makefile -exec \
+ ${REINPLACE_CMD} -i '' -E 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' {} \;
+
post-install:
.for f in ${CYRUS_MAN3}
@${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${f}
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 03e4e369abef..20f881154abf 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -206,6 +206,10 @@ post-patch:
@${RM} -rf ${WRKSRC}/autom4te.cache
.endif
+post-build:
+ ${FIND} ${WRKSRC}/perl -name Makefile -exec \
+ ${REINPLACE_CMD} -i '' -E 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' {} \;
+
post-install:
.for f in ${CYRUS_MAN3}
@${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${f}