Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS.
This commit is contained in:
parent
25d82f9122
commit
f9e15567b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319123
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue