summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/clawsker/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/clawsker/Makefile b/mail/clawsker/Makefile
index d0b4b4866c04..4eead7bb5a00 100644
--- a/mail/clawsker/Makefile
+++ b/mail/clawsker/Makefile
@@ -25,15 +25,13 @@ OPTIONS_SUB= yes
NLS_USES= gettext
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} '/^DATADIR/s|/share||' ${WRKSRC}/Makefile
-.if ! ${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
@${REINPLACE_CMD} '/-C po/d' ${WRKSRC}/Makefile
-.endif
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR}