aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-12-12 06:34:20 +0800
committerpawel <pawel@FreeBSD.org>2015-12-12 06:34:20 +0800
commit670a6eba9a7939125cc1b51acd926e2298b653dd (patch)
tree2438d01aefdcc6a29408f518a39c5836b6b2c577 /mail
parentd027d14ba3ef30765a7e5bb3e058830cb1a2fd17 (diff)
downloadfreebsd-ports-gnome-670a6eba9a7939125cc1b51acd926e2298b653dd.tar.gz
freebsd-ports-gnome-670a6eba9a7939125cc1b51acd926e2298b653dd.tar.zst
freebsd-ports-gnome-670a6eba9a7939125cc1b51acd926e2298b653dd.zip
Switch to options helpers
Diffstat (limited to 'mail')
-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}