diff options
-rw-r--r-- | x11-fm/twander/Makefile | 18 |
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> |