Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 15:53:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368272 - in head/games/2048: . files
Message-ID:  <201409151553.s8FFrwh2060863@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep 15 15:53:58 2014
New Revision: 368272
URL: http://svnweb.freebsd.org/changeset/ports/368272
QAT: https://qat.redports.org/buildarchive/r368272/

Log:
  - Update to latest master, which fixes highscore and color handling and doesn't need makefile patching any more
  - Remove MASTER_SITES, this is handled by USE_GITHUB
  - Fix LICENSE_FILE
  - Improve installation
  
  PR:		193580
  Submitted by:	amdmi3
  Approved by:	swills (maintainer, via irc)

Deleted:
  head/games/2048/files/
Modified:
  head/games/2048/Makefile
  head/games/2048/distinfo

Modified: head/games/2048/Makefile
==============================================================================
--- head/games/2048/Makefile	Mon Sep 15 15:39:03 2014	(r368271)
+++ head/games/2048/Makefile	Mon Sep 15 15:53:58 2014	(r368272)
@@ -2,31 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	2048
-PORTVERSION=	0.0.0.2014081501
+PORTVERSION=	0.0.0.2014091301
 CATEGORIES=	games
-MASTER_SITES=	GH
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Command line version of 2048
 
 LICENSE=	MIT
-LICENSE_FILES=	LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Tiehuis
 GH_PROJECT=	2048-cli
-GH_COMMIT=	73d328c
+GH_COMMIT=	e9e6ce2
 GH_TAGNAME=	${GH_COMMIT}
 
-PLIST_FILES=	bin/2048 bin/2048_no_curses \
-		%%DOCSDIR%%/LICENSE %%DOCSDIR%%/README.md
-PLIST_DIRS=	%%DOCSDIR%%
+ALL_TARGET=	2048 2048nc
+PLIST_FILES=	bin/2048 bin/2048nc
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/2048_no_curses ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/2048nc ${STAGEDIR}${PREFIX}/bin
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/2048/distinfo
==============================================================================
--- head/games/2048/distinfo	Mon Sep 15 15:39:03 2014	(r368271)
+++ head/games/2048/distinfo	Mon Sep 15 15:53:58 2014	(r368272)
@@ -1,2 +1,2 @@
-SHA256 (2048-0.0.0.2014081501.tar.gz) = 8ef1c52057d1208c7e4c1d0c6049f42188909a9129ea44691c033e68f7902d54
-SIZE (2048-0.0.0.2014081501.tar.gz) = 5224
+SHA256 (2048-0.0.0.2014091301.tar.gz) = f8d802108d89eb12ccfb48e63dbbaccae01f272e27575c44fa8c25065ebfe4cc
+SIZE (2048-0.0.0.2014091301.tar.gz) = 6775



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409151553.s8FFrwh2060863>