mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -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
|
NO_BUILD= YES
|
||||||
USES= perl5
|
USES= perl5
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
|
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
|
||||||
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
||||||
${WRKSRC}/ubh.old > ${WRKSRC}/ubh
|
${WRKSRC}/ubh.old > ${WRKSRC}/ubh
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin
|
||||||
${CP} -R ${WRKSRC}/examples ${PREFIX}/share/ubh
|
${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh
|
||||||
.if !defined(NOPORTDOCS)
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ubh
|
||||||
${MKDIR} ${PREFIX}/share/doc/ubh
|
${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${STAGEDIR}${PREFIX}/share/doc/ubh
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${PREFIX}/share/doc/ubh
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue