1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

games/tinycols: jewel matching game

A jewels matching game for the Linux terminal.
Three difficulties are provided.

WWW: https://github.com/zedr/tinycols
This commit is contained in:
Robert Clausecker 2023-10-04 21:24:04 +02:00
parent 813f9362a1
commit 2690994290
4 changed files with 39 additions and 0 deletions

View File

@ -966,6 +966,7 @@
SUBDIR += textmaze
SUBDIR += thegrind
SUBDIR += tileworld
SUBDIR += tinycols
SUBDIR += tkmoo
SUBDIR += tmatrix
SUBDIR += tomatoes

33
games/tinycols/Makefile Normal file
View File

@ -0,0 +1,33 @@
PORTNAME= tinycols
DISTVERSION= 0.6.1
CATEGORIES= games
MAINTAINER= fuz@FreeBSD.org
COMMENT= Jewels matching game for the terminal
WWW= https://github.com/zedr/tinycols
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= ncurses
USE_GITHUB= yes
GH_ACCOUNT= zedr
CPPFLAGS+= -I${NCURSESINC:/ncurses=}
LDFLAGS+= -L${NCURSESLIB}
LIBS+= ${NCURSESLIBS}
PLIST_FILES= bin/tinycols \
share/man/man6/tinycols.6.gz
do-build:
${MKDIR} ${WRKSRC}/build
${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/build/tinycols \
${WRKSRC}/src/main.c ${WRKSRC}/src/gfx.c ${WRKSRC}/src/tinycols/*.c \
${WRKSRC}/src/queue.c ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/tinycols ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/doc/man/tinycols.6 ${STAGEDIR}${PREFIX}/share/man/man6/
.include <bsd.port.mk>

3
games/tinycols/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1696446639
SHA256 (zedr-tinycols-0.6.1_GH0.tar.gz) = c571cf428c5aa4070239cb3fc29bb7165f914cbb853afcd99d194b21482dd321
SIZE (zedr-tinycols-0.6.1_GH0.tar.gz) = 35352

2
games/tinycols/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
A jewels matching game for the Linux terminal.
Three difficulties are provided.