be6c15b5c6
Add USES=xorg and USES=gl to ports in categories starting with 'g'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
33 lines
736 B
Makefile
33 lines
736 B
Makefile
# 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= 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>
|