From owner-svn-ports-all@freebsd.org Sun Sep 11 17:59:26 2016 Return-Path: Delivered-To: svn-ports-all@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 25586BD78B1; Sun, 11 Sep 2016 17:59:26 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 EC53EE1A; Sun, 11 Sep 2016 17:59:25 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BHxPTj000108; Sun, 11 Sep 2016 17:59:25 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8BHxPFV000107; Sun, 11 Sep 2016 17:59:25 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609111759.u8BHxPFV000107@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 11 Sep 2016 17:59:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421858 - head/net/dhcprelya X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 17:59:26 -0000 Author: amdmi3 Date: Sun Sep 11 17:59:25 2016 New Revision: 421858 URL: https://svnweb.freebsd.org/changeset/ports/421858 Log: - Switch to options helpers Modified: head/net/dhcprelya/Makefile Modified: head/net/dhcprelya/Makefile ============================================================================== --- head/net/dhcprelya/Makefile Sun Sep 11 17:59:07 2016 (r421857) +++ head/net/dhcprelya/Makefile Sun Sep 11 17:59:25 2016 (r421858) @@ -21,27 +21,19 @@ PORTDOCS= README PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \ lib/${PORTNAME}_option82_plugin.so +OPTIONS_DEFINE= DOCS # The modules use a new system libradius that is not committed yet #OPTIONS_DEFINE= RADIUS_PLUGIN -RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin - -OPTIONS_DEFINE= DOCS - -.include - -.if ${PORT_OPTIONS:MRADIUS_PLUGIN} -PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so -MAKE_ARGS= -DWITH_RADIUS_PLUGIN -.endif +RADIUS_PLUGIN_DESC= Build radius plugin +RADIUS_PLUGIN_PLIST_FILES= lib/${PORTNAME}_radius_plugin.so +RADIUS_PLUGIN_MAKE_ON= -DWITH_RADIUS_PLUGIN post-patch: - @${REINPLACE_CMD} -e 's#/usr/local#${STAGEDIR}/${PREFIX}#' \ + @${REINPLACE_CMD} -e 's#/usr/local#${STAGEDIR}${PREFIX}#' \ ${WRKSRC}/Makefile -post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}/${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} -.endif .include