diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-03-12 12:22:40 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-03-12 12:22:40 +0000 |
commit | f2e2b53c4105af7bd45c1472a80ae730c6c95e24 (patch) | |
tree | c652469c4964574d64ae5db08447cf2bf664dad7 /games/crafty | |
parent | 6a3c7a6a71904dd26d328297f1ecceed0aba082c (diff) | |
download | ports-f2e2b53c4105af7bd45c1472a80ae730c6c95e24.tar.gz ports-f2e2b53c4105af7bd45c1472a80ae730c6c95e24.zip |
Notes
Diffstat (limited to 'games/crafty')
-rw-r--r-- | games/crafty/Makefile | 9 | ||||
-rw-r--r-- | games/crafty/pkg-plist | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile index 128cbed277c3..fb66c8e7c5fa 100644 --- a/games/crafty/Makefile +++ b/games/crafty/Makefile @@ -11,7 +11,8 @@ CATEGORIES= games MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/pgn/:data \ ftp://ftp.cis.uab.edu/pub/hyatt/documentation/:doc \ ftp://ftp.cis.uab.edu/pub/hyatt/source/:src \ - ftp://ftp.cis.uab.edu/pub/hyatt/book/:utils + ftp://ftp.cis.uab.edu/pub/hyatt/book/:utils \ + ftp://ftp.cis.uab.edu/pub/hyatt/book/:books DISTFILES= crafty-${PORTVERSION}.zip:src \ start.pgn:data DIST_SUBDIR= crafty @@ -23,10 +24,13 @@ COMMENT= A chess programm for playing and analyzing games USE_ZIP= yes USE_GMAKE= yes +BOOKS= book.bin books.bin +DISTFILES+= ${BOOKS:S/$/:books/} + .if !defined(NOPORTDOCS) DOCFILES= crafty.doc.ascii crafty.doc.ps DISTFILES+= ${DOCFILES:S/$/:doc/} -UTILS= bitmaps.tgz sound.zip book.bin books.bin +UTILS= bitmaps.tgz sound.zip DISTFILES+= ${UTILS:S/$/:utils/} .endif @@ -71,6 +75,7 @@ do-install: ${MKDIR} ${PREFIX}/lib/crafty/cpf ${CHOWN} -R root:nogroup ${PREFIX}/lib/crafty ${CHMOD} 775 ${PREFIX}/lib/crafty ${PREFIX}/lib/crafty/cpf + ${INSTALL_DATA} ${WRKSRC}/book.bin ${PREFIX}/lib/crafty/book.bin ${INSTALL_DATA} ${WRKSRC}/books.bin ${PREFIX}/lib/crafty/books.bin ${INSTALL_DATA} ${WRKSRC}/crafty.hlp ${PREFIX}/lib/crafty/crafty.hlp ${CHOWN} root:nogroup ${PREFIX}/lib/crafty/book* diff --git a/games/crafty/pkg-plist b/games/crafty/pkg-plist index 3969e10ee118..9f4701ff5209 100644 --- a/games/crafty/pkg-plist +++ b/games/crafty/pkg-plist @@ -1,11 +1,10 @@ bin/crafty +lib/crafty/book.bin lib/crafty/books.bin lib/crafty/crafty.hlp %%PORTDOCS%%share/doc/crafty/crafty.doc.ascii %%PORTDOCS%%share/doc/crafty/crafty.doc.ps %%PORTDOCS%%share/doc/crafty/bitmaps.tgz -%%PORTDOCS%%share/doc/crafty/book.bin -%%PORTDOCS%%share/doc/crafty/books.bin %%PORTDOCS%%share/doc/crafty/sound.zip %%PORTDOCS%%@dirrm share/doc/crafty @dirrm lib/crafty/cpf |