1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-17 07:47:19 +00:00
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

View File

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

View File

@ -1 +1,2 @@
lib/crafty/book.bin
@dirrmtry lib/crafty