diff options
-rw-r--r-- | games/crafty-open-medium/Makefile | 8 | ||||
-rw-r--r-- | games/crafty-open-medium/pkg-plist | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/games/crafty-open-medium/Makefile b/games/crafty-open-medium/Makefile index bc4b61a81253..65d5909c63f7 100644 --- a/games/crafty-open-medium/Makefile +++ b/games/crafty-open-medium/Makefile @@ -7,14 +7,14 @@ PORTREVISION= 2 CATEGORIES= games MASTER_SITES= LOCAL/dd/crafty DISTNAME= medium +DIST_SUBDIR= crafty MAINTAINER= ports@FreeBSD.org -COMMENT= The medium opening book (about 1.9 MByte) for crafty +COMMENT= Medium opening book (about 1.9 MByte) for crafty BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty -DIST_SUBDIR= crafty USES= zip NO_WRKSUBDIR= yes CONFLICTS= crafty-open-enormous-* crafty-open-large-* crafty-open-default-* @@ -23,13 +23,11 @@ do-build: @${ECHO_MSG} '================================================================' @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' @${ECHO_MSG} '================================================================' - (${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building) + (cd ${WRKDIR} && crafty <${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> diff --git a/games/crafty-open-medium/pkg-plist b/games/crafty-open-medium/pkg-plist index bb5658da5ab7..4a4aa82683d0 100644 --- a/games/crafty-open-medium/pkg-plist +++ b/games/crafty-open-medium/pkg-plist @@ -1,2 +1 @@ -lib/crafty/book.bin -@dirrmtry lib/crafty +@(nobody,nogroup,664) lib/crafty/book.bin |