aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/bwidget/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-toolkits/bwidget/Makefile b/x11-toolkits/bwidget/Makefile
index 5e5780fd65e6..105cac45c3ea 100644
--- a/x11-toolkits/bwidget/Makefile
+++ b/x11-toolkits/bwidget/Makefile
@@ -18,10 +18,9 @@ OPTIONS_DEFINE= DOCS
USES= tk:run zip
NO_BUILD= yes
+NO_ARCH= yes
PORTDOCS= *
-.include <bsd.port.options.mk>
-
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/images
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/lang
@@ -29,12 +28,12 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.tcl ${STAGEDIR}${PREFIX}/lib/bwidget
cd ${WRKSRC}/images && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/images
cd ${WRKSRC}/lang && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/lang
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/BWman
${INSTALL_DATA} ${WRKSRC}/BWman/*.html ${STAGEDIR}${DOCSDIR}/BWman
-. for FILE in CHANGES.txt ChangeLog README.txt
+.for FILE in CHANGES.txt ChangeLog README.txt
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
-. endfor
-.endif
+.endfor
.include <bsd.port.mk>