2000-03-26 10:29:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2000/03/26 08:29:25 jlam Exp $
|
1999-02-08 09:48:37 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
|
|
|
|
#
|
|
|
|
|
2000-03-26 10:29:25 +02:00
|
|
|
DISTNAME= chess-5.00
|
|
|
|
PKGNAME= gnuchess-5.00
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
|
1999-02-08 09:48:37 +01:00
|
|
|
|
2000-03-26 10:29:25 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/chess/chess.html
|
1999-02-08 09:48:37 +01:00
|
|
|
|
2000-03-26 10:29:25 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= gnuchess
|
1999-11-18 00:21:17 +01:00
|
|
|
|
2000-03-26 10:29:25 +02:00
|
|
|
post-build:
|
|
|
|
${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/gnuchessx.sh \
|
|
|
|
> ${WRKDIR}/gnuchessx.sh
|
1999-02-08 09:48:37 +01:00
|
|
|
|
2000-03-26 10:29:25 +02:00
|
|
|
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
|
1999-02-08 09:48:37 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|