games/2048: update to 0.9.1
This commit is contained in:
parent
434581c023
commit
c507d9ae23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412780
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
11
games/2048/files/patch-Makefile
Normal file
11
games/2048/files/patch-Makefile
Normal file
@ -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 +=
|
||||
|
Loading…
Reference in New Issue
Block a user