aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-06 23:42:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-06 23:42:35 +0800
commit30ac24835e4129b7eca1a3af090216cda401283b (patch)
tree874a064eba4db66f1bfa1449097f149043ed912b
parent8ea086b7a9457f8b62e51c7895ec3522b964d4ad (diff)
downloadfreebsd-ports-gnome-30ac24835e4129b7eca1a3af090216cda401283b.tar.gz
freebsd-ports-gnome-30ac24835e4129b7eca1a3af090216cda401283b.tar.zst
freebsd-ports-gnome-30ac24835e4129b7eca1a3af090216cda401283b.zip
- Add NO_ARCH
- Switch to options helpers Approved by: portmgr blanket
-rw-r--r--x11-fm/twander/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/x11-fm/twander/Makefile b/x11-fm/twander/Makefile
index 3c3ff2116801..5065c89fdbec 100644
--- a/x11-fm/twander/Makefile
+++ b/x11-fm/twander/Makefile
@@ -14,17 +14,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkin
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
USES= python
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+NO_ARCH= yes
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in READ-1ST.txt WHATSNEW.txt .twander twander-license.txt twander.html twander.pdf twander.ps twander.txt
- @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
@@ -34,4 +26,10 @@ post-patch:
-e 's|python |${PYTHON_CMD} |' \
${WRKSRC}/Makefile
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in READ-1ST.txt WHATSNEW.txt .twander twander-license.txt twander.html twander.pdf twander.ps twander.txt
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
.include <bsd.port.mk>