82f728f07d
CHEST is an experimental program solving orthodox chess problems (like "white to move and mate in 5 moves"). It is written in ANSI C, and developed under UNIX. There is no user interface: CHEST just reads an input file and produces plain text on standard output. It is not hard to come up with a program that does the same job as CHEST, but it will be rather slow for non-trivial jobs. CHEST tries hard to be fast but still 100% correct.
31 lines
865 B
Makefile
31 lines
865 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/11/14 17:36:57 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= chest-3.19
|
|
PKGNAME= ${DISTNAME}.20080412
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.drb.insel.de/~heiner/Chess/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} answer.c analyse.c fac.c \
|
|
mate2.c input.c
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.drb.insel.de/~heiner/Chess/chest.html
|
|
COMMENT= Chess problem solver
|
|
|
|
MAKE_FILE= Templates/Makefile.simple
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
INSTALLATION_DIRS= bin share/doc/chest share/examples/chest
|
|
|
|
post-extract:
|
|
${MV} -f ${WRKDIR}/*.c ${WRKSRC}
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} dchest ${DESTDIR}${PREFIX}/bin && \
|
|
${INSTALL_DATA} COPYRIGHT Doc/PGN_Standard.txt README_LONG \
|
|
${DESTDIR}${PREFIX}/share/doc/chest && \
|
|
${INSTALL_DATA} EPD/*epd ${DESTDIR}${PREFIX}/share/examples/chest
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|