[41852] trunk/dports/games/ctetris

toby at macports.org toby at macports.org
Tue Nov 11 01:14:02 PST 2008


Revision: 41852
          http://trac.macports.org/changeset/41852
Author:   toby at macports.org
Date:     2008-11-11 01:14:02 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
update to 0.42

Modified Paths:
--------------
    trunk/dports/games/ctetris/Portfile
    trunk/dports/games/ctetris/files/patch-Makefile.diff

Removed Paths:
-------------
    trunk/dports/games/ctetris/files/patch-brick.h
    trunk/dports/games/ctetris/files/patch-game.h
    trunk/dports/games/ctetris/files/patch-screen.h

Modified: trunk/dports/games/ctetris/Portfile
===================================================================
--- trunk/dports/games/ctetris/Portfile	2008-11-11 08:44:37 UTC (rev 41851)
+++ trunk/dports/games/ctetris/Portfile	2008-11-11 09:14:02 UTC (rev 41852)
@@ -2,8 +2,8 @@
 
 PortSystem 1.0
 
-name	   ctetris
-version	   0.30
+name	   ctris
+version	   0.42
 categories	games
 platforms	darwin
 maintainers	jmpp openmaintainer
@@ -13,16 +13,13 @@
 			library. It works very fast and efficiently, so it should be possible to \
 			play it even over a slow remote terminal.
 
-homepage	http://sourceforge.net/projects/ctetris/
-master_sites	sourceforge
+homepage	http://www.hackl.dhs.org/ctris/
+master_sites	http://www.hackl.dhs.org/data/download/files/
 use_bzip2	yes
-checksums	md5 c6c6b9cf5d4b8ea4f82e498220293411
+checksums	md5 035627486d5f767f0c818a17a97bbe0c
 
 use_configure	no
 
-patchfiles	patch-Makefile.diff \
-		patch-brick.h \
-		patch-game.h \
-		patch-screen.h
+patchfiles	patch-Makefile.diff
 post-patch	{ reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile }
 

Modified: trunk/dports/games/ctetris/files/patch-Makefile.diff
===================================================================
--- trunk/dports/games/ctetris/files/patch-Makefile.diff	2008-11-11 08:44:37 UTC (rev 41851)
+++ trunk/dports/games/ctetris/files/patch-Makefile.diff	2008-11-11 09:14:02 UTC (rev 41852)
@@ -1,34 +1,20 @@
---- Makefile.orig	Thu Nov 25 01:37:20 2004
-+++ Makefile	Thu Nov 25 01:37:58 2004
-@@ -1,9 +1,9 @@
+--- Makefile.orig	2005-10-09 13:00:29.000000000 -0700
++++ Makefile	2008-11-11 01:11:39.000000000 -0800
+@@ -1,6 +1,6 @@
  
- DESTDIR= # this variable is overwritten to install in RPMBUILDDESTDIR
--PREFIX=$(DESTDIR)/usr/
--DOCDIR=$(DESTDIR)/usr/share/doc/packages/ctetris/
--MANDIR=$(DESTDIR)/usr/share/man/man1/
--BINDIR=$(DESTDIR)/bin/
-+PREFIX=$(DESTDIR)__PREFIX__
-+DOCDIR=$(PREFIX)/share/doc/ctetris
-+MANDIR=$(PREFIX)/share/man/man1
-+BINDIR=$(PREFIX)/bin
+-MANDIR=$(DESTDIR)/usr/share/man/man6/
+-BINDIR=$(DESTDIR)/usr/games/
++MANDIR=$(DESTDIR)__PREFIX__/share/man/man6
++BINDIR=$(DESTDIR)__PREFIX__/bin
+ 
  CC=gcc
  MKDIR=mkdir -p
- INSTALL=install
-@@ -19,7 +19,7 @@
- all:
- 	make config
- 	make build
--	
-+
- config:	
- 	./create_config.sh
- 
-@@ -37,7 +37,7 @@
+@@ -35,7 +35,7 @@
  	$(RM) $(OBJS) $(OUTPUT) config.h
  
  
 -install:
 +install: all
- 	$(MKDIR) $(BINDIR) $(MANDIR) $(DOCDIR)
+ 	$(MKDIR) $(BINDIR) $(MANDIR)
  	$(INSTALL) $(OUTPUT) $(BINDIR)
- 	$(INSTALL) -m 644 $(DOCS) $(DOCDIR)
+ 	$(INSTALL) -m 644 $(MANS) $(MANDIR)

