mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Support staging
This commit is contained in:
parent
1f479910b5
commit
2abd5ad9ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346164
@ -20,16 +20,17 @@ NO_BUILD= yes
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/pm-*.rc ${DATADIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/article/index.txt ${DOCSDIR}/README.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual/index.txt ${DOCSDIR}/manual.txt
|
||||
cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} \* ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/pm-*.rc ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/article/index.txt \
|
||||
${STAGEDIR}${DOCSDIR}/README.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual/index.txt \
|
||||
${STAGEDIR}${DOCSDIR}/manual.txt
|
||||
cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user