Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 22:34:20 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403568 - head/mail/clawsker
Message-ID:  <201512112234.tBBMYKko031455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512112234.tBBMYKko031455>