diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-03-12 20:22:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-03-12 20:22:40 +0800 |
commit | dcc947ef66e792ef7d148b228f9a22e0e4792376 (patch) | |
tree | c767b3ba9fe98a2f6322dd4e12ae1a891737c6c8 /games/crafty/Makefile | |
parent | c0e938cbb37243c0e5e1deeae3abd6c776ed4776 (diff) | |
download | freebsd-ports-gnome-dcc947ef66e792ef7d148b228f9a22e0e4792376.tar.gz freebsd-ports-gnome-dcc947ef66e792ef7d148b228f9a22e0e4792376.tar.zst freebsd-ports-gnome-dcc947ef66e792ef7d148b228f9a22e0e4792376.zip |
- Fix install with NOPORTDOCS
Submitted by: Florian Smeets <flo at kasimir dot com> (maintainer)
Diffstat (limited to 'games/crafty/Makefile')
-rw-r--r-- | games/crafty/Makefile | 9 |
1 files changed, 7 insertions, 2 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* |