mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
6ab533ebf7
commit
6e8c6236cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348691
@ -12,17 +12,14 @@ COMMENT= Converts telephone number to combinations of valid words
|
||||
USE_RUBY= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|; \
|
||||
s|/usr/share/phraze|${DATADIR}|' ${WRKSRC}/phraze ${WRKSRC}/phraze.1
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/wordlist.phr ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/phraze ${PREFIX}/bin/phraze
|
||||
${INSTALL_MAN} ${WRKSRC}/phraze.1 ${PREFIX}/man/man1/
|
||||
|
||||
MAN1= phraze.1
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/wordlist.phr ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/phraze ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/phraze.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
bin/phraze
|
||||
man/man1/phraze.1.gz
|
||||
%%DATADIR%%/wordlist.phr
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user