summaryrefslogtreecommitdiff
path: root/games/xshogi
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-02-19 19:43:17 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-02-19 19:43:17 +0000
commit18bce012d379739242d2dd7f1e6a18c5d84e1142 (patch)
treeeb7646f503e5f376a10503c4ceb1a8e6f7b3c1f1 /games/xshogi
parent- Allow package build as user (diff)
- Update gnushogi/xshogi to 1.4.2
- No longer use a common Makefile
Notes
Notes: svn path=/head/; revision=345138
Diffstat (limited to 'games/xshogi')
-rw-r--r--games/xshogi/Makefile26
-rw-r--r--games/xshogi/files/patch-sysdeps.h (renamed from games/xshogi/files/patch-xshogi_sysdeps.h)4
2 files changed, 10 insertions, 20 deletions
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index 3119b7c2baf8..c680a97ddc93 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -2,32 +2,22 @@
# $FreeBSD$
PORTNAME= xshogi
-PORTVERSION= ${GNUSHOGI_PORTVERSION}
+PORTVERSION= 1.4.2
CATEGORIES= games
-MASTER_SITES= ${GNUSHOGI_MASTER_SITES}
-MASTER_SITE_SUBDIR= ${GNUSHOGI_MASTER_SITE_SUBDIR}
-DISTNAME= ${GNUSHOGI_DISTNAME}
+MASTER_SITES= GNU
+MASTER_SITE_SUBDIR= gnushogi
MAINTAINER= johans@FreeBSD.org
-COMMENT= The Japanese chess-like game for X Window System
+COMMENT= Japanese chess-like game for X Window System
RUN_DEPENDS= gnushogi:${PORTSDIR}/games/gnushogi
-BUILD_WRKSRC= ${WRKSRC}/xshogi
-
USE_XORG= xt xaw x11
GNU_CONFIGURE= yes
-USE_CSTD= gnu99
-
-PLIST_FILES= bin/xshogi man/man6/xshogi.6.gz
-.include "${.CURDIR}/../../games/gnushogi/Makefile.common"
-.include <bsd.port.pre.mk>
+CPPFLAGS+= -I${LOCALBASE}/include
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xshogi/xshogi \
- ${STAGEDIR}${PREFIX}/bin/xshogi
- ${INSTALL_MAN} ${WRKSRC}/doc/xshogi.6 \
- ${STAGEDIR}${MANPREFIX}/man/man6/xshogi.6
+PORTDOCS= README.xboard BUGS
+PLIST_FILES= bin/xshogi man/man6/xshogi.6.gz
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/xshogi/files/patch-xshogi_sysdeps.h b/games/xshogi/files/patch-sysdeps.h
index da73946e8264..104f97d45cb6 100644
--- a/games/xshogi/files/patch-xshogi_sysdeps.h
+++ b/games/xshogi/files/patch-sysdeps.h
@@ -1,5 +1,5 @@
---- xshogi/sysdeps.h.orig 2011-10-16 17:53:35.000000000 +0200
-+++ xshogi/sysdeps.h 2011-10-16 17:54:05.000000000 +0200
+--- sysdeps.h.orig 2014-02-19 13:11:16.000000000 +0100
++++ sysdeps.h 2014-02-19 13:11:20.000000000 +0100
@@ -74,16 +74,6 @@
#include <sys/time.h>
#include <fcntl.h>