Use INSTALL_MAN and INSTALL_PROGRAM macros.
Approved by: Michael Johnson (maintainer) PR: 65739
This commit is contained in:
parent
442ce675b5
commit
9efc1482b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107502
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ PLIST_FILES= bin/ccache
|
|||
PORTDOCS= index.html \
|
||||
ccache-man.html
|
||||
|
||||
post-install:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ccache ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
|
|
Loading…
Reference in a new issue