aboutsummaryrefslogtreecommitdiffstats
path: root/games/2048
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-09-15 23:53:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-09-15 23:53:58 +0800
commit0de40fb20cd0f48992be0cc6dcc628b18bf61ae7 (patch)
treebbe6d9acbd050003fcbf25d7259179293a31701f /games/2048
parentf7f8785c15d7a9c99292a0038b5436b699b02de0 (diff)
downloadfreebsd-ports-gnome-0de40fb20cd0f48992be0cc6dcc628b18bf61ae7.tar.gz
freebsd-ports-gnome-0de40fb20cd0f48992be0cc6dcc628b18bf61ae7.tar.zst
freebsd-ports-gnome-0de40fb20cd0f48992be0cc6dcc628b18bf61ae7.zip
- 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)
Diffstat (limited to 'games/2048')
-rw-r--r--games/2048/Makefile20
-rw-r--r--games/2048/distinfo4
-rw-r--r--games/2048/files/patch-Makefile14
3 files changed, 12 insertions, 26 deletions
diff --git a/games/2048/Makefile b/games/2048/Makefile
index b0a46f14afed..1af25e4e04c8 100644
--- a/games/2048/Makefile
+++ b/games/2048/Makefile
@@ -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>
diff --git a/games/2048/distinfo b/games/2048/distinfo
index bed2a4d89d84..c3b2f9c5a887 100644
--- a/games/2048/distinfo
+++ b/games/2048/distinfo
@@ -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
diff --git a/games/2048/files/patch-Makefile b/games/2048/files/patch-Makefile
deleted file mode 100644
index 717bcb4642f3..000000000000
--- a/games/2048/files/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
---- ./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