blob: f5b40632fcc996828c8e2f4f9d5a6764a02abe6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $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"
|