Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
This commit is contained in:
parent
c7bba1143f
commit
728240acb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231811
2 changed files with 4 additions and 2 deletions
|
@ -22,8 +22,10 @@ PYDISTUTILS_PKGNAME= Py2Play
|
|||
EXAMPLESDIR= ${PREFIX}/share/examples/py-py2play
|
||||
|
||||
post-install:
|
||||
.ifndef NOPORTEXAMPLES
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/startdemo ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
%%PYTHON_SITELIBDIR%%/py2play/idler.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py2play/level.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py2play/player.pyo
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/startdemo
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/startdemo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/py2play
|
||||
|
|
Loading…
Reference in a new issue