aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/twander/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/twander/Makefile')
-rw-r--r--x11-fm/twander/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-fm/twander/Makefile b/x11-fm/twander/Makefile
index 03e574c8048e..4776a1e3453a 100644
--- a/x11-fm/twander/Makefile
+++ b/x11-fm/twander/Makefile
@@ -14,16 +14,15 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkin
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
USE_PYTHON= yes
+OPTIONS_DEFINE= DOCS
-MANCOMPRESSED= yes
-MAN1= twander.1
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.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} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif