1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/KnightCap/Makefile
Danilo Egea Gondolfo 675b69955d - Add stage support
- Add DOCS option
2013-10-29 18:13:29 +00:00

32 lines
681 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= knightcap
PORTVERSION= 3.6
PORTREVISION= 5
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_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>