Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 12:07:12 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19221: Update port: games/xchain
Message-ID:  <20000612190712.968BE37B70E@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19221
>Category:       ports
>Synopsis:       Update port: games/xchain
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 12 12:10:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support LOCALBASE properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/xchain/Makefile games/xchain/Makefile
--- /usr/ports/games/xchain/Makefile	Sat Apr 15 00:24:13 2000
+++ games/xchain/Makefile	Sat Jun 10 11:33:11 2000
@@ -8,23 +8,23 @@
 PORTNAME=	xchain
 PORTVERSION=	1.0.2
 CATEGORIES=	games
-MASTER_SITES=	http://thor.cam.ac.uk/~ac212/xchain/
-DISTNAME=	xchain_1.0-2
+MASTER_SITES=	http://linux.tucows.com/files/x11/entertain/
+DISTNAME=	${PORTNAME}_1.0-2
 
 MAINTAINER=	ports@FreeBSD.org
 
 RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
 
-USE_X_PREFIX=	yes
-WRKSRC=		${WRKDIR}/xchain-1.0
+WRKSRC=		${WRKDIR}/${PORTNAME}-1.0
 
+USE_X_PREFIX=	yes
 MAN6=		xchain.6
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin
-	@ ${INSTALL_MAN} ${WRKSRC}/xchain.6 ${PREFIX}/man/man6
-	@ ${MKDIR} ${PREFIX}/share/doc/xchain
-	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchain
-	@ ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/doc/xchain
+	${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/xchain.6 ${PREFIX}/man/man6
+	@${MKDIR} ${PREFIX}/share/doc/xchain
+	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchain
+	${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/doc/xchain
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/xchain/patches/patch-aa games/xchain/patches/patch-aa
--- /usr/ports/games/xchain/patches/patch-aa	Mon Nov 29 03:32:39 1999
+++ games/xchain/patches/patch-aa	Sat Jun 10 11:29:52 2000
@@ -1,11 +1,12 @@
---- xchain.c	Wed Feb 25 15:10:15 1998
-+++ /home/andy/tmp/wrk/xchain.c	Fri Mar 13 21:53:20 1998
-@@ -29,7 +29,7 @@
+--- xchain.c.orig	Thu Feb 26 00:10:15 1998
++++ xchain.c	Sat Jun 10 11:29:42 2000
+@@ -29,7 +29,9 @@
  #include <stdlib.h>
  #include <time.h>
  
--#define DEF_WISH_PATH "/usr/bin/wish"
-+#define DEF_WISH_PATH "/usr/local/bin/wish8.2"
++#ifndef DEF_WISH_PATH
+ #define DEF_WISH_PATH "/usr/bin/wish"
++#endif
  
  void wprintf(char *, ...);
  void draw_screen(void);
diff -urN /usr/ports/games/xchain/patches/patch-ab games/xchain/patches/patch-ab
--- /usr/ports/games/xchain/patches/patch-ab	Mon Apr 27 13:36:16 1998
+++ games/xchain/patches/patch-ab	Sat Jun 10 11:36:29 2000
@@ -1,5 +1,5 @@
---- Makefile.orig	Mon Apr 27 00:32:58 1998
-+++ Makefile	Mon Apr 27 00:33:22 1998
+--- Makefile.orig	Wed Feb 25 03:50:23 1998
++++ Makefile	Sat Jun 10 11:32:52 2000
 @@ -1,8 +1,8 @@
  DESTDIR = /
  # This is so dpkg-buildpackage can build in the correct dir
@@ -7,7 +7,7 @@
 -CC=gcc
 -CFLAGS=-O2 -Wall
 +#CC=gcc
-+#CFLAGS=-O2 -Wall
++CFLAGS+=-DDEF_WISH_PATH=\"${LOCALBASE}/bin/wish8.2\"
  
  OBJS=		xchain.o
  


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000612190712.968BE37B70E>