- Pet portlint

- Fix installation from non-root
- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2015-10-07 18:03:52 +00:00
parent 3fcfd39fd1
commit 5521440326
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398775
2 changed files with 3 additions and 7 deletions

View File

@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.cis.uab.edu/hyatt/crafty/pgn/
DISTFILES= enormous.zip
EXTRACT_ONLY= ${DISTFILES}
DIST_SUBDIR= crafty
MAINTAINER= ports@FreeBSD.org
COMMENT= Enormous opening book (about 270 MByte) for crafty
@ -15,7 +15,6 @@ COMMENT= Enormous opening book (about 270 MByte) for crafty
BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty
RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
DIST_SUBDIR= crafty
USES= zip
NO_WRKSUBDIR= yes
NO_PACKAGE= Package is way too big
@ -26,12 +25,10 @@ do-build:
@${ECHO_MSG} '================================================================'
@${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
@${ECHO_MSG} '================================================================'
(cd ${WRKDIR}; ${CHOWN} nobody ${WRKDIR}; crafty bookpath=. <${FILESDIR}/book-building)
(cd ${WRKDIR} && crafty bookpath=. <${FILESDIR}/book-building)
do-install:
${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,2 +1 @@
lib/crafty/book.bin
@dirrmtry lib/crafty
@(nobody,nogroup,664) lib/crafty/book.bin