mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Stage support
This commit is contained in:
parent
b653672af9
commit
033a00739a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340189
1 changed files with 6 additions and 13 deletions
|
@ -26,9 +26,6 @@ PORTEXAMPLES= *
|
|||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/local/bin/perl|${PERL}|' ${WRKSRC}/script/dbs_view
|
||||
|
@ -38,22 +35,18 @@ pre-build:
|
|||
|
||||
do-install:
|
||||
.for bin in dbsc dbsd
|
||||
cd ${INSTALL_WRKSRC}; ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${bin} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.for bin in dbs_view
|
||||
cd ${WRKSRC}/script; ${INSTALL_SCRIPT} ${bin} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/${bin} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
|
||||
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${doc} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for ex in TCP2.cmd TCPvsMPEG.cmd
|
||||
cd ${WRKSRC}/sample; ${INSTALL_DATA} ${ex} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/${ex} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue