svn commit: r451304 - head/x11-toolkits/xview
Baptiste Daroussin
bapt at FreeBSD.org
Thu Oct 5 11:54:24 UTC 2017
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>
More information about the svn-ports-head
mailing list