5542206cba
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
35 lines
842 B
Makefile
35 lines
842 B
Makefile
# $NetBSD: Makefile,v 1.4 2001/11/29 01:12:33 hubertf Exp $
|
|
|
|
DISTNAME= KnightCap-3.6
|
|
PKGNAME= knightcap-3.6
|
|
PKGREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://anu.samba.org/KnightCap/
|
|
COMMENT= chess engine with 3D OpenGL-rendered chessboard
|
|
|
|
DEPENDS+= Mesa-[0-9]*:../../graphics/Mesa
|
|
|
|
USE_X11= # defined
|
|
NO_CONFIGURE= # defined
|
|
|
|
WRKSRC= ${WRKDIR}/Export
|
|
ALL_TARGET= KnightCap
|
|
|
|
EVAL_PREFIX+= MESADIR=Mesa
|
|
MAKE_ENV+= MESA=${MESADIR}
|
|
MAKE_ENV+= DEFINES="${DEFINES}"
|
|
|
|
DEFINES= -DTB_DIR=\\\"${TBDIR}\\\"
|
|
|
|
TBDIR= ${PREFIX}/share/egtb
|
|
DOCDIR= ${PREFIX}/share/doc/knightcap
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|