svn commit: r333499 - head/games/gnuchess

Johan van Selst johans at FreeBSD.org
Mon Nov 11 13:32:45 UTC 2013


Author: johans
Date: Mon Nov 11 13:32:44 2013
New Revision: 333499
URL: http://svnweb.freebsd.org/changeset/ports/333499

Log:
  - Update to GNU Chess 6.1.0
  - Enable STAGE support
  - Enable NLS support

Modified:
  head/games/gnuchess/Makefile
  head/games/gnuchess/distinfo

Modified: head/games/gnuchess/Makefile
==============================================================================
--- head/games/gnuchess/Makefile	Mon Nov 11 13:31:02 2013	(r333498)
+++ head/games/gnuchess/Makefile	Mon Nov 11 13:32:44 2013	(r333499)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gnuchess
-PORTVERSION=	6.0.3
+PORTVERSION=	6.1.0
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	chess
@@ -13,15 +13,13 @@ MAINTAINER=	johans at FreeBSD.org
 COMMENT=	"Classic" Gnu Chess
 
 INFO=		gnuchess
-PLIST_FILES=	bin/gnuchess bin/gnuchessu bin/gnuchessx
-PORTDOCS=	*
-PORTDATA=	*
+USES=		shebangfix
+SHEBANG_FILES=	doc/quotes.rb
 
 OPTIONS_DEFINE=		OPENING_BOOK
 OPTIONS_DEFAULT=	OPENING_BOOK
 OPENING_BOOK_DESC=	Install opening book (25 MB download)
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENING_BOOK}
@@ -29,6 +27,14 @@ DISTFILES+=	book_1.02.pgn.gz
 EXTRACT_ONLY+=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
 .endif
 
+.if ${PORT_OPTIONS:MNLS}
+USES+=		gettext
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="${PTHREAD_LIBS}" MKDIR_P="${MKDIR}"
 
@@ -44,10 +50,10 @@ post-build:
 .endif
 
 post-install:
-	${LN} -f ${PREFIX}/bin/gnuchess ${PREFIX}/bin/gnuchessx
+	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f gnuchess gnuchessx
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/gnuchess/distinfo
==============================================================================
--- head/games/gnuchess/distinfo	Mon Nov 11 13:31:02 2013	(r333498)
+++ head/games/gnuchess/distinfo	Mon Nov 11 13:32:44 2013	(r333499)
@@ -1,4 +1,4 @@
-SHA256 (gnuchess-6.0.3.tar.gz) = 7c3a99c6c62f5dcc12c6fded9e91577ba2d327668b13b1af6169cc8b1a46ce05
-SIZE (gnuchess-6.0.3.tar.gz) = 556445
+SHA256 (gnuchess-6.1.0.tar.gz) = 9501e6bceef22bdbdbdb3fc71c9745ebc125a06fdafacb270bb2c29b15c6379b
+SIZE (gnuchess-6.1.0.tar.gz) = 674863
 SHA256 (book_1.02.pgn.gz) = deac77edb061a59249a19deb03da349cae051e52527a6cb5af808d9398d32d44
 SIZE (book_1.02.pgn.gz) = 26265281


More information about the svn-ports-head mailing list