aboutsummaryrefslogtreecommitdiff
path: root/games/KnightCap
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-17 18:39:09 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-17 18:39:09 +0000
commitf68ff4109986b750a2934da5d40179834a336507 (patch)
treeccb0eb84e22e60bd75ce8e2746050fb6a9626434 /games/KnightCap
parenta9fd75bbf8af1bcd1d9d85bf3e9d29fb24e3302a (diff)
Notes
Diffstat (limited to 'games/KnightCap')
-rw-r--r--games/KnightCap/Makefile16
-rw-r--r--games/KnightCap/pkg-plist3
2 files changed, 11 insertions, 8 deletions
diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile
index ffe73a5770f9..edfe375fb86f 100644
--- a/games/KnightCap/Makefile
+++ b/games/KnightCap/Makefile
@@ -9,22 +9,28 @@ PORTNAME= knightcap
PORTVERSION= 3.6
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/ \
- ftp://ftp.cadvision.com/pub/linuxberg/files/x11/entertain/
+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_MESA= yes
+
+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} ${PREFIX}/share/doc/KnightCap
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/KnightCap
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/KnightCap/pkg-plist b/games/KnightCap/pkg-plist
deleted file mode 100644
index f6fc4f39a8b0..000000000000
--- a/games/KnightCap/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/KnightCap
-share/doc/KnightCap/README
-@dirrm share/doc/KnightCap