mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
Support stage
This commit is contained in:
parent
08e4dbaeae
commit
6524537c5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337667
1 changed files with 4 additions and 7 deletions
|
@ -20,18 +20,15 @@ RUN_DEPENDS= \
|
|||
NO_BUILD= YES
|
||||
USES= perl5
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-patch:
|
||||
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
|
||||
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
||||
${WRKSRC}/ubh.old > ${WRKSRC}/ubh
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${PREFIX}/bin
|
||||
${CP} -R ${WRKSRC}/examples ${PREFIX}/share/ubh
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ubh
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${PREFIX}/share/doc/ubh
|
||||
.endif
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin
|
||||
${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ubh
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${STAGEDIR}${PREFIX}/share/doc/ubh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue