Use INSTALL_MAN for documentation per r367307 and Porter's Handbook

Approved by:	mentors (implicit)
This commit is contained in:
Jan Beich 2015-02-07 19:38:34 +00:00
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

View file

@ -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})

View file

@ -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>

View file

@ -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>

View file

@ -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} \