Import 4 new simple QT games from gottcode.org.

Hexalate is a color matching game. The goal of the game is to rotate and
position the circles so that each touching line matches in color. You
rotate circles by right clicking, and you move circles by dragging them.

Simsu is a basic Sudoku game. You can switch between filling in notes
(pencil mode), or filling in answers (pen mode). To make it easier to
see where to place numbers, you can highlight all instances of a number.

Tetzle is a jigsaw puzzle game that uses tetrominoes for the pieces. Any
image can be imported and used to create puzzles with a wide range of
sizes.

Peg-E is a peg solitaire game in which you jump over pieces in order to
remove them from the board, ultimately trying to eliminate all but one.

ok ajacoutot@
This commit is contained in:
landry 2012-09-04 09:29:38 +00:00
parent af213defe9
commit 954d7c8af6
18 changed files with 167 additions and 0 deletions

9
games/gottcode/Makefile Normal file
View File

@ -0,0 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
SUBDIR =
SUBDIR += hexalate
SUBDIR += peg-e
SUBDIR += simsu
SUBDIR += tetzle
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile.inc,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
CATEGORIES = games/gottcode games
PKGNAME ?= ${DISTNAME:S/-src//}
EXTRACT_SUFX ?= .tar.bz2
HOMEPAGE ?= http://gottcode.org/${GAME}/
MASTER_SITES ?= ${HOMEPAGE}
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WRKDIST ?= ${WRKDIR}/${DISTNAME:S/-src//}
MODULES += x11/qt4
RUN_DEPENDS += devel/desktop-file-utils x11/gtk+2,-guic
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
WANTLIB += QtGui c m pthread stdc++
MAKE_FLAGS += CXX=${CXX} \
QMAKE_CXXFLAGS="${CXXFLAGS}"
FAKE_FLAGS += INSTALL_ROOT=${DESTDIR}
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake4

View File

@ -0,0 +1,7 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
GAME = hexalate
COMMENT = color matching game
DISTNAME = ${GAME}-1.0.1-src
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (hexalate-1.0.1-src.tar.bz2) = qNFcD0pqqewS+HBAIEmkOQ==
RMD160 (hexalate-1.0.1-src.tar.bz2) = 43JB2ij/AvLVa6Q6iaXlrFiN7G8=
SHA1 (hexalate-1.0.1-src.tar.bz2) = DIxTK5qap58JEQXDiNc2JXXrsIQ=
SHA256 (hexalate-1.0.1-src.tar.bz2) = Ed4O0NCVL8i4ZnDdTX/D1wMWY3O7iLc6bvQORvZarHU=
SIZE (hexalate-1.0.1-src.tar.bz2) = 48423

View File

@ -0,0 +1,4 @@
Hexalate is a color matching game. The goal of the game is to rotate and
position the circles so that each touching line matches in color. You
rotate circles by right clicking, and you move circles by dragging them.
The game stores the positions and rotations of the circles across runs.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
@bin bin/hexalate
share/applications/hexalate.desktop
share/icons/hicolor/48x48/apps/hexalate.png
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database

View File

@ -0,0 +1,7 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
GAME = peg-e
COMMENT = basic peg solitaire game
DISTNAME = ${GAME}-1.1.1.1-src
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (peg-e-1.1.1.1-src.tar.bz2) = ZRO4AD5Lf0R4DyYBubIvm/68njumWXAdd/XWtiQG2OY=
SIZE (peg-e-1.1.1.1-src.tar.bz2) = 89174

View File

@ -0,0 +1,5 @@
Peg-E is a peg solitaire game in which you jump over pieces in order to
remove them from the board, ultimately trying to eliminate all but one.
The boards are randomly generated, with 100 levels of difficulty. The
game auto-saves, and has undo-redo capability. Pieces can move
horizontally, vertically, and diagonally.

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
@bin bin/peg-e
share/applications/peg-e.desktop
share/icons/hicolor/48x48/apps/peg-e.png
share/peg-e/
share/peg-e/translations/
share/peg-e/translations/pege_en.qm
share/peg-e/translations/pege_he.qm
share/peg-e/translations/pege_nl.qm
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database

View File

@ -0,0 +1,7 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 09:29:38 landry Exp $
GAME = simsu
COMMENT = basic sudoku game
DISTNAME = ${GAME}-1.2.2-src
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (simsu-1.2.2-src.tar.bz2) = hsGOfAVlnOPpNjs4lB/m9QJJQ70qeyRTK8VqtqZp3d0=
SIZE (simsu-1.2.2-src.tar.bz2) = 295584

View File

@ -0,0 +1,6 @@
Simsu is a basic Sudoku game. You can switch between filling in notes
(pencil mode), or filling in answers (pen mode). To make it easier to
see where to place numbers, you can highlight all instances of a number.
You can also check your answers for correctness while playing. The game
stores your current notes and answers, so that you can pick up where you
left off the next time you play.

View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/04 09:29:39 landry Exp $
@bin bin/simsu
share/applications/simsu.desktop
share/icons/hicolor/128x128/apps/simsu.png
share/icons/hicolor/16x16/apps/simsu.png
share/icons/hicolor/22x22/apps/simsu.png
share/icons/hicolor/24x24/apps/simsu.png
share/icons/hicolor/256x256/apps/simsu.png
share/icons/hicolor/32x32/apps/simsu.png
share/icons/hicolor/48x48/apps/simsu.png
share/icons/hicolor/64x64/apps/simsu.png
share/icons/hicolor/scalable/apps/simsu.svg
share/pixmaps/
share/pixmaps/simsu_32.xpm
share/simsu/
share/simsu/translations/
share/simsu/translations/simsu_ca.qm
share/simsu/translations/simsu_cs.qm
share/simsu/translations/simsu_el.qm
share/simsu/translations/simsu_en.qm
share/simsu/translations/simsu_es.qm
share/simsu/translations/simsu_es_CL.qm
share/simsu/translations/simsu_fr.qm
share/simsu/translations/simsu_ru.qm
share/simsu/translations/simsu_uk.qm
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database

View File

@ -0,0 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 09:29:39 landry Exp $
GAME = tetzle
COMMENT = tetromino puzzle game
DISTNAME = ${GAME}-2.0.1-src
WANTLIB += GL QtOpenGL
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (tetzle-2.0.1-src.tar.bz2) = /X4jQ/wwz6iRL4oQiIKiZQWEomnUOfBCkWcByK9MCsA=
SIZE (tetzle-2.0.1-src.tar.bz2) = 617348

View File

@ -0,0 +1,4 @@
Tetzle is a jigsaw puzzle game that uses tetrominoes for the pieces. Any
image can be imported and used to create puzzles with a wide range of
sizes. Games are saved automatically, and you can select between
currently in progress games.

View File

@ -0,0 +1,22 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/04 09:29:39 landry Exp $
@bin bin/tetzle
share/applications/tetzle.desktop
share/icons/hicolor/128x128/apps/tetzle.png
share/icons/hicolor/16x16/apps/tetzle.png
share/icons/hicolor/22x22/apps/tetzle.png
share/icons/hicolor/32x32/apps/tetzle.png
share/icons/hicolor/48x48/apps/tetzle.png
share/icons/hicolor/64x64/apps/tetzle.png
share/pixmaps/
share/pixmaps/tetzle_32.xpm
share/tetzle/
share/tetzle/translations/
share/tetzle/translations/tetzle_de.qm
share/tetzle/translations/tetzle_en.qm
share/tetzle/translations/tetzle_ru.qm
share/tetzle/translations/tetzle_uk.qm
share/tetzle/translations/tetzle_uk_UA.qm
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database