games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
PORTNAME= nbsdgames
|
|
|
|
DISTVERSIONPREFIX= v
|
2022-02-08 08:02:18 +01:00
|
|
|
DISTVERSION= 5
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2023-02-08 12:31:15 +01:00
|
|
|
MAINTAINER= fuz@FreeBSD.org
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
COMMENT= 17 text-based modern games
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/abakh/nbsdgames
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
|
|
|
|
LICENSE= CC0-1.0
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USES= ncurses
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= abakh
|
|
|
|
|
|
|
|
MAKE_ARGS+= GAMES_DIR=${PREFIX}/bin \
|
|
|
|
MAN_DIR=${PREFIX}/share/man/man6 \
|
|
|
|
SCORES_DIR=/var/games/nbsdgames
|
2021-07-19 20:46:59 +02:00
|
|
|
CFLAGS+= --std=c99 -I${NCURSESINC} -I${NCURSESBASE}/include
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
|
|
|
|
_GAMES= battleship \
|
|
|
|
checkers \
|
|
|
|
darrt \
|
|
|
|
fifteen \
|
|
|
|
fisher \
|
|
|
|
jewels \
|
|
|
|
memoblocks \
|
|
|
|
miketron \
|
|
|
|
mines \
|
|
|
|
muncher \
|
2022-02-08 08:02:18 +01:00
|
|
|
nbsdgames \
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
pipes \
|
|
|
|
rabbithole \
|
|
|
|
redsquare \
|
|
|
|
reversi \
|
|
|
|
snakeduel \
|
|
|
|
sos \
|
|
|
|
sudoku \
|
2022-02-08 08:02:18 +01:00
|
|
|
tugow
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
|
|
|
|
post-install:
|
2022-02-08 08:02:18 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/nbsdgames.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nbsdgames.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
|
games/nbsdgames: (new port) 17 text-based modern games
A collection of terminal games including, Jewels, Sudoku, Mines,
Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen,
Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
The difficulty and/or dimensions are adjustable through simple command
line options, you can play a minesweeper game that take hours to
complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
Play on xterm for best experience.
WWW: https://github.com/abakh/nbsdgames
PR: 255346
2021-04-23 16:18:46 +02:00
|
|
|
.for game in ${_GAMES}
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${game}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|