diff options
author | swills <swills@FreeBSD.org> | 2016-04-09 02:40:11 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-04-09 02:40:11 +0800 |
commit | 73baabcb43a7476cbe0505d6667cbc9a0b59b62e (patch) | |
tree | 544e6e41a1dca4db568ed5ab8fb3c22c10da10db /games | |
parent | 1a9cd25b130cf0395b0113489df5a748937a40c9 (diff) | |
download | freebsd-ports-graphics-73baabcb43a7476cbe0505d6667cbc9a0b59b62e.tar.gz freebsd-ports-graphics-73baabcb43a7476cbe0505d6667cbc9a0b59b62e.tar.zst freebsd-ports-graphics-73baabcb43a7476cbe0505d6667cbc9a0b59b62e.zip |
games/2048: update to 0.9.1
Diffstat (limited to 'games')
-rw-r--r-- | games/2048/Makefile | 11 | ||||
-rw-r--r-- | games/2048/distinfo | 4 | ||||
-rw-r--r-- | games/2048/files/patch-Makefile | 11 |
3 files changed, 17 insertions, 9 deletions
diff --git a/games/2048/Makefile b/games/2048/Makefile index 4a9efba3f33..4151d150a0f 100644 --- a/games/2048/Makefile +++ b/games/2048/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= 2048 -PORTVERSION= 0.9 +PORTVERSION= 0.9.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= games MAINTAINER= swills@FreeBSD.org @@ -17,19 +16,17 @@ USE_GITHUB= yes GH_ACCOUNT= Tiehuis GH_PROJECT= 2048-cli -USES= ncurses -ALL_TARGET= 2048 2048nc +USES= ncurses gmake +ALL_TARGET= curses MAKE_ARGS= LIBS="-lncurses" -PLIST_FILES= bin/2048 bin/2048nc man/man1/2048.1.gz man/man1/2048nc.1.gz +PLIST_FILES= bin/2048 man/man1/2048.1.gz PORTDOCS= README.md OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/2048nc ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/2048.1 ${STAGEDIR}${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/2048nc.1 ${STAGEDIR}${PREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} diff --git a/games/2048/distinfo b/games/2048/distinfo index 05227680ce1..bc9057277eb 100644 --- a/games/2048/distinfo +++ b/games/2048/distinfo @@ -1,2 +1,2 @@ -SHA256 (Tiehuis-2048-cli-v0.9_GH0.tar.gz) = ad45e68ec9eb178f0358eeea9c581d842da8fa6b1dc07c7bf0f5c7b76b2e4a92 -SIZE (Tiehuis-2048-cli-v0.9_GH0.tar.gz) = 7315 +SHA256 (Tiehuis-2048-cli-v0.9.1_GH0.tar.gz) = acee3d596f05b881d4076803c6ed91a76f0e77aec3c9adb0e80504710a8f9dab +SIZE (Tiehuis-2048-cli-v0.9.1_GH0.tar.gz) = 117578 diff --git a/games/2048/files/patch-Makefile b/games/2048/files/patch-Makefile new file mode 100644 index 00000000000..712177e9a87 --- /dev/null +++ b/games/2048/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2016-04-08 17:50:58 UTC ++++ Makefile +@@ -1,7 +1,7 @@ + CC ?= clang + TTF_FONT_PATH ?= res/Anonymous Pro.ttf + CFLAGS += -DTTF_FONT_PATH="\"$(TTF_FONT_PATH)\"" +-CFLAGS += -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra ++CFLAGS += -Wall -Wextra + CFLAGS += -DINVERT_COLORS -DVT100 -O2 + LFLAGS += + |