From owner-svn-ports-head@freebsd.org Fri Dec 1 14:52:52 2017 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 4BCBBE5D0DB; Fri, 1 Dec 2017 14:52:52 +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 16F136431C; Fri, 1 Dec 2017 14:52:52 +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 vB1Eqp5m003042; Fri, 1 Dec 2017 14:52:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB1Eqpui003041; Fri, 1 Dec 2017 14:52:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712011452.vB1Eqpui003041@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 1 Dec 2017 14:52:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455295 - head/sysutils/xmbmon X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/sysutils/xmbmon X-SVN-Commit-Revision: 455295 X-SVN-Commit-Repository: ports 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.25 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: Fri, 01 Dec 2017 14:52:52 -0000 Author: amdmi3 Date: Fri Dec 1 14:52:51 2017 New Revision: 455295 URL: https://svnweb.freebsd.org/changeset/ports/455295 Log: - Switch to options helpers Approved by: portmgr blanket Modified: head/sysutils/xmbmon/Makefile Modified: head/sysutils/xmbmon/Makefile ============================================================================== --- head/sysutils/xmbmon/Makefile Fri Dec 1 14:10:54 2017 (r455294) +++ head/sysutils/xmbmon/Makefile Fri Dec 1 14:52:51 2017 (r455295) @@ -42,35 +42,31 @@ CLI_PLIST_FILES= "@mode 4555"\ bin/mbmon \ @mode\ man/man1/mbmon.1.gz +CLI_VARS= USE_RC_SUBR=mbmon -.include - -.if ${PORT_OPTIONS:MCLI} -USE_RC_SUBR= mbmon -.endif - post-patch: @${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' \ ${WRKSRC}/mbmon.1 -.if ${PORT_OPTIONS:MSMB} + +post-patch-SMB-on: @${REINPLACE_CMD} -e 's/^DEFS=/&-DSMBUS_IOCTL /' ${WRKSRC}/Makefile.in -.endif do-install: -.if ${PORT_OPTIONS:MX11} + @${DO_NADA} + +do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/xmbmon \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/xmbmon.resources \ ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMBmon ${INSTALL_MAN} ${WRKSRC}/xmbmon.1x ${STAGEDIR}${MANPREFIX}/man/man1 -.endif -.if ${PORT_OPTIONS:MCLI} + +do-install-CLI-on: ${INSTALL_PROGRAM} ${WRKSRC}/mbmon ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/mbmon.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.endif .include