pkgsrc/games/crafty/Makefile
joerg 45c4258f4e Don't segfault on failing shmget because the print routine tries to
access the shared memory segment. Bump revision.
2009-08-03 13:18:37 +00:00

35 lines
773 B
Makefile

# $NetBSD: Makefile,v 1.44 2009/08/03 13:18:37 joerg Exp $
DISTNAME= crafty-22.1
PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/source/ \
http://www.craftychess.com/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Chess engine
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
.include "../../mk/bsd.prefs.mk"
CRAFTY_OPTS= -DBOOKDIR=\"${BOOKDIR:Q}\"
CRAFTY_OPTS+= -DTBDIR=\"${TBDIR:Q}\"
MAKE_ENV+= target=NetBSD
BUILD_TARGET= crafty-make
BOOKDIR= ${PREFIX}/lib/crafty
TBDIR= ${PREFIX}/share/egtb
DOCDIR= ${PREFIX}/share/doc/crafty
CRAFTYRC= ${WRKSRC}/.craftyrc
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/crafty ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"