[64492] trunk/dports/games/xgalaga
snc at macports.org
snc at macports.org
Sun Mar 7 08:15:22 PST 2010
Revision: 64492
http://trac.macports.org/changeset/64492
Author: snc at macports.org
Date: 2010-03-07 08:15:21 -0800 (Sun, 07 Mar 2010)
Log Message:
-----------
updated version, #23965
Modified Paths:
--------------
trunk/dports/games/xgalaga/Portfile
Added Paths:
-----------
trunk/dports/games/xgalaga/files/patch-main.c.diff
Removed Paths:
-------------
trunk/dports/games/xgalaga/files/patch-Makefile.in
trunk/dports/games/xgalaga/files/patch-data.h
trunk/dports/games/xgalaga/files/patch-libsprite__data.h
trunk/dports/games/xgalaga/files/patch-main.c
trunk/dports/games/xgalaga/files/patch-score.c
trunk/dports/games/xgalaga/files/patch-struct.h
trunk/dports/games/xgalaga/files/patch-titile.c
Modified: trunk/dports/games/xgalaga/Portfile
===================================================================
--- trunk/dports/games/xgalaga/Portfile 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/Portfile 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,5 +4,5 @@
name xgalaga
-version 2.0.34
+version 2.1.1.0
revision 1
categories games x11
@@ -13,20 +14,14 @@
homepage http://sourceforge.net/projects/xgalaga/
master_sites sourceforge
-distname ${name}_${version}.orig
-checksums md5 9f7ee685e9c4741b5f0edc3f91df9510 \
- sha1 82dcb328af0d9e779c566f4225d7f072b1c17b7d \
- rmd160 bf2cc91820c1cdb8e02bd35347b309cac27b3ba4
+distname ${name}-${version}
+checksums md5 f37c3377b245d2d53b33eb489966bf28 \
+ sha1 ef40ad833d2434b0643d4c00202bd75ec14b94ac \
+ rmd160 b55a97187b61ffe7c072ecd784cf9a16fe568c26
worksrcdir ${name}-${version}
-patchfiles patch-Makefile.in \
- patch-data.h \
- patch-libsprite__data.h \
- patch-main.c \
- patch-score.c \
- patch-struct.h \
- patch-titile.c
+patchfiles patch-main.c.diff
depends_lib port:xorg-libX11 \
port:xorg-libXext \
@@ -37,10 +32,9 @@
use_autoconf yes
configure.pre_args --prefix=${prefix}/share/${name} \
- --exec-prefix=\\\${prefix}/../../bin
+ --exec-prefix=${prefix}/bin \
+ --with-xpm-lib=${prefix}/lib
-destroot.destdir prefix=${destroot}${prefix}/share/${name}
-
platform darwin {
pre-configure {
if {[file exists ${prefix}/share/libtool/config/config.guess]} {
Deleted: trunk/dports/games/xgalaga/files/patch-Makefile.in
===================================================================
--- trunk/dports/games/xgalaga/files/patch-Makefile.in 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-Makefile.in 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,10 +0,0 @@
---- Makefile.in Mon May 11 08:52:59 1998
-+++ Makefile.in.new Thu Jan 20 21:29:38 2005
-@@ -46,7 +46,6 @@
- ./mkinstalldirs $(bindir)
- ./mkinstalldirs $(prefix)
- $(INSTALL) $(TARGET) $(bindir)/$(TARGET)
-- $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
- ./mkinstalldirs $(prefix)/sounds
- ./mkinstalldirs $(prefix)/levels
- for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
Deleted: trunk/dports/games/xgalaga/files/patch-data.h
===================================================================
--- trunk/dports/games/xgalaga/files/patch-data.h 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-data.h 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,8 +0,0 @@
---- data.h.orig Mon May 11 15:37:19 1998
-+++ data.h Wed Jun 27 02:50:31 2007
-@@ -1,4 +1,5 @@
- #include "Wlib.h"
-+#include "struct.h"
-
- extern W_Window gal, baseWin;
-
Deleted: trunk/dports/games/xgalaga/files/patch-libsprite__data.h
===================================================================
--- trunk/dports/games/xgalaga/files/patch-libsprite__data.h 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-libsprite__data.h 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,10 +0,0 @@
---- libsprite/data.h.orig Sun Apr 12 15:03:22 1998
-+++ libsprite/data.h Wed Jun 27 02:49:24 2007
-@@ -20,6 +20,7 @@
-
- #include "Wlib.h"
- #include "defs.h"
-+#include "struct.h"
-
- extern int nplanes;
- extern int xpmORplanes ;
Deleted: trunk/dports/games/xgalaga/files/patch-main.c
===================================================================
--- trunk/dports/games/xgalaga/files/patch-main.c 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-main.c 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,26 +0,0 @@
---- main.c.orig Mon May 11 15:52:59 1998
-+++ main.c Wed Jun 27 02:53:46 2007
-@@ -7,6 +7,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #ifdef HAVE_SYS_TIME_H
- #include <sys/time.h>
- #endif
-@@ -779,6 +780,7 @@
- if(gameOver) {
- while(W_EventsPending()) {
- W_NextEvent(&wev);
-+ if (wev.key >= 256) wev.key -= 256;
-
- if(gameOver)
- mouseControl = 1;
-@@ -826,6 +828,7 @@
-
- while(W_EventsPending()) {
- W_NextEvent(&wev);
-+ if (wev.key >= 256) wev.key -= 256;
-
- switch(wev.type) {
- case W_EV_KEY_OFF:
Copied: trunk/dports/games/xgalaga/files/patch-main.c.diff (from rev 64491, trunk/dports/games/xgalaga/files/patch-main.c)
===================================================================
--- trunk/dports/games/xgalaga/files/patch-main.c.diff (rev 0)
+++ trunk/dports/games/xgalaga/files/patch-main.c.diff 2010-03-07 16:15:21 UTC (rev 64492)
@@ -0,0 +1,18 @@
+--- main.orig.c 2010-03-07 16:31:28.000000000 +0100
++++ main.c 2010-03-07 16:31:37.000000000 +0100
+@@ -836,6 +836,7 @@
+ if(gameOver) {
+ while(W_EventsPending()) {
+ W_NextEvent(&wev);
++ if (wev.key >= 256) wev.key -= 256;
+
+ if(gameOver)
+ mouseControl = 1;
+@@ -922,6 +923,7 @@
+
+ while(W_EventsPending()) {
+ W_NextEvent(&wev);
++ if (wev.key >= 256) wev.key -= 256;
+
+ switch(wev.type) {
+ case W_EV_KEY_OFF:
Deleted: trunk/dports/games/xgalaga/files/patch-score.c
===================================================================
--- trunk/dports/games/xgalaga/files/patch-score.c 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-score.c 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,10 +0,0 @@
---- score.c.orig Thu Apr 30 14:11:58 1998
-+++ score.c Wed Jun 27 02:55:23 2007
-@@ -4,6 +4,7 @@
-
- #include <config.h>
- #include <stdio.h>
-+#include <string.h>
- #include "Wlib.h"
- #include "images.h"
- #include "data.h"
Deleted: trunk/dports/games/xgalaga/files/patch-struct.h
===================================================================
--- trunk/dports/games/xgalaga/files/patch-struct.h 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-struct.h 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,15 +0,0 @@
---- struct.h.orig Sun Oct 22 00:36:24 2000
-+++ struct.h Sun Oct 22 00:37:03 2000
-@@ -1,3 +1,6 @@
-+#ifndef __struct_h__
-+#define __struct_h__
-+
- #include "Wlib.h"
-
- struct torp {
-@@ -38,3 +41,5 @@
- int count;
- W_Image *shape;
- };
-+
-+#endif /* __struct_h__ */
Deleted: trunk/dports/games/xgalaga/files/patch-titile.c
===================================================================
--- trunk/dports/games/xgalaga/files/patch-titile.c 2010-03-07 16:09:16 UTC (rev 64491)
+++ trunk/dports/games/xgalaga/files/patch-titile.c 2010-03-07 16:15:21 UTC (rev 64492)
@@ -1,10 +0,0 @@
---- title.c.orig Mon May 11 15:52:59 1998
-+++ title.c Wed Jun 27 02:54:45 2007
-@@ -4,6 +4,7 @@
- #include <config.h>
-
- #include <stdio.h>
-+#include <string.h>
- #include "Wlib.h"
- #include "defs.h"
- #include "images.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100307/99a8d492/attachment-0001.html>
More information about the macports-changes
mailing list