From a7818cadf8ef9a57da355afbeace77b0573cb09e Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 5 Oct 2017 11:54:23 +0000 Subject: Use helpers to avoid including pre.mk/post.mk --- x11-toolkits/xview/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile index d7880d296cf0..8390a4ecb542 100644 --- a/x11-toolkits/xview/Makefile +++ b/x11-toolkits/xview/Makefile @@ -35,8 +35,6 @@ X11BASE2FIX= clients/olwmslave/help_file.c lib/libxview/help/help_file.c \ 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 -- cgit