svn commit: r364973 - in head/games: . 2048 2048/files
Steve Wills
swills at FreeBSD.org
Fri Aug 15 13:42:28 UTC 2014
Author: swills
Date: Fri Aug 15 13:42:26 2014
New Revision: 364973
URL: http://svnweb.freebsd.org/changeset/ports/364973
QAT: https://qat.redports.org/buildarchive/r364973/
Log:
games/2048: Add a port for command line version of 2048
Added:
head/games/2048/
head/games/2048/Makefile (contents, props changed)
head/games/2048/distinfo (contents, props changed)
head/games/2048/files/
head/games/2048/files/patch-Makefile (contents, props changed)
head/games/2048/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Added: head/games/2048/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/2048/Makefile Fri Aug 15 13:42:26 2014 (r364973)
@@ -0,0 +1,32 @@
+# Created by: Steve Wills <swills at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= 2048
+PORTVERSION= 0.0.0.2014081501
+CATEGORIES= games
+MASTER_SITES= GH
+
+MAINTAINER= swills at FreeBSD.org
+COMMENT= Command line version of 2048
+
+LICENSE= MIT
+LICENSE_FILES= LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= Tiehuis
+GH_PROJECT= 2048-cli
+GH_COMMIT= 73d328c
+GH_TAGNAME= ${GH_COMMIT}
+
+PLIST_FILES= bin/2048 bin/2048_no_curses \
+ %%DOCSDIR%%/LICENSE %%DOCSDIR%%/README.md
+PLIST_DIRS= %%DOCSDIR%%
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/2048_no_curses ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/games/2048/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/2048/distinfo Fri Aug 15 13:42:26 2014 (r364973)
@@ -0,0 +1,2 @@
+SHA256 (2048-0.0.0.2014081501.tar.gz) = 8ef1c52057d1208c7e4c1d0c6049f42188909a9129ea44691c033e68f7902d54
+SIZE (2048-0.0.0.2014081501.tar.gz) = 5224
Added: head/games/2048/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/2048/files/patch-Makefile Fri Aug 15 13:42:26 2014 (r364973)
@@ -0,0 +1,14 @@
+--- ./Makefile.orig 2014-08-15 13:00:51.378870503 +0000
++++ ./Makefile 2014-08-15 13:01:08.321869127 +0000
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=cc
+ CCARGS=
+
+ all: 2048 2048_no_curses
+@@ -7,4 +7,4 @@
+ $(CC) $(CCARGS) 2048_curses.c -lcurses -o 2048
+
+ 2048_no_curses: 2048_no_curses.c
+- gcc 2048_no_curses.c -o 2048_no_curses
++ ${CC} 2048_no_curses.c -o 2048_no_curses
Added: head/games/2048/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/2048/pkg-descr Fri Aug 15 13:42:26 2014 (r364973)
@@ -0,0 +1,3 @@
+A CLI version of the game 2048 for your terminal.
+
+WWW: https://github.com/Tiehuis/2048-cli
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Fri Aug 15 13:36:12 2014 (r364972)
+++ head/games/Makefile Fri Aug 15 13:42:26 2014 (r364973)
@@ -5,6 +5,7 @@
SUBDIR += 0ad
SUBDIR += 0verkill
+ SUBDIR += 2048
SUBDIR += 3dc
SUBDIR += 3dpong
SUBDIR += 3omns
More information about the svn-ports-all
mailing list