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

PORTNAME=   knightcap
PORTVERSION=    3.6
PORTREVISION=   1
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

LIB_DEPENDS=    glut.3:${PORTSDIR}/graphics/libglut

WRKSRC=     ${WRKDIR}/Export

USE_GL=     yes
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>