From owner-svn-ports-all@freebsd.org Thu Oct 5 11:54:24 2017 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 7F04BE36189; Thu, 5 Oct 2017 11:54:24 +0000 (UTC) (envelope-from bapt@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 4B3A96D7EF; Thu, 5 Oct 2017 11:54:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v95BsN1D027193; Thu, 5 Oct 2017 11:54:23 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v95BsNZX027192; Thu, 5 Oct 2017 11:54:23 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201710051154.v95BsNZX027192@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 5 Oct 2017 11:54:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451304 - head/x11-toolkits/xview X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: head/x11-toolkits/xview X-SVN-Commit-Revision: 451304 X-SVN-Commit-Repository: ports 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: Thu, 05 Oct 2017 11:54:24 -0000 Author: bapt Date: Thu Oct 5 11:54:23 2017 New Revision: 451304 URL: https://svnweb.freebsd.org/changeset/ports/451304 Log: Use helpers to avoid including pre.mk/post.mk Modified: head/x11-toolkits/xview/Makefile Modified: head/x11-toolkits/xview/Makefile ============================================================================== --- head/x11-toolkits/xview/Makefile Thu Oct 5 11:49:44 2017 (r451303) +++ head/x11-toolkits/xview/Makefile Thu Oct 5 11:54:23 2017 (r451304) @@ -35,8 +35,6 @@ X11BASE2FIX= clients/olwmslave/help_file.c lib/libxvie OPTIONS_DEFINE= DOCS -.include - post-extract: @${MV} ${WRKSRC}/xview.man ${WRKSRC}/XView.man @@ -60,12 +58,12 @@ pre-install: @${FIND} ${WRKSRC}/config ${WRKSRC}/fonts -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e '/PROJECTROOT = /!s+${PREFIX}+${STAGEDIR}${PREFIX}+g' post-install: -.if ${PORT_OPTIONS:MDOCS} - @(cd ${WRKSRC}/doc; ${MAKE} install) -.endif @${RM} ${STAGEDIR}${PREFIX}/lib/help/clock.info @${RM} ${STAGEDIR}${PREFIX}/lib/help/olwm.info @${RM} ${STAGEDIR}${PREFIX}/lib/help/props.info @${RM} ${STAGEDIR}${PREFIX}/lib/help/textedit.info -.include +post-install-DOCS-on: + @(cd ${WRKSRC}/doc; ${MAKE} install) + +.include