Update to gtkpool-0.4.1
This commit is contained in:
parent
a913ae193c
commit
4d61f0e16f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2001/11/15 06:14:06 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2002/02/19 06:28:31 pvalchev Exp $
|
||||
|
||||
COMMENT= "simple gtk+ pool simulation game"
|
||||
|
||||
DISTNAME= gtkpool-0.3.4
|
||||
DISTNAME= gtkpool-0.4.1
|
||||
CATEGORIES= games x11
|
||||
NEED_VERSION= 1.474
|
||||
NEED_VERSION= 1.504
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
HOMEPAGE= http://gtkpool.seul.org/
|
||||
@ -18,15 +18,13 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MAKE_FLAGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="-lossaudio"
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtkpool
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gtkpool ${PREFIX}/bin/gtkpool
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/lib/gtkpool
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= LDFLAGS="-lossaudio"
|
||||
|
||||
post-extract:
|
||||
@touch ${WRKSRC}/configure* ${WRKSRC}/*.{in,m4}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
3
games/gtkpool/distinfo
Normal file
3
games/gtkpool/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gtkpool-0.4.1.tar.gz) = 5d4123d4acf8aa91d4f59fffcec7ce99
|
||||
RMD160 (gtkpool-0.4.1.tar.gz) = 1a72f20d657dcc8a9a7b017865338a7e177918db
|
||||
SHA1 (gtkpool-0.4.1.tar.gz) = 96a279e366942ace2a82e5317ec06707927200c1
|
@ -1,3 +0,0 @@
|
||||
MD5 (gtkpool-0.3.4.tar.gz) = 77337995ac9736a1e9f06455bd111077
|
||||
RMD160 (gtkpool-0.3.4.tar.gz) = 8341a362aa866a7c55e5d5bc9e073565f8824d32
|
||||
SHA1 (gtkpool-0.3.4.tar.gz) = bdfae452ea1be28e58d44b5a8215325eea8b7093
|
@ -1,39 +0,0 @@
|
||||
--- Makefile.orig Sun Jan 2 18:33:01 2000
|
||||
+++ Makefile Thu Mar 15 11:29:59 2001
|
||||
@@ -1,4 +1,5 @@
|
||||
-
|
||||
+CC=gcc
|
||||
+CXX=g++
|
||||
CFLAGS=-g
|
||||
|
||||
all: gtkpool
|
||||
@@ -13,22 +14,22 @@ run: gtkpool
|
||||
./gtkpool
|
||||
|
||||
gtkpool: $(OBJS)
|
||||
- g++ $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs`
|
||||
+ $(CXX) $(LDFLAGS) $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs`
|
||||
|
||||
popt.o:
|
||||
- gcc -c popt.c -o popt.o
|
||||
+ $(CC) -c popt.c -o popt.o
|
||||
|
||||
gui.o: gui.cc application.hh pool.hh myconfig.hh options.hh
|
||||
- g++ $(CFLAGS) -c gui.cc -o gui.o $(GTKFLAGS)
|
||||
+ $(CXX) $(CFLAGS) -c gui.cc -o gui.o $(GTKFLAGS)
|
||||
|
||||
application.o: application.cc application.hh pool.hh myconfig.hh sound.hh
|
||||
- g++ $(CFLAGS) -c application.cc -o application.o $(GTKFLAGS)
|
||||
+ $(CXX) $(CFLAGS) -c application.cc -o application.o $(GTKFLAGS)
|
||||
|
||||
pool.o: pool.cc pool.hh myconfig.hh
|
||||
- g++ $(CFLAGS) -c pool.cc -o pool.o $(GTKFLAGS)
|
||||
+ $(CXX) $(CFLAGS) -c pool.cc -o pool.o $(GTKFLAGS)
|
||||
|
||||
options.o: options.cc options.hh application.hh
|
||||
- g++ $(CFLAGS) -c options.cc -o options.o $(GTKFLAGS)
|
||||
+ $(CXX) $(CFLAGS) -c options.cc -o options.o $(GTKFLAGS)
|
||||
|
||||
sound.o: sound.cc sound.hh
|
||||
- g++ $(CFLAGS) -c sound.cc -o sound.o $(GTKFLAGS)
|
||||
+ $(CXX) $(CFLAGS) -c sound.cc -o sound.o $(GTKFLAGS)
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-sound_cc,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
--- sound.cc.orig Wed Dec 15 23:35:44 1999
|
||||
+++ sound.cc Sat Jan 20 16:52:19 2001
|
||||
@@ -3,7 +3,13 @@
|
||||
$OpenBSD: patch-gtkpool_sound_cpp,v 1.1 2002/02/19 06:28:31 pvalchev Exp $
|
||||
--- gtkpool/sound.cpp.orig Mon Jan 14 02:23:39 2002
|
||||
+++ gtkpool/sound.cpp Mon Feb 18 23:07:08 2002
|
||||
@@ -20,7 +20,13 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
@ -14,4 +14,4 @@ $OpenBSD: patch-sound_cc,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
+#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <errno.h>
|
||||
#include "sound.hh"
|
||||
#include "sound.h"
|
@ -1,15 +1,15 @@
|
||||
$OpenBSD: patch-sound_hh,v 1.2 2001/03/16 19:44:56 brad Exp $
|
||||
--- sound.hh.orig Sun Jan 2 18:33:02 2000
|
||||
+++ sound.hh Thu Mar 15 11:30:37 2001
|
||||
@@ -6,7 +6,11 @@
|
||||
$OpenBSD: patch-gtkpool_sound_h,v 1.1 2002/02/19 06:28:31 pvalchev Exp $
|
||||
--- gtkpool/sound.h.orig Mon Jan 14 02:16:58 2002
|
||||
+++ gtkpool/sound.h Mon Feb 18 23:07:32 2002
|
||||
@@ -29,7 +29,11 @@
|
||||
|
||||
void play_sound(char *sound, int count);
|
||||
int load_sound(char *file, char *buffer, int *count);
|
||||
+#ifdef __OpenBSD__
|
||||
+void open_sound_device(char *name = "/dev/audio");
|
||||
+#else
|
||||
+#ifndef __OpenBSD__
|
||||
void open_sound_device(char *name = "/dev/dsp");
|
||||
+#else
|
||||
+void open_sound_device(char *name = "/dev/audio");
|
||||
+#endif
|
||||
void configure_sound_device();
|
||||
|
||||
class SoundError
|
||||
class SoundError {
|
@ -1,39 +1,44 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2002/02/19 06:28:31 pvalchev Exp $
|
||||
bin/gtkpool
|
||||
lib/gtkpool/ball-cue-big.xpm
|
||||
lib/gtkpool/ball-cue.xpm
|
||||
lib/gtkpool/ball-eight-big.xpm
|
||||
lib/gtkpool/ball-eight.xpm
|
||||
lib/gtkpool/ball-shadow.xpm
|
||||
lib/gtkpool/ball-solid-blue-big.xpm
|
||||
lib/gtkpool/ball-solid-blue.xpm
|
||||
lib/gtkpool/ball-solid-brown-big.xpm
|
||||
lib/gtkpool/ball-solid-brown.xpm
|
||||
lib/gtkpool/ball-solid-green-big.xpm
|
||||
lib/gtkpool/ball-solid-green.xpm
|
||||
lib/gtkpool/ball-solid-orange-big.xpm
|
||||
lib/gtkpool/ball-solid-orange.xpm
|
||||
lib/gtkpool/ball-solid-purple-big.xpm
|
||||
lib/gtkpool/ball-solid-purple.xpm
|
||||
lib/gtkpool/ball-solid-red-big.xpm
|
||||
lib/gtkpool/ball-solid-red.xpm
|
||||
lib/gtkpool/ball-solid-yellow-big.xpm
|
||||
lib/gtkpool/ball-solid-yellow.xpm
|
||||
lib/gtkpool/ball-striped-blue-big.xpm
|
||||
lib/gtkpool/ball-striped-blue.xpm
|
||||
lib/gtkpool/ball-striped-brown-big.xpm
|
||||
lib/gtkpool/ball-striped-brown.xpm
|
||||
lib/gtkpool/ball-striped-green-big.xpm
|
||||
lib/gtkpool/ball-striped-green.xpm
|
||||
lib/gtkpool/ball-striped-orange-big.xpm
|
||||
lib/gtkpool/ball-striped-orange.xpm
|
||||
lib/gtkpool/ball-striped-purple-big.xpm
|
||||
lib/gtkpool/ball-striped-purple.xpm
|
||||
lib/gtkpool/ball-striped-red-big.xpm
|
||||
lib/gtkpool/ball-striped-red.xpm
|
||||
lib/gtkpool/ball-striped-yellow-big.xpm
|
||||
lib/gtkpool/ball-striped-yellow.xpm
|
||||
lib/gtkpool/balls-big.xpm
|
||||
lib/gtkpool/click.raw
|
||||
lib/gtkpool/table.xpm
|
||||
@dirrm lib/gtkpool
|
||||
share/gtkpool/ball_10_lg.xpm
|
||||
share/gtkpool/ball_10_sm.xpm
|
||||
share/gtkpool/ball_11_lg.xpm
|
||||
share/gtkpool/ball_11_sm.xpm
|
||||
share/gtkpool/ball_12_lg.xpm
|
||||
share/gtkpool/ball_12_sm.xpm
|
||||
share/gtkpool/ball_13_lg.xpm
|
||||
share/gtkpool/ball_13_sm.xpm
|
||||
share/gtkpool/ball_14_lg.xpm
|
||||
share/gtkpool/ball_14_sm.xpm
|
||||
share/gtkpool/ball_15_lg.xpm
|
||||
share/gtkpool/ball_15_sm.xpm
|
||||
share/gtkpool/ball_1_lg.xpm
|
||||
share/gtkpool/ball_1_sm.xpm
|
||||
share/gtkpool/ball_2_lg.xpm
|
||||
share/gtkpool/ball_2_sm.xpm
|
||||
share/gtkpool/ball_3_lg.xpm
|
||||
share/gtkpool/ball_3_sm.xpm
|
||||
share/gtkpool/ball_4_lg.xpm
|
||||
share/gtkpool/ball_4_sm.xpm
|
||||
share/gtkpool/ball_5_lg.xpm
|
||||
share/gtkpool/ball_5_sm.xpm
|
||||
share/gtkpool/ball_6_lg.xpm
|
||||
share/gtkpool/ball_6_sm.xpm
|
||||
share/gtkpool/ball_7_lg.xpm
|
||||
share/gtkpool/ball_7_sm.xpm
|
||||
share/gtkpool/ball_8_lg.xpm
|
||||
share/gtkpool/ball_8_sm.xpm
|
||||
share/gtkpool/ball_9_lg.xpm
|
||||
share/gtkpool/ball_9_sm.xpm
|
||||
share/gtkpool/ball_cue_lg.xpm
|
||||
share/gtkpool/ball_cue_sm.xpm
|
||||
share/gtkpool/bllq-icon.xpm
|
||||
share/gtkpool/blpl-icon.xpm
|
||||
share/gtkpool/click.raw
|
||||
share/gtkpool/mabl-icon.xpm
|
||||
share/gtkpool/maho-icon.xpm
|
||||
share/gtkpool/pool_table_black-laquer.xpm
|
||||
share/gtkpool/pool_table_black-pearl.xpm
|
||||
share/gtkpool/pool_table_mahogany.xpm
|
||||
share/gtkpool/pool_table_maple-burl.xpm
|
||||
@dirrm share/gtkpool
|
||||
|
Loading…
x
Reference in New Issue
Block a user