- Fix install with NOPORTDOCS
Submitted by: Florian Smeets <flo at kasimir dot com> (maintainer)
This commit is contained in:
parent
6a3c7a6a71
commit
f2e2b53c41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229932
2 changed files with 8 additions and 4 deletions
|
@ -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*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue