ports/66752: Update port: games/KnightCap

KATO Tsuguru tkato at prontomail.com
Mon May 17 14:40:16 UTC 2004


>Number:         66752
>Category:       ports
>Synopsis:       Update port: games/KnightCap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 17 07:40:13 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support PLIST_FILES

Remove file:
files/pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/KnightCap/Makefile games/KnightCap/Makefile
--- /usr/ports/games/KnightCap/Makefile	Fri Nov  7 10:59:59 2003
+++ games/KnightCap/Makefile	Mon May 17 19:29:05 2004
@@ -9,22 +9,28 @@
 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 at 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 -urN /usr/ports/games/KnightCap/pkg-plist games/KnightCap/pkg-plist
--- /usr/ports/games/KnightCap/pkg-plist	Fri May 15 21:14:23 1998
+++ games/KnightCap/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-bin/KnightCap
-share/doc/KnightCap/README
- at dirrm share/doc/KnightCap
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list