From owner-svn-ports-head@freebsd.org Thu Sep 24 21:19:29 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D08D3A08109; Thu, 24 Sep 2015 21:19:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1D2B1E09; Thu, 24 Sep 2015 21:19:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8OLJTL4045381; Thu, 24 Sep 2015 21:19:29 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8OLJTVB045380; Thu, 24 Sep 2015 21:19:29 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201509242119.t8OLJTVB045380@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 24 Sep 2015 21:19:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397763 - head/net/packetdrill X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 21:19:29 -0000 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 do-configure: ${PRINTF} "%s\n" "#include " "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