mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Qonk is a small game I wrote to learn some SDL basics. The game is a small
build-and-conquer strategy game with very simple rules. A complete game only lasts for a few minutes and can be a fun break away from work or whatever you're doing. PR: ports/83293 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
This commit is contained in:
parent
d326fdfe8d
commit
e56a38c7b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139062
@ -415,6 +415,7 @@
|
||||
SUBDIR += qkmj
|
||||
SUBDIR += qnetchess
|
||||
SUBDIR += qnetwalk
|
||||
SUBDIR += qonk
|
||||
SUBDIR += qstat
|
||||
SUBDIR += quake2forge
|
||||
SUBDIR += quake2lnx
|
||||
|
49
games/qonk/Makefile
Normal file
49
games/qonk/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: qonk
|
||||
# Date created: 10 Jul 2005
|
||||
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= qonk
|
||||
PORTVERSION= 0.0.1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://anthony.liekens.net/pub/files/
|
||||
|
||||
MAINTAINER= alejandro@varnet.biz
|
||||
COMMENT= Small build and conquer strategy game
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_SDL= gfx sdl ttf
|
||||
USE_REINPLACE= yes
|
||||
|
||||
OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
# Fix Makefile
|
||||
@${REINPLACE_CMD} -e 's|g++|${CXX}| ; \
|
||||
s|sdl-config|${SDL_CONFIG}| ; \
|
||||
s|\(-O3\)|${CFLAGS} \1|' \
|
||||
${WRKSRC}/${MAKEFILE}
|
||||
|
||||
# Fix paths to ${DATADIR}
|
||||
@${REINPLACE_CMD} -e 's|\(font\.ttf\)|${DATADIR}/\1|' \
|
||||
${WRKSRC}/main.cpp ${WRKSRC}/messages.cpp
|
||||
|
||||
# Enable/disable compilation optimizations
|
||||
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
||||
@${REINPLACE_CMD} -e 's|-O3||' \
|
||||
${WRKSRC}/${MAKEFILE}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
# Program
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
# Data
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/font.ttf ${DATADIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
games/qonk/distinfo
Normal file
2
games/qonk/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (qonk-0.0.1.tar.gz) = 149759ea51a6e129682d1a4fd80148e6
|
||||
SIZE (qonk-0.0.1.tar.gz) = 53976
|
10
games/qonk/files/patch-main.cpp
Normal file
10
games/qonk/files/patch-main.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- main.cpp.orig Wed Jul 13 13:40:12 2005
|
||||
+++ main.cpp Wed Jul 13 13:41:13 2005
|
||||
@@ -1,5 +1,7 @@
|
||||
// Copyright 2005 by Anthony Liekens anthony@liekens.net
|
||||
|
||||
+#include <time.h>
|
||||
+
|
||||
#include "coordinate.h"
|
||||
#include "stars.h"
|
||||
#include "planets.h"
|
21
games/qonk/pkg-descr
Normal file
21
games/qonk/pkg-descr
Normal file
@ -0,0 +1,21 @@
|
||||
Qonk is a small game I wrote to learn some SDL basics. The game is a small
|
||||
build-and-conquer strategy game with very simple rules. A complete game only
|
||||
lasts for a few minutes and can be a fun break away from work or whatever
|
||||
you're doing.
|
||||
|
||||
The setting of the game is a solar system of planets. Your goal is to conquer
|
||||
all of the planets in the game by sending ships there. Planets that are under
|
||||
your control generate new ships. Simple AI players are playing against you. As
|
||||
you gain more experience throughout the game, more AI players have to be
|
||||
kicked out of bigger solar systems.
|
||||
|
||||
The game is currently very much in beta. I published it however in order to
|
||||
see whether it compiles on other machines, and to see what reactions people
|
||||
had on its gameplay. The game engine itself is fully functional. A lot of
|
||||
things have to be added to make this a mature game (like menus and stuff), but
|
||||
since the engine itself works, Qonk is already very playable.
|
||||
|
||||
WWW: http://anthony.liekens.net/index.php/Computers/Qonk
|
||||
|
||||
- Alejandro Pulver
|
||||
alejandro@varnet.biz
|
3
games/qonk/pkg-plist
Normal file
3
games/qonk/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/qonk
|
||||
%%DATADIR%%/font.ttf
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user