svn commit: r403568 - head/mail/clawsker
Pawel Pekala
pawel at FreeBSD.org
Fri Dec 11 22:34:21 UTC 2015
Author: pawel
Date: Fri Dec 11 22:34:20 2015
New Revision: 403568
URL: https://svnweb.freebsd.org/changeset/ports/403568
Log:
Switch to options helpers
Modified:
head/mail/clawsker/Makefile
Modified: head/mail/clawsker/Makefile
==============================================================================
--- head/mail/clawsker/Makefile Fri Dec 11 22:28:38 2015 (r403567)
+++ head/mail/clawsker/Makefile Fri Dec 11 22:34:20 2015 (r403568)
@@ -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}
More information about the svn-ports-head
mailing list