Date: Thu, 5 Oct 2017 11:54:23 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451304 - head/x11-toolkits/xview Message-ID: <201710051154.v95BsNZX027192@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - 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 <bsd.port.post.mk> +post-install-DOCS-on: + @(cd ${WRKSRC}/doc; ${MAKE} install) + +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710051154.v95BsNZX027192>