Deleted: trunk/dports/games/ctetris/files/patch-brick.h
===================================================================
--- trunk/dports/games/ctetris/files/patch-brick.h	2008-11-11 08:44:37 UTC (rev 41851)
+++ trunk/dports/games/ctetris/files/patch-brick.h	2008-11-11 09:14:02 UTC (rev 41852)
@@ -1,17 +0,0 @@
---- brick.h.orig	2005-10-06 13:34:23.000000000 -0700
-+++ brick.h	2005-10-06 13:38:33.000000000 -0700
-@@ -1,10 +1,10 @@
- #ifndef _BRICK_H
- #define _BRICK_H
- 
--void change_direction(char [][], char [][], const unsigned char, const unsigned char, const char);
--void find_index(char [][], unsigned char *, unsigned char *);
--char check_brick(char [][], char [][], const unsigned char, const unsigned char);
--void draw_to_board(char [][], char [][], const char, const unsigned char, const unsigned char);
-+void change_direction(char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const unsigned char, const unsigned char, const char);
-+void find_index(char [4][4], unsigned char *, unsigned char *);
-+char check_brick(char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const unsigned char, const unsigned char);
-+void draw_to_board(char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const char, const unsigned char, const unsigned char);
- 
- char brick_digit[7][4][4];
- 

Deleted: trunk/dports/games/ctetris/files/patch-game.h
===================================================================
--- trunk/dports/games/ctetris/files/patch-game.h	2008-11-11 08:44:37 UTC (rev 41851)
+++ trunk/dports/games/ctetris/files/patch-game.h	2008-11-11 09:14:02 UTC (rev 41852)
@@ -1,15 +0,0 @@
---- game.h.orig	2005-10-06 13:34:03.000000000 -0700
-+++ game.h	2005-10-06 13:36:05.000000000 -0700
-@@ -1,9 +1,9 @@
- #ifndef _GAME_H
- #define _GAME_H
- 
--void init_board(char [][]);
--void remove_this_row(WINDOW *, char [][], unsigned char);
--void remove_rows(WINDOW *, char [][], unsigned int *, const char);
-+void init_board(char [BOARD_HEIGHT][BOARD_WIDTH]);
-+void remove_this_row(WINDOW *, char [BOARD_HEIGHT][BOARD_WIDTH], unsigned char);
-+void remove_rows(WINDOW *, char [BOARD_HEIGHT][BOARD_WIDTH], unsigned int *, const char);
- void calc_level(const unsigned int, char *);
- unsigned int start_game();
- 

Deleted: trunk/dports/games/ctetris/files/patch-screen.h
===================================================================
--- trunk/dports/games/ctetris/files/patch-screen.h	2008-11-11 08:44:37 UTC (rev 41851)
+++ trunk/dports/games/ctetris/files/patch-screen.h	2008-11-11 09:14:02 UTC (rev 41852)
@@ -1,22 +0,0 @@
---- screen.h.orig	2005-10-06 13:33:57.000000000 -0700
-+++ screen.h	2005-10-06 13:37:05.000000000 -0700
-@@ -13,8 +13,8 @@
- void destroy_preview_win(WINDOW *);
- void destroy_score_win(WINDOW *);
- void show_brick_pice(WINDOW *, const char, const unsigned char, const unsigned char);
--void show_board_win(WINDOW *, char [][], char [][], const char, const unsigned char, const unsigned char);
--void show_brick(WINDOW *, char [][], const char, const unsigned char, const unsigned char);
-+void show_board_win(WINDOW *, char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const char, const unsigned char, const unsigned char);
-+void show_brick(WINDOW *, char [4][4], const char, const unsigned char, const unsigned char);
- void show_brick_preview(WINDOW *, const char);
- int get_key(WINDOW *);
- int old_get_key(WINDOW *);
-@@ -27,7 +27,7 @@
- void show_pause(WINDOW *);
- void show_headline();
- void show_colorized_char(const unsigned char, const unsigned char, const char, const char);
--void show_remove_row(WINDOW *, char [][], const unsigned char);
-+void show_remove_row(WINDOW *, char [BOARD_HEIGHT][BOARD_WIDTH], const unsigned char);
- void refresh_win(WINDOW *);
- void show_yes_no(WINDOW *, const char);
- char yes_no_question(const char *);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081111/e042c0ef/attachment.html>


More information about the macports-changes mailing list