1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-20 15:07:30 +00:00
parent 6ab533ebf7
commit 6e8c6236cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348691
2 changed files with 5 additions and 7 deletions

View File

@ -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>

View File

@ -1,3 +1,4 @@
bin/phraze
man/man1/phraze.1.gz
%%DATADIR%%/wordlist.phr
@dirrm %%DATADIR%%