Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS.

This commit is contained in:
Boris Samorodov 2013-05-26 17:36:38 +00:00
parent 25d82f9122
commit f9e15567b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319123

View file

@ -18,10 +18,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-g
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/qct
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${DOCSDIR}/qct.1.txt
.endif