[31257] trunk/dports/games/gnushogi
takanori at macports.org
takanori at macports.org
Sun Nov 18 21:24:04 PST 2007
Revision: 31257
http://trac.macosforge.org/projects/macports/changeset/31257
Author: takanori at macports.org
Date: 2007-11-18 21:24:03 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
gnushogi: Linted.
Modified Paths:
--------------
trunk/dports/games/gnushogi/Portfile
Added Paths:
-----------
trunk/dports/games/gnushogi/files/patch-gnushogi_gnushogi.h.diff
Removed Paths:
-------------
trunk/dports/games/gnushogi/files/patch-gnushogi.h
Modified: trunk/dports/games/gnushogi/Portfile
===================================================================
--- trunk/dports/games/gnushogi/Portfile 2007-11-19 05:23:41 UTC (rev 31256)
+++ trunk/dports/games/gnushogi/Portfile 2007-11-19 05:24:03 UTC (rev 31257)
@@ -1,34 +1,37 @@
# $Id$
-PortSystem 1.0
-name gnushogi
-version 1.3.2
-categories games
-maintainers takanori at macports.org
-description GNU version of Shogi, a game of Japanese chess.
-long_description ${description}
-platforms darwin
-homepage http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html
-master_sites http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/
-checksums md5 a18eae93afc89bfd368ed5f6768be791 \
- sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \
- rmd160 b177d2843f42490d33665f3a167068c64bc64214
-patchfiles patch-gnushogi.h
-depends_lib lib:libncurses:ncurses \
- lib:libX11:XFree86
+PortSystem 1.0
-configure.args --with-x --with-xshogi
+name gnushogi
+version 1.3.2
+categories games
+maintainers takanori
+description GNU version of Shogi, a game of Japanese chess.
+long_description \
+ ${description}
+platforms darwin
+homepage http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html
+master_sites http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/
+patchfiles patch-gnushogi_gnushogi.h.diff
+checksums md5 a18eae93afc89bfd368ed5f6768be791 \
+ sha1 6135ec3eb84917d0dc2cab9ac982818ed41aad87 \
+ rmd160 b177d2843f42490d33665f3a167068c64bc64214
-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi
+depends_lib lib:libncurses:ncurses \
+ lib:libX11:XFree86
- xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin
- xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi
- xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6
- eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info
+configure.args --with-x --with-xshogi
- xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin
- xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/lib/gnushogi
+
+ xinstall -m 755 -s ${worksrcpath}/gnushogi/gnushogi ${destroot}${prefix}/bin
+ xinstall -m 644 ${worksrcpath}/gnushogi/gnushogi.bbk ${destroot}${prefix}/lib/gnushogi
+ xinstall -m 644 ${worksrcpath}/doc/gnushogi.6 ${destroot}${prefix}/share/man/man6
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/gnushogi.info*] ${destroot}${prefix}/share/info
+
+ xinstall -m 755 -s ${worksrcpath}/xshogi/xshogi ${destroot}${prefix}/bin
+ xinstall -m 644 ${worksrcpath}/doc/xshogi.6 ${destroot}${prefix}/share/man/man6
}
livecheck.check regex
Deleted: trunk/dports/games/gnushogi/files/patch-gnushogi.h
===================================================================
--- trunk/dports/games/gnushogi/files/patch-gnushogi.h 2007-11-19 05:23:41 UTC (rev 31256)
+++ trunk/dports/games/gnushogi/files/patch-gnushogi.h 2007-11-19 05:24:03 UTC (rev 31257)
@@ -1,14 +0,0 @@
---- gnushogi/gnushogi.h~ 2004-07-08 09:16:35.000000000 +0900
-+++ gnushogi/gnushogi.h 2006-08-06 02:31:33.000000000 +0900
-@@ -139,11 +139,6 @@
- # endif
- #endif
-
--#ifdef HAVE_SETLINEBUF
--/* Not necessarily included in <stdio.h> */
--extern void setlinebuf(FILE *__stream);
--#endif
--
- #define RWA_ACC "r+"
- #define WA_ACC "w+"
- #ifdef BINBOOK
Copied: trunk/dports/games/gnushogi/files/patch-gnushogi_gnushogi.h.diff (from rev 30574, trunk/dports/games/gnushogi/files/patch-gnushogi.h)
===================================================================
--- trunk/dports/games/gnushogi/files/patch-gnushogi_gnushogi.h.diff (rev 0)
+++ trunk/dports/games/gnushogi/files/patch-gnushogi_gnushogi.h.diff 2007-11-19 05:24:03 UTC (rev 31257)
@@ -0,0 +1,14 @@
+--- gnushogi/gnushogi.h~ 2004-07-08 09:16:35.000000000 +0900
++++ gnushogi/gnushogi.h 2006-08-06 02:31:33.000000000 +0900
+@@ -139,11 +139,6 @@
+ # endif
+ #endif
+
+-#ifdef HAVE_SETLINEBUF
+-/* Not necessarily included in <stdio.h> */
+-extern void setlinebuf(FILE *__stream);
+-#endif
+-
+ #define RWA_ACC "r+"
+ #define WA_ACC "w+"
+ #ifdef BINBOOK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071118/a7dd0d61/attachment.html
More information about the macports-changes
mailing list