aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-06 15:42:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-06 15:42:35 +0000
commit692a05914f85aeb315c68a1f9540baaabdc53782 (patch)
tree874a064eba4db66f1bfa1449097f149043ed912b /x11-fm
parentbfcb72208d938cd8ce97feda5c32445999520e2f (diff)
downloadports-692a05914f85aeb315c68a1f9540baaabdc53782.tar.gz
ports-692a05914f85aeb315c68a1f9540baaabdc53782.zip
Notes
Diffstat (limited to 'x11-fm')
-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>