blob: 7a3ace6574f2751cec0f4e56ed6d7541ee5fefe8 (
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
|
# $NetBSD: Makefile,v 1.46 2012/10/06 11:54:34 asau Exp $
DISTNAME= crafty-22.1
PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.craftychess.com/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Chess engine
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"
|