aboutsummaryrefslogblamecommitdiff
path: root/games/KnightCap/Makefile
blob: 695e583841d8077e6dfb147ec8d26b9110b6478c (plain) (tree)
1
2
3
4
5
6
7
8
9
                              
 
                         
                   
                 
                     

                                                     
                                        
 
                                 
                                                                   
 
                                
 
                       
                                  
                    
                         
 

                    



                                             
           


                                                                       
 
                      
# Created by: Andrey Zakhvatov

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=	ports@FreeBSD.org
COMMENT=	Chess program with 3D interface for X Window System

WRKSRC=		${WRKDIR}/Export

USES=		gl xorg
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>