aboutsummaryrefslogtreecommitdiffstats
path: root/games/KnightCap/Makefile
blob: 44de346821bcf2d03a8f46350b2658bc1df2fecd (plain) (blame)
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
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=   knightcap
PORTVERSION=    3.6
PORTREVISION=   8
CATEGORIES= games
MASTER_SITES=   http://ftp.samba.org/pub/KnightCap/ \
        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>