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} .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
. for f in ${PORTDOCS:Nnotes} . for f in ${PORTDOCS:Nnotes}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
. endfor . endfor
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
notes ${STAGEDIR}${DOCSDIR}) notes ${STAGEDIR}${DOCSDIR})

View file

@ -60,7 +60,7 @@ do-install:
(cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/game && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/*.pdf ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -72,7 +72,7 @@ post-build:
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -42,7 +42,7 @@ SUB_FILES+= special_${PORTNAME}
post-install: post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.if exists(/etc/autofs) .if exists(/etc/autofs)
@${MKDIR} ${STAGEDIR}/etc/autofs @${MKDIR} ${STAGEDIR}/etc/autofs
${INSTALL_SCRIPT} ${WRKDIR}/special_${PORTNAME} \ ${INSTALL_SCRIPT} ${WRKDIR}/special_${PORTNAME} \