mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Use proper installation commands
- Switch to options helpers Approved by: portmgr blanket
This commit is contained in:
parent
9d2c0f6034
commit
600cab254a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395432
@ -22,14 +22,12 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${CP} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
|
||||
${CP} ${WRKSRC}/lib/* ${STAGEDIR}${PREFIX}/lib
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/*.a ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user