31 lines
682 B
Makefile
31 lines
682 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= knightcap
|
|
PORTVERSION= 3.6
|
|
PORTREVISION= 6
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.samba.org/pub/KnightCap/
|
|
DISTNAME= KnightCap-${PORTVERSION}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Chess program with 3D interface for X Window System
|
|
|
|
WRKSRC= ${WRKDIR}/Export
|
|
|
|
USE_XORG= xmu xt xext x11 xi
|
|
USE_GL= glut
|
|
ALL_TARGET= KnightCap
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/KnightCap
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/KnightCap
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|