aboutsummaryrefslogtreecommitdiffstats
path: root/games/KnightCap/Makefile
blob: afc3284f05eec956750242b4551e376fd7b63d73 (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
33
34
# New ports collection makefile for:    KnightCap
# Date created:             10 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   knightcap
PORTVERSION=    3.6
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   ftp://ftp.samba.org/pub/KnightCap/
DISTNAME=   KnightCap-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Chess program with 3D interface for X Window System

WRKSRC=     ${WRKDIR}/Export

USE_GL=     glut
ALL_TARGET= KnightCap

DOCSDIR=    ${PREFIX}/share/doc/KnightCap
PORTDOCS=   README
PLIST_FILES=    bin/KnightCap

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>