a16fc84f19
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
33 lines
813 B
Makefile
33 lines
813 B
Makefile
# $NetBSD: Makefile,v 1.4 2001/09/09 20:36:27 agc Exp $
|
|
|
|
DISTNAME= new_brain
|
|
PKGNAME= knightcap-brain-19980616
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/
|
|
EXTRACT_SUFX= .dat
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://anu.samba.org/KnightCap/
|
|
COMMENT= book of losing moves for KnightCap
|
|
|
|
ONLY_FOR_PLATFORMS= *-*-i386
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
EXTRACT_ONLY= # empty
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= # defined
|
|
|
|
EGDIR= ${PREFIX}/share/examples/knightcap
|
|
|
|
do-build:
|
|
${SED} -e "s,@PREFIX@,${PREFIX},g" < ${FILESDIR}/newbrain.sh \
|
|
> ${WRKSRC}/newbrain.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/newbrain.sh ${PREFIX}/bin/newbrain
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/new_brain.dat \
|
|
${EGDIR}/brain.dat
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|