- Stage support

This commit is contained in:
Martin Wilke 2014-01-25 06:05:35 +00:00
parent 842105585f
commit cddbfeef63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340991

View File

@ -26,18 +26,17 @@ EXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \
DOCS= AUTHORS INSTALL README NEWS PKG-INFO
NO_STAGE= yes
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${EXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif