Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  9 Dec 1999 10:41:08 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15379: Update port: games/xemeraldia to 0.31
Message-ID:  <19991209184108.7633E1568A@hub.freebsd.org>

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

>Number:         15379
>Category:       ports
>Synopsis:       Update port: games/xemeraldia to 0.31
>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:   Thu Dec  9 10:50:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE i386
>Organization:
>Environment:
>Description:
* Updated version 0.3 to 0.31
* Fixed MASTER_SITES

New file:
patches/patch-ab  patches/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/xemeraldia/Makefile games/xemeraldia/Makefile
--- /usr/ports/games/xemeraldia/Makefile	Tue Aug 31 21:07:48 1999
+++ games/xemeraldia/Makefile	Thu Dec  9 20:13:39 1999
@@ -1,36 +1,28 @@
-# New ports collection makefile for:    xemeraldia
-# Version required:     0.3
-# Date created:         22 Mar 1995
-# Whom:                 asami
+# New ports collection makefile for:	xemeraldia
+# Version required:	0.31
+# Date created:		22 Mar 1995
+# Whom:			asami
 #
 # $FreeBSD: ports/games/xemeraldia/Makefile,v 1.16 1999/08/31 06:44:38 mharo Exp $
 #
 
-DISTNAME=       xemeraldia-0.3
+DISTNAME=	xemeraldia-0.3
+PKGNAME=	xemeraldia-0.31
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.kuis.kyoto-u.ac.jp/News.Archives/fj.sources/1995/
-DISTFILES=	271.gz
+MASTER_SITES=	ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/mar/
+
+PATCH_SITES=	ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/apr/
+PATCHFILES=	xemeraldia-0.3to0.31.patch.gz
+PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	ports@FreeBSD.org
 
-USE_IMAKE=      yes
+USE_IMAKE=	yes
 NO_INSTALL_MANPAGES=	yes
 
-do-extract:
-	@(cd ${DISTDIR}; \
-	  if [ ! -f ${DISTNAME}.tar.gz ]; then \
-	    zcat ${DISTFILES} | uudecode; \
-	  fi)
-	@${RM} -rf ${WRKDIR}
-	@${MKDIR} ${WRKDIR}
-	@(cd ${WRKDIR}; tar -xzf \
-		${DISTDIR}/${DISTNAME}.tar.gz)
-
 post-install:
-	touch ${PREFIX}/lib/X11/.xemeraldia.scores
-	${CHMOD} 666 ${PREFIX}/lib/X11/.xemeraldia.scores
-
-pre-clean:
-	@${RM} -f ${DISTDIR}/${DISTNAME}.tar.gz
+	@${MKDIR} ${PREFIX}/lib/X11/xemeraldia
+	@${TOUCH} ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores
+	@${CHMOD} 666 ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/xemeraldia/files/md5 games/xemeraldia/files/md5
--- /usr/ports/games/xemeraldia/files/md5	Tue Mar 28 00:00:00 1995
+++ games/xemeraldia/files/md5	Thu Dec  9 19:07:06 1999
@@ -1 +1,2 @@
-MD5 (271.gz) = 693edb031d149ab93ae1b0c0a65a487a
+MD5 (xemeraldia-0.3.tar.gz) = 35c30637ea597ce995d8b51a3d8e4080
+MD5 (xemeraldia-0.3to0.31.patch.gz) = 77287135b5d28d67c1245241dbd6534f
diff -urN /usr/ports/games/xemeraldia/patches/patch-aa games/xemeraldia/patches/patch-aa
--- /usr/ports/games/xemeraldia/patches/patch-aa	Tue Mar 28 00:00:00 1995
+++ games/xemeraldia/patches/patch-aa	Thu Dec  9 19:27:49 1999
@@ -1,23 +1,19 @@
---- ./Imakefile.org	Thu Mar 23 03:12:46 1995
-+++ ./Imakefile	Tue Mar 28 00:55:44 1995
-@@ -1,11 +1,7 @@
+--- Imakefile.orig	Thu Dec  9 19:16:34 1999
++++ Imakefile	Thu Dec  9 19:27:40 1999
+@@ -1,5 +1,4 @@
 -BIN_DIR=          /usr/local/bin
 -HIGH_SCORE_DIR=   /usr/local/lib
-+HIGH_SCORE_DIR=   ${LIBDIR}
++HIGH_SCORE_DIR=   ${LIBDIR}/xemeraldia
  
  /*---------------------------------------------------------------------*/
  
--/* CC=gcc */
--CDEBUGFLAGS=-g
--
- #ifdef SunOSPlatform
- #if SunOSPlatform
- #if OSMajorVersion == 4
-@@ -15,7 +11,6 @@
+@@ -14,8 +13,7 @@
  #endif
  #endif
  
 -BINDIR=$(BIN_DIR)
- EXTRA_DEFINES = -DHIGH_SCORE_TABLE=\"$(HIGH_SCORE_DIR)/.xemeraldia.scores\"\
+-EXTRA_DEFINES = -DHIGH_SCORE_TABLE=\"$(HIGH_SCORE_DIR)/.xemeraldia.scores\"\
++EXTRA_DEFINES = -DHIGH_SCORE_TABLE=\"$(HIGH_SCORE_DIR)/xemeraldia.scores\"\
                  -D__USE_FIXED_PROTOTYPES__
  
+ HEADERS = games.h graphics.h bitmaps.h
diff -urN /usr/ports/games/xemeraldia/patches/patch-ab games/xemeraldia/patches/patch-ab
--- /usr/ports/games/xemeraldia/patches/patch-ab	Thu Jan  1 09:00:00 1970
+++ games/xemeraldia/patches/patch-ab	Thu Dec  9 19:57:22 1999
@@ -0,0 +1,15 @@
+--- XEmeraldia.ad.orig	Thu Dec  9 19:16:35 1999
++++ XEmeraldia.ad	Thu Dec  9 19:23:20 1999
+@@ -32,9 +32,9 @@
+ XEmeraldia*useScoreFile: True
+ 
+ !!!!! fonts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+-XEmeraldia*nextBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*
+-XEmeraldia*buttonBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*
+-XEmeraldia*dispBox*Font: -adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*
++XEmeraldia*nextBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*
++XEmeraldia*buttonBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*
++XEmeraldia*dispBox*Font: -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*
+ 
+ !!!!! controls !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ XEmeraldia*bigBox.baseTranslations:	#override \
diff -urN /usr/ports/games/xemeraldia/patches/patch-ac games/xemeraldia/patches/patch-ac
--- /usr/ports/games/xemeraldia/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ games/xemeraldia/patches/patch-ac	Thu Dec  9 19:51:02 1999
@@ -0,0 +1,11 @@
+--- init-graphics.c.orig	Mon Mar 20 16:15:38 1995
++++ init-graphics.c	Thu Dec  9 19:50:51 1999
+@@ -50,7 +50,7 @@
+   clearScreen (w);
+ 
+   font = XLoadFont (XtDisplay (w),
+-		    "-*-new century schoolbook-*-*-*-*-20-*-*-*-*-*-*-*");
++		    "-*-new century schoolbook-*-*-*-*-18-*-*-*-*-*-*-*");
+   XSetFont (XtDisplay (w), draw_gc, font);
+ }
+ 
diff -urN /usr/ports/games/xemeraldia/pkg/PLIST games/xemeraldia/pkg/PLIST
--- /usr/ports/games/xemeraldia/pkg/PLIST	Mon Nov 18 00:00:00 1996
+++ games/xemeraldia/pkg/PLIST	Thu Dec  9 20:16:07 1999
@@ -1,5 +1,6 @@
 bin/xemeraldia
-@exec touch -f %D/lib/X11/.xemeraldia.scores
-@exec chmod 666 %D/lib/X11/.xemeraldia.scores
-@exec chown games %D/lib/X11/.xemeraldia.scores
-@unexec rm -f %D/lib/X11/.xemeraldia.scores
+@exec mkdir -p %D/lib/X11/xemeraldia
+@exec touch -f %D/lib/X11/xemeraldia/xemeraldia.scores
+@exec chmod 666 %D/lib/X11/xemeraldia/xemeraldia.scores
+@unexec rm -f %D/lib/X11/xemeraldia/xemeraldia.scores
+@unexec rmdir %D/lib/X11/xemeraldia


>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?19991209184108.7633E1568A>