[25343] trunk/dports/games/nethack

source_changes at macosforge.org source_changes at macosforge.org
Sat May 19 12:42:40 PDT 2007


Revision: 25343
          http://trac.macosforge.org/projects/macports/changeset/25343
Author:   yeled at macports.org
Date:     2007-05-19 12:42:40 -0700 (Sat, 19 May 2007)

Log Message:
-----------
make our patches work with -p1

include new variants.

TODO - mirror patches so it doesnt break - like now. 

make me maint.

Modified Paths:
--------------
    trunk/dports/games/nethack/Portfile
    trunk/dports/games/nethack/files/patch-include__config.h
    trunk/dports/games/nethack/files/patch-sys__unix__Makefile.doc
    trunk/dports/games/nethack/files/patch-sys__unix__Makefile.src
    trunk/dports/games/nethack/files/patch-sys__unix__Makefile.top
    trunk/dports/games/nethack/files/patch-win__tty__termcap.c
    trunk/dports/games/nethack/files/x11/patch-include__config.h
    trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.src
    trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.top

Modified: trunk/dports/games/nethack/Portfile
===================================================================
--- trunk/dports/games/nethack/Portfile	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/Portfile	2007-05-19 19:42:40 UTC (rev 25343)
@@ -5,7 +5,7 @@
 version		3.4.3
 revision	2
 categories	games
-maintainers	nomaintainer at macports.org
+maintainers	yeled at macports.org
 description	Classic dungeon adventure game.
 long_description \
 		${description}
@@ -15,12 +15,15 @@
 master_sites	sourceforge
 distname	${name}-343-src
 extract.suffix	.tgz
-checksums	md5 21479c95990eefe7650df582426457f9
+checksums	${distfiles} md5 21479c95990eefe7650df582426457f9 \
+            ${distfiles} sha1 c26537093c38152bc0fbcec20468d975b35f59fd \
+            ${distfiles} rmd160 42f600d24715a0b7e631b357c135761410b3ca95
 
 worksrcdir	${name}-${version}
 
 ## patch ##
 
+patch.args -p1
 patchfiles	patch-sys__unix__Makefile.doc \
 		patch-sys__unix__Makefile.src \
 		patch-sys__unix__Makefile.top \
@@ -65,3 +68,27 @@
         patchfiles-append \
                 patch-include__config.h
 }               
+
+variant menucolors {
+        patch_sites-append http://bilious.homelinux.org/~paxed/nethack/
+        patchfiles-append nh343-menucolor.diff
+        checksums-append nh343-menucolor.diff md5 ade00f9cb51f1b0140557d329d56844c
+}
+
+variant paranoid {
+        patch_sites-append http://www.iki.fi/jslahti/nethack.html
+        patchfiles-append paranoid-343.diff
+        checksums-append paranoid-343.diff md5 ade00f9cb51f1b0140557d329d56844c
+}
+
+variant deathexplore {
+        patch_sites-append http://www.iki.fi/jslahti/nethack.html
+        patchfiles-append dthexp-343.diff
+        checksums-append dthexp-343.diff md5 ade00f9cb51f1b0140557d329d56844c
+}
+
+variant sortloot {
+        patch_sites-append http://www.iki.fi/jslahti/nethack.html
+        patchfiles-append sortloot-343.diff
+        checksums-append sortloot-343.diff md5 ade00f9cb51f1b0140557d329d56844c
+}

Modified: trunk/dports/games/nethack/files/patch-include__config.h
===================================================================
--- trunk/dports/games/nethack/files/patch-include__config.h	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/patch-include__config.h	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- include/config.h.apupx	Sun Dec  7 17:39:13 2003
-+++ include/config.h	Tue Oct 18 07:18:22 2005
+--- nethack-3.4.3/include/config.h.apupx	Sun Dec  7 17:39:13 2003
++++ nethack-3.4.3/include/config.h	Tue Oct 18 07:18:22 2005
 @@ -349,7 +349,7 @@
   */
  

Modified: trunk/dports/games/nethack/files/patch-sys__unix__Makefile.doc
===================================================================
--- trunk/dports/games/nethack/files/patch-sys__unix__Makefile.doc	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/patch-sys__unix__Makefile.doc	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- sys/unix/Makefile.doc.orig	2005-09-02 13:49:04.000000000 -0700
-+++ sys/unix/Makefile.doc	2005-09-02 13:49:13.000000000 -0700
+--- nethack-3.4.3/sys/unix/Makefile.doc.orig	2005-09-02 13:49:04.000000000 -0700
++++ nethack-3.4.3/sys/unix/Makefile.doc	2005-09-02 13:49:13.000000000 -0700
 @@ -41,7 +41,7 @@
  
  

Modified: trunk/dports/games/nethack/files/patch-sys__unix__Makefile.src
===================================================================
--- trunk/dports/games/nethack/files/patch-sys__unix__Makefile.src	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/patch-sys__unix__Makefile.src	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- sys/unix/Makefile.src.orig	2003-12-07 15:39:13.000000000 -0800
-+++ sys/unix/Makefile.src	2005-09-02 13:46:21.000000000 -0700
+--- nethack-3.4.3/sys/unix/Makefile.src.orig	2003-12-07 15:39:13.000000000 -0800
++++ nethack-3.4.3/sys/unix/Makefile.src	2005-09-02 13:46:21.000000000 -0700
 @@ -227,11 +227,11 @@
  # Be uses -ltermcap
  #

Modified: trunk/dports/games/nethack/files/patch-sys__unix__Makefile.top
===================================================================
--- trunk/dports/games/nethack/files/patch-sys__unix__Makefile.top	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/patch-sys__unix__Makefile.top	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- sys/unix/Makefile.top.orig	2003-12-07 15:39:13.000000000 -0800
-+++ sys/unix/Makefile.top	2005-09-02 13:59:43.000000000 -0700
+--- nethack-3.4.3/sys/unix/Makefile.top.orig	2003-12-07 15:39:13.000000000 -0800
++++ nethack-3.4.3/sys/unix/Makefile.top	2005-09-02 13:59:43.000000000 -0700
 @@ -14,7 +14,7 @@
  # MAKE = make
  

Modified: trunk/dports/games/nethack/files/patch-win__tty__termcap.c
===================================================================
--- trunk/dports/games/nethack/files/patch-win__tty__termcap.c	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/patch-win__tty__termcap.c	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- win/tty/termcap.c.orig	2005-09-02 13:35:49.000000000 -0700
-+++ win/tty/termcap.c	2005-09-02 13:36:13.000000000 -0700
+--- nethack-3.4.3/win/tty/termcap.c.orig	2005-09-02 13:35:49.000000000 -0700
++++ nethack-3.4.3/win/tty/termcap.c	2005-09-02 13:36:13.000000000 -0700
 @@ -835,7 +835,7 @@
  
  #include <curses.h>

Modified: trunk/dports/games/nethack/files/x11/patch-include__config.h
===================================================================
--- trunk/dports/games/nethack/files/x11/patch-include__config.h	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/x11/patch-include__config.h	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- include/config.h.orig	Mon Sep  2 17:43:56 2002
-+++ include/config.h	Mon Sep  2 17:44:14 2002
+--- nethack-3.4.3/include/config.h.orig	Mon Sep  2 17:43:56 2002
++++ nethack-3.4.3/include/config.h	Mon Sep  2 17:44:14 2002
 @@ -43,7 +43,7 @@
   * Some combinations make no sense.  See the installation document.
   */

Modified: trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.src
===================================================================
--- trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.src	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.src	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- sys/unix/Makefile.src.orig	Mon Sep  2 18:25:46 2002
-+++ sys/unix/Makefile.src	Mon Sep  2 18:26:59 2002
+--- nethack-3.4.3/sys/unix/Makefile.src.orig	Mon Sep  2 18:25:46 2002
++++ nethack-3.4.3/sys/unix/Makefile.src	Mon Sep  2 18:26:59 2002
 @@ -151,8 +151,8 @@
  # flags for debugging:
  # CFLAGS = -g -I../include

Modified: trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.top
===================================================================
--- trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.top	2007-05-19 19:32:05 UTC (rev 25342)
+++ trunk/dports/games/nethack/files/x11/patch-sys__unix__Makefile.top	2007-05-19 19:42:40 UTC (rev 25343)
@@ -1,5 +1,5 @@
---- sys/unix/Makefile.top.orig	Mon Sep  2 17:44:55 2002
-+++ sys/unix/Makefile.top	Mon Sep  2 17:46:44 2002
+--- nethack-3.4.3/sys/unix/Makefile.top.orig	Mon Sep  2 17:44:55 2002
++++ nethack-3.4.3/sys/unix/Makefile.top	Mon Sep  2 17:46:44 2002
 @@ -40,8 +40,8 @@
  SHELLDIR = $(PREFIX)/bin
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070519/95312400/attachment.html


More information about the macports-changes mailing list