aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/bwidget
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-16 01:56:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-16 01:56:31 +0800
commit730907f832ef0ab88eaf9746f6736524ea396574 (patch)
treec0f04658bfc88a56845b056087ee6e666f1f2ec6 /x11-toolkits/bwidget
parent5668af79874501589e26e1b0f7203a791d7a9ee8 (diff)
downloadfreebsd-ports-gnome-730907f832ef0ab88eaf9746f6736524ea396574.tar.gz
freebsd-ports-gnome-730907f832ef0ab88eaf9746f6736524ea396574.tar.zst
freebsd-ports-gnome-730907f832ef0ab88eaf9746f6736524ea396574.zip
- Add NO_ARCH
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'x11-toolkits/bwidget')
-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>