summaryrefslogtreecommitdiff
path: root/mail/clawsker/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-12-11 22:34:20 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-12-11 22:34:20 +0000
commit911977153ff54f1ca8c82542b66020bc19295ca8 (patch)
tree2438d01aefdcc6a29408f518a39c5836b6b2c577 /mail/clawsker/Makefile
parentSwitch to options helper (diff)
Switch to options helpers
Notes
Notes: svn path=/head/; revision=403568
Diffstat (limited to 'mail/clawsker/Makefile')
-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}