diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-15 15:53:58 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-15 15:53:58 +0000 |
commit | 438dcd27fed5941b67ac225570628c8d85729fa2 (patch) | |
tree | bbe6d9acbd050003fcbf25d7259179293a31701f /games | |
parent | ba0dc3171b36d45e2517c3511a68fc7ce21e05eb (diff) | |
download | ports-438dcd27fed5941b67ac225570628c8d85729fa2.tar.gz ports-438dcd27fed5941b67ac225570628c8d85729fa2.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/2048/Makefile | 20 | ||||
-rw-r--r-- | games/2048/distinfo | 4 | ||||
-rw-r--r-- | games/2048/files/patch-Makefile | 14 |
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 |