Date: Thu, 24 Sep 2015 21:19:29 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397763 - head/net/packetdrill Message-ID: <201509242119.t8OLJTVB045380@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Sep 24 21:19:28 2015 New Revision: 397763 URL: https://svnweb.freebsd.org/changeset/ports/397763 Log: - Switch to options helpers - No need to add DOCS and EXAMPLES to OPTIONS_DEFAULT Approved by: portmgr blanket Modified: head/net/packetdrill/Makefile Modified: head/net/packetdrill/Makefile ============================================================================== --- head/net/packetdrill/Makefile Thu Sep 24 21:19:27 2015 (r397762) +++ head/net/packetdrill/Makefile Thu Sep 24 21:19:28 2015 (r397763) @@ -17,9 +17,6 @@ PORTDOCS= README PORTEXAMPLES= tests OPTIONS_DEFINE= DOCS EXAMPLES -OPTIONS_DEFAULT=DOCS EXAMPLES - -.include <bsd.port.options.mk> do-configure: ${PRINTF} "%s\n" "#include <stdio.h>" "int main(void) {" \ @@ -43,14 +40,14 @@ post-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTDATA} \ ${STAGEDIR}${DATADIR} -.if ${PORT_OPTIONS:MEXAMPLES} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} -.endif -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242119.t8OLJTVB045380>