blob: 6cd73fbc56f4efe97eb7626e018956b7bed86c3f (
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.9 2000/03/27 10:25:51 jlam Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
#
DISTNAME= chess-5.00
PKGNAME= gnuchess-5.00
WRKSRC= ${WRKDIR}/${DISTNAME}/src
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/chess/chess.html
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= gnuchess
post-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/gnuchessx.sh \
> ${WRKDIR}/gnuchessx.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gnuchess ${PREFIX}/bin/gnuchess
${INSTALL_SCRIPT} ${WRKDIR}/gnuchessx.sh ${PREFIX}/bin/gnuchessx
${INSTALL_DATA_DIR} ${PREFIX}/share/gnuchess
${INSTALL_DATA} ${WRKSRC}/book.dat ${WRKSRC}/book.pgn \
${PREFIX}/share/gnuchess
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuchess
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README \
${PREFIX}/share/doc/gnuchess
.include "../../mk/bsd.pkg.mk"
|