Ticket #37393: gtypist.patch
File gtypist.patch, 1.4 KB (added by g5pw (Aljaž Srebrnič), 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name gtypist 7 version 2. 8.37 version 2.9.1 8 8 categories games 9 9 platforms darwin 10 10 maintainers josephholsten.com:joseph … … 17 17 homepage http://www.gnu.org/software/gtypist/ 18 18 master_sites gnu:gtypist 19 19 20 checksums md5 ea3c7faa01d7052c156d50fa0e0506b8 \ 21 sha1 ac7b22c5ac4d6bb6359edb687b0810b3bb357ee7 \ 22 rmd160 139a61badcc2324dc28b7313967187689a1d87ce 20 checksums rmd160 753f1d2630969f5eed5830b9b4a09f2c5ca79e4c \ 21 sha256 a5885654aab74027999a67a9bbd7c3b6823479f89a6f1439244bf9c5536fb67d 23 22 24 23 depends_lib port:ncurses port:gettext 25 24 26 25 configure.args --mandir=${prefix}/share/man \ 27 26 --infodir=${prefix}/share/info 28 27 28 patch { 29 #Fix ncursesw dependency, wide char support is included in ncurses now. 30 foreach f {cursmenu.c error.c gtypist.c script.c utf8.c} { 31 reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/src/$f 32 } 33 reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/configure 34 reinplace "s|-lncursesw|-lncurses|" ${worksrcpath}/configure 35 } 36 29 37 livecheck.type regex 30 38 livecheck.url http://ftp.gnu.org/gnu/gtypist/?C=M&O=D 31 39 livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar