Support staging
This commit is contained in:
parent
cd649878df
commit
e98445c084
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348445
2 changed files with 6 additions and 5 deletions
|
@ -20,7 +20,6 @@ USES= zip
|
|||
NO_WRKSUBDIR= yes
|
||||
CONFLICTS= crafty-open-enormous-* crafty-open-large-* crafty-open-default-*
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
@${ECHO_MSG} '================================================================'
|
||||
@${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
|
||||
|
@ -28,9 +27,10 @@ do-build:
|
|||
(${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building)
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/crafty
|
||||
${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin
|
||||
${CHOWN} nobody:nogroup ${PREFIX}/lib/crafty/book.bin
|
||||
${CHMOD} 664 ${PREFIX}/lib/crafty/book.bin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/crafty
|
||||
${INSTALL_DATA} ${WRKDIR}/book.bin \
|
||||
${STAGEDIR}${PREFIX}/lib/crafty/book.bin
|
||||
${CHOWN} nobody:nogroup ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
|
||||
${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
lib/crafty/book.bin
|
||||
@dirrmtry lib/crafty
|
||||
|
|
Loading…
Reference in a new issue