diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile index b8af8014caab..6b58edce8a0d 100644 --- a/games/xshogi/Makefile +++ b/games/xshogi/Makefile @@ -1,24 +1,26 @@ PORTNAME= xshogi -PORTVERSION= 1.4.2 -PORTREVISION= 1 +DISTVERSION= 1.4.2 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= GNU/gnushogi -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mew14930xvi@inbox.lv COMMENT= Japanese chess-like game for X Window System +WWW= https://www.gnu.org/software/gnushogi/ -RUN_DEPENDS= gnushogi:games/gnushogi +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING -USES= xorg -USE_XORG= xt xaw x11 -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share +RUN_DEPENDS= ${LOCALBASE}/share/fonts/100dpi/helvR12.pcf.gz:x11-fonts/font-adobe-100dpi \ + gnushogi:games/gnushogi -CPPFLAGS+= -I${LOCALBASE}/include +USES= localbase xorg +USE_XORG= x11 xaw xext xmu xt +GNU_CONFIGURE= yes -PORTDOCS= README.xboard BUGS PLIST_FILES= bin/xshogi share/man/man6/xshogi.6.gz +PORTDOCS= BUGS README.xboard OPTIONS_DEFINE= DOCS .include diff --git a/games/xshogi/files/patch-sysdeps.h b/games/xshogi/files/patch-sysdeps.h index 104f97d45cb6..fcf0eb9dc5ea 100644 --- a/games/xshogi/files/patch-sysdeps.h +++ b/games/xshogi/files/patch-sysdeps.h @@ -1,19 +1,19 @@ ---- sysdeps.h.orig 2014-02-19 13:11:16.000000000 +0100 -+++ sysdeps.h 2014-02-19 13:11:20.000000000 +0100 +--- sysdeps.h.orig 2014-02-04 23:01:34 UTC ++++ sysdeps.h @@ -74,16 +74,6 @@ #include #include -/* - * Stuff that isn't reliably included (on Linux, anyway). - */ - -extern FILE *fdopen(int fd, const char *modes); -extern int fileno(FILE *stream); -extern int kill(pid_t pid, int sig); -extern int strcasecmp(const char *s1, const char *s2); -extern int gethostname(char *name, size_t len); - /* * Check for POSIX-compatible wait(). diff --git a/games/xshogi/pkg-descr b/games/xshogi/pkg-descr index b8c21d1ba23d..b6e4700dcef6 100644 --- a/games/xshogi/pkg-descr +++ b/games/xshogi/pkg-descr @@ -1 +1,2 @@ -The Japanese chess-like game for X Window System. +This program provides an XWindows interface to the Japanese Chess (Shogi) +playing program GNU Shogi