[101379] trunk/dports/games/gtypist/Portfile

g5pw at macports.org g5pw at macports.org
Wed Jan 9 14:27:23 PST 2013


Revision: 101379
          https://trac.macports.org/changeset/101379
Author:   g5pw at macports.org
Date:     2013-01-09 14:27:23 -0800 (Wed, 09 Jan 2013)
Log Message:
-----------
games/gtypist:
  bump to 2.9.1
  patch code to use ncurses and not ncursesw
  maintainer timeout (#37393)

Modified Paths:
--------------
    trunk/dports/games/gtypist/Portfile

Modified: trunk/dports/games/gtypist/Portfile
===================================================================
--- trunk/dports/games/gtypist/Portfile	2013-01-09 22:13:04 UTC (rev 101378)
+++ trunk/dports/games/gtypist/Portfile	2013-01-09 22:27:23 UTC (rev 101379)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name            gtypist
-version         2.8.3
+version         2.9.1
 categories      games
 platforms       darwin
 maintainers     josephholsten.com:joseph
@@ -17,15 +17,23 @@
 homepage        http://www.gnu.org/software/gtypist/
 master_sites    gnu:gtypist
 
-checksums       md5 ea3c7faa01d7052c156d50fa0e0506b8 \
-                sha1 ac7b22c5ac4d6bb6359edb687b0810b3bb357ee7 \
-                rmd160 139a61badcc2324dc28b7313967187689a1d87ce
+checksums       rmd160  753f1d2630969f5eed5830b9b4a09f2c5ca79e4c \
+                sha256  a5885654aab74027999a67a9bbd7c3b6823479f89a6f1439244bf9c5536fb67d
 
 depends_lib     port:ncurses port:gettext
 
 configure.args  --mandir=${prefix}/share/man \
                 --infodir=${prefix}/share/info
 
+patch {
+    #Fix ncursesw dependency, wide char support is included in ncurses now.
+    foreach f {cursmenu.c error.c gtypist.c script.c utf8.c} {
+        reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/src/$f
+    }
+    reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/configure
+    reinplace "s|-lncursesw|-lncurses|" ${worksrcpath}/configure
+}
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnu.org/gnu/gtypist/?C=M&O=D
 livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130109/3237b814/attachment.html>


More information about the macports-changes mailing list