mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use INSTALL_MAN for documentation per r367307 and Porter's Handbook
Approved by: mentors (implicit)
This commit is contained in:
parent
54c990223a
commit
1fe731fddc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378613
4 changed files with 4 additions and 4 deletions
|
@ -99,7 +99,7 @@ do-install:
|
|||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
. for f in ${PORTDOCS:Nnotes}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
. endfor
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
|
||||
notes ${STAGEDIR}${DOCSDIR})
|
||||
|
|
|
@ -60,7 +60,7 @@ do-install:
|
|||
(cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -72,7 +72,7 @@ post-build:
|
|||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -42,7 +42,7 @@ SUB_FILES+= special_${PORTNAME}
|
|||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
.if exists(/etc/autofs)
|
||||
@${MKDIR} ${STAGEDIR}/etc/autofs
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/special_${PORTNAME} \
|
||||
|
|
Loading…
Add table
Reference in a new issue