MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>

GtkBalls is a clone of the well-known game "Lines" using the
Gtk+ library. It is a logic game - the idea is to put five or
more balls of the same color in horizontal/vertical/diagonal
line in order to remove them.

HOMEPAGE=       http://gtkballs.antex.ru/
This commit is contained in:
reinhard 2001-03-08 11:46:11 +00:00
parent 874a3974da
commit fc7dad0b7c
6 changed files with 107 additions and 0 deletions

35
games/gtkballs/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/08 11:46:11 reinhard Exp $
DISTNAME= gtkballs-1.04
CATEGORIES= games x11
NEED_VERSION= 1.356
MASTER_SITES= ${HOMEPAGE}dist/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
HOMEPAGE= http://gtkballs.antex.ru/
MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FlAGS= PREFIX="${PREFIX}" CC="${CC}" \
CFLAGS="${CFLAGS}"
BUILD_DEPENDS= ${LOCALBASE}/bin/gtk-config::x11/gtk+
LIB_DEPENDS= gtk.1.2::x11/gtk+
USE_X11= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtkballs
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gtkballs
${INSTALL_DATA} ${WRKSRC}/README.russian ${PREFIX}/share/doc/gtkballs
${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/gtkballs
@chmod 660 ${PREFIX}/share/gtkballs/score
@chown root:games ${PREFIX}/share/gtkballs/score
.include <bsd.port.mk>

3
games/gtkballs/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (gtkballs-1.04.tar.gz) = 362bd7fc8c1196787c832581d478f7cf
RMD160 (gtkballs-1.04.tar.gz) = 18b24023280793cc2a4fd5e35b26eaed76806447
SHA1 (gtkballs-1.04.tar.gz) = 5fffdfd1da3a0aa7d53f08f9736190ea4520f534

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/03/08 11:46:11 reinhard Exp $
--- Makefile.orig Tue Mar 30 12:30:09 1999
+++ Makefile Thu Feb 15 12:42:03 2001
@@ -1,20 +1,15 @@
#
# C compiler
#
-CC?=cc
-
-#
-# Installation prefix
-#
-PREFIX=/usr/local
+CC?=${CC}
#
# C options
#
-CFLAGS = -Wall -pedantic -g
CFLAGS+= -DPREFIX=\"$(PREFIX)\"
-CFLAGS+= `gtk-config --cflags`
+CFLAGS+= $(CINC)
CLIBS= `gtk-config --libs`
+CINC= `gtk-config --cflags`
RM=rm -f
PROGS=gtkballs

View File

@ -0,0 +1 @@
gtk+ clone of the lines ball logic game

6
games/gtkballs/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
GtkBalls is a clone of the well-known game "Lines" using the
Gtk+ library. It is a logic game - the idea is to put five or
more balls of the same color in horizontal/vertical/diagonal
line in order to remove them.
WWW: ${HOMEPAGE}

35
games/gtkballs/pkg/PLIST Normal file
View File

@ -0,0 +1,35 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/08 11:46:11 reinhard Exp $
bin/gtkballs
man/man6/gtkballs.6
share/doc/gtkballs/README
share/doc/gtkballs/README.russian
share/doc/gtkballs/TODO
share/gtkballs/COPYING
share/gtkballs/blue_ball.xpm
share/gtkballs/brown_ball.xpm
share/gtkballs/cyan_ball.xpm
share/gtkballs/empty_cell.xpm
share/gtkballs/green_ball.xpm
share/gtkballs/gtkballs.xpm
share/gtkballs/gtkballs_about.xpm
share/gtkballs/paw_down_1.xpm
share/gtkballs/paw_down_2.xpm
share/gtkballs/paw_left_1.xpm
share/gtkballs/paw_left_2.xpm
share/gtkballs/paw_right_1.xpm
share/gtkballs/paw_right_2.xpm
share/gtkballs/paw_up_1.xpm
share/gtkballs/paw_up_2.xpm
share/gtkballs/pink_ball.xpm
share/gtkballs/red_ball.xpm
share/gtkballs/score
share/gtkballs/small_blue_ball.xpm
share/gtkballs/small_brown_ball.xpm
share/gtkballs/small_cyan_ball.xpm
share/gtkballs/small_green_ball.xpm
share/gtkballs/small_pink_ball.xpm
share/gtkballs/small_red_ball.xpm
share/gtkballs/small_yellow_ball.xpm
share/gtkballs/yellow_ball.xpm
@dirrm share/gtkballs
@dirrm share/doc/gtkballs