summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authormef <mef>2016-05-03 01:46:15 +0000
committermef <mef>2016-05-03 01:46:15 +0000
commitc36915e8d6693be77cf78b7261483f039d370fca (patch)
tree9230af74f710d1b98ebf99276852a92ee88583e1 /games
parent8ec260e9cad36957065df22a45ec7a256b09de8a (diff)
downloadpkgsrc-c36915e8d6693be77cf78b7261483f039d370fca.tar.gz
(pkgsrc)
- Add LICENSE (gnu-gpl-v3) - Add USE_LANGUAGES= c++ (as well as c) - Adjust --infodir for CONFIGURE_ARGS - Silence pkglint as LOCALBASE to PREFIX - Remove four all patches, there were no comments on each and could not find the reason to keep (upstream) - Updated to games/gnuchess-6.2.2 (from 5.07 = year of 2004 ?) - ChangeLog are there, but it is not full from 5.07 Please refer src (distfile) for Changes from 2011 to 2015
Diffstat (limited to 'games')
-rw-r--r--games/gnuchess/Makefile14
-rw-r--r--games/gnuchess/PLIST9
-rw-r--r--games/gnuchess/distinfo14
3 files changed, 22 insertions, 15 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 302a1096684..726be7770fc 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -1,20 +1,24 @@
-# $NetBSD: Makefile,v 1.39 2014/10/09 14:06:33 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2016/05/03 01:46:15 mef Exp $
-DISTNAME= gnuchess-5.07
-PKGREVISION= 4
+DISTNAME= gnuchess-6.2.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/chess/chess.html
COMMENT= GNU chess engine
+LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_TOOLS+= flex gmake
+USE_LANGUAGES= c c++
-BOOKDIR= ${PREFIX}/lib/gnuchess
+#BOOKDIR= ${PREFIX}/lib/gnuchess
DOCDIR= ${PREFIX}/share/doc/gnuchess
+CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
+INFO_FILES= yes
+
# powerpc has problems with anything >= -O2 here
.if (${MACHINE_ARCH} == "powerpc")
CONFIGURE_ENV+= CFLAGS="-O -Winline -Wmissing-prototypes -funroll-loops"
@@ -26,7 +30,7 @@ SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= src/book.h
-SUBST_SED.paths= -e 's,/usr/lib/games/,${LOCALBASE}/lib/,g'
+SUBST_SED.paths= -e 's,/usr/lib/games/,${PREFIX}/lib/,g'
INSTALLATION_DIRS= ${DOCDIR}
diff --git a/games/gnuchess/PLIST b/games/gnuchess/PLIST
index 6aa5f6c51f9..536a7691f2d 100644
--- a/games/gnuchess/PLIST
+++ b/games/gnuchess/PLIST
@@ -1,4 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:56:47 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/05/03 01:46:15 mef Exp $
bin/gnuchess
+bin/gnuchessu
bin/gnuchessx
+info/gnuchess.info
+man/man1/gnuchess.1
share/doc/gnuchess/README
+share/games/plugins/logos/gnuchess.png
+share/games/plugins/xboard/gnuchess.eng
+share/gnuchess/gnuchess.ini
+share/gnuchess/smallbook.bin
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index dda052cf0ea..f35faa9dd5a 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 20:56:51 agc Exp $
+$NetBSD: distinfo,v 1.12 2016/05/03 01:46:15 mef Exp $
-SHA1 (gnuchess-5.07.tar.gz) = 7dbaf957bfea9cf37fe393e1fec7306de0162a16
-RMD160 (gnuchess-5.07.tar.gz) = 043ee9bfd9dacccd6c55905d4a1c390bf56ba603
-SHA512 (gnuchess-5.07.tar.gz) = 4f7cd59572671e98901eb68245f1046b63a72bc0ce8ca7a2458899651d2fce509eba00e35a3d5133412644bd1f7dc888cec4910ea21641feaed27a13bcc3b095
-Size (gnuchess-5.07.tar.gz) = 234542 bytes
-SHA1 (patch-aa) = 417c8ca61142d08c827d2ca760b5ffb0c1988099
-SHA1 (patch-ab) = 05d484b3f3e911a5a90e8b86c0026a7fe70f0ae3
-SHA1 (patch-ac) = 4d5a9a3ea1e898745607347848d50cb5ed0d1880
-SHA1 (patch-ad) = 9917b31ff41a8c3e9bdf130f5315a12bbe3c3a12
+SHA1 (gnuchess-6.2.2.tar.gz) = 98e4ef7837b84b7e1e01f4cc74e9d1831ca485e5
+RMD160 (gnuchess-6.2.2.tar.gz) = 31dddc1f21a11c2e070d67a0adf3c7675995f088
+SHA512 (gnuchess-6.2.2.tar.gz) = 3b9bbf8999301a867f6b0e277ee01240472553d4e6dd43b9c479558b3bba687ebaa188f23cc8dbcb8656ddbd5c9511d89cf68ae717c55824f0c797460c4ab101
+Size (gnuchess-6.2.2.tar.gz) = 747054 bytes