blob: afab4f929f10a8636917b199d68becd0e1f2c54f (
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
|
# $NetBSD: Makefile,v 1.42 2016/10/02 02:19:51 mef Exp $
DISTNAME= gnuchess-6.2.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/chess/chess.html
COMMENT= GNU chess engine
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
USE_TOOLS+= flex gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
CONFIGURE_ARGS+= --disable-nls
DOCDIR= ${PREFIX}/share/doc/gnuchess
INFO_FILES= yes
INSTALLATION_DIRS= ${DOCDIR}
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= src/book.h
SUBST_SED.paths= -e 's,/usr/lib/games/,${PREFIX}/lib/,g'
post-install:
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DESTDIR}${DOCDIR}
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|