diff options
author | bapt <bapt@FreeBSD.org> | 2017-10-05 19:54:23 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2017-10-05 19:54:23 +0800 |
commit | a7818cadf8ef9a57da355afbeace77b0573cb09e (patch) | |
tree | b4a6c6a2aa55ea785b75fe1413edd84f40f8049c /x11-toolkits | |
parent | 2a0e7ff2f7d34023b346e13e07495217ed371ffd (diff) | |
download | freebsd-ports-gnome-a7818cadf8ef9a57da355afbeace77b0573cb09e.tar.gz freebsd-ports-gnome-a7818cadf8ef9a57da355afbeace77b0573cb09e.tar.zst freebsd-ports-gnome-a7818cadf8ef9a57da355afbeace77b0573cb09e.zip |
Use helpers to avoid including pre.mk/post.mk
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/xview/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
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 <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> |