summaryrefslogtreecommitdiff
path: root/games/gnuchess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnuchess/Makefile')
-rw-r--r--games/gnuchess/Makefile14
1 files changed, 9 insertions, 5 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}