summaryrefslogtreecommitdiffstats
path: root/games/ktamaga
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1997-12-03 00:31:43 +0000
committerse <se@FreeBSD.org>1997-12-03 00:31:43 +0000
commitbe8eb7339aac9fc416e8b93ffe0184b0c8e4521b (patch)
tree8c85604da3fe8faecd8ec3468b7daf7cb10ef654 /games/ktamaga
parent880f7aa1d25b7ab6f4bd5107ed6f3143dd245ca3 (diff)
downloadFreeBSD-ports-be8eb7339aac9fc416e8b93ffe0184b0c8e4521b.zip
FreeBSD-ports-be8eb7339aac9fc416e8b93ffe0184b0c8e4521b.tar.gz
The KDE Tamagochi emulator.
Diffstat (limited to 'games/ktamaga')
-rw-r--r--games/ktamaga/Makefile23
-rw-r--r--games/ktamaga/distinfo1
-rw-r--r--games/ktamaga/files/patch-aa148
-rw-r--r--games/ktamaga/pkg-comment0
-rw-r--r--games/ktamaga/pkg-descr0
-rw-r--r--games/ktamaga/pkg-plist76
6 files changed, 248 insertions, 0 deletions
diff --git a/games/ktamaga/Makefile b/games/ktamaga/Makefile
new file mode 100644
index 0000000..de22520
--- /dev/null
+++ b/games/ktamaga/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: ktamaga
+# Version required: 0.2
+# Date created: 13 November 1997
+# Whom: Stefan Eßer <se@freebsd.org>
+#
+# $Id:$
+#
+
+DISTNAME= ktamaga-0.2
+CATEGORIES= games kde
+MASTER_SITES= ftp://ftp.net.lut.ac.uk/kde/pub/kde/old/apps/games/ \
+ ftp://ftp.uni-erlangen.de/pub/Linux/MIRROR.KDE/old/apps/games/ \
+ ftp://ftp.caldera.com/pub/mirrors/kde/old/apps/games/
+
+MAINTAINER= se@freebsd.org
+
+BUILD_DEPENDS= moc:${PORTSDIR}/x11/qt
+LIB_DEPENDS= qt\\.1\\.3[0-9]:${PORTSDIR}/x11/qt \
+ kdecore\\.0\\.1[1-9]:${PORTSDIR}/x11/kdelibs
+
+WRKSRC= ${WRKDIR}/tamaga-0.2
+
+.include <bsd.port.mk>
diff --git a/games/ktamaga/distinfo b/games/ktamaga/distinfo
new file mode 100644
index 0000000..f42630d
--- /dev/null
+++ b/games/ktamaga/distinfo
@@ -0,0 +1 @@
+MD5 (ktamaga-0.2.tar.gz) = 205a600de3fa08bdb6eb6a3438a6c671
diff --git a/games/ktamaga/files/patch-aa b/games/ktamaga/files/patch-aa
new file mode 100644
index 0000000..7942461
--- /dev/null
+++ b/games/ktamaga/files/patch-aa
@@ -0,0 +1,148 @@
+*** Makefile~ Thu Nov 13 23:49:08 1997
+--- Makefile Wed Dec 3 00:48:04 1997
+***************
+*** 11,19 ****
+ HAVE_KDE=1
+
+! QTDIR = /usr/lib/qt
+! X11DIR = /usr/X11
+
+ # Needed only if you have KDE, otherwise leave it alone
+! KDEDIR = /opt/kde
+
+ # Uncomment, if you need debug info in the prog.
+--- 11,19 ----
+ HAVE_KDE=1
+
+! QTDIR = $(X11BASE)
+! X11DIR = $(X11BASE)
+
+ # Needed only if you have KDE, otherwise leave it alone
+! KDEDIR = $(PREFIX)
+
+ # Uncomment, if you need debug info in the prog.
+***************
+*** 24,28 ****
+ SHELL = /bin/sh
+ CC = gcc
+! MOC = /usr/bin/moc
+ install = /usr/bin/install -c
+
+--- 24,28 ----
+ SHELL = /bin/sh
+ CC = gcc
+! MOC = $(X11BASE)/bin/moc
+ install = /usr/bin/install -c
+
+***************
+*** 31,35 ****
+ X11LIBDIR = $(X11DIR)/lib
+ X11INCDIR = $(X11DIR)/include
+! QTINCDIR = $(QTDIR)/include
+ QTLIBDIR = $(QTDIR)/lib
+ KDEINCDIR = $(KDEDIR)/include
+--- 31,35 ----
+ X11LIBDIR = $(X11DIR)/lib
+ X11INCDIR = $(X11DIR)/include
+! QTINCDIR = $(QTDIR)/include/X11/qt
+ QTLIBDIR = $(QTDIR)/lib
+ KDEINCDIR = $(KDEDIR)/include
+***************
+*** 43,66 ****
+ INSTALL_DIR_PRIVATE = $(install) -d -m 0700
+
+- ifdef HAVE_KDE
+ BINDIR = $(KDEDIR)/bin
+ DATADIR = $(KDEDIR)/share/apps/ktamaga
+ HELPDIR = $(KDEDIR)/share/doc/HTML/default/ktamaga
+- else
+-
+- # If you compile the X11-only (non-KDE) version see these:
+- BINDIR = /usr/X11/bin
+- # the DATADIR is still hardcoded in tamaga.h, so take care if you change it
+- DATADIR = /usr/lib/X11/tamaga
+- HELPDIR = /usr/doc/tamaga
+- endif
+
+ ###########################################################
+
+- ifdef HAVE_KDE
+ KINC = -I $(KDEINCDIR)
+ KLIB = -L $(KDELIBDIR) -lkdecore -lkdeui -lXext
+ KDEF = -DUSEKDE
+- endif
+
+ INCLUDES = -I $(QTINCDIR) -I $(X11INCDIR) $(KINC)
+--- 43,55 ----
+***************
+*** 70,74 ****
+ # maybe -DSTDC_HEADERS needed instead of -DHAVE_CONFIG_H
+
+! CFLAGS = $(DEBUG_FL) -O2 -fno-strength-reduce -Wall -W $(INCLUDES) $(DEFINES)
+ LFLAGS = $(DEBUG_FL) $(LIBS)
+
+--- 59,63 ----
+ # maybe -DSTDC_HEADERS needed instead of -DHAVE_CONFIG_H
+
+! CFLAGS = $(DEBUG_FL) -O2 -fno-strength-reduce -Wall -W $(INCLUDES) $(DEFINES) -DX11BASE=\"$(X11BASE)\"
+ LFLAGS = $(DEBUG_FL) $(LIBS)
+
+***************
+*** 84,92 ****
+ SRCMETA = mlwin.cpp mconf.cpp mconfData.cpp mtlcd.cpp
+ OBJMETA = mlwin.o mconf.o mconfData.o mtlcd.o
+- ifdef HAVE_KDE
+ TARGET = ktamaga
+- else
+- TARGET = xtamaga
+- endif
+
+ ####### Implicit rules
+--- 73,77 ----
+***************
+*** 122,134 ****
+
+ install: $(TARGET)
+- ifdef HAVE_KDE
+ @echo "--------------------------------------------"
+ @echo " Installing KTamaga, for KDE"
+ @echo "--------------------------------------------"
+- else
+- @echo "--------------------------------------------"
+- @echo " Installing xTamaga, fot X-Win"
+- @echo "--------------------------------------------"
+- endif
+ $(INSTALL_DIR) $(BINDIR)
+ $(INSTALL) $(TARGET) $(BINDIR)
+--- 107,113 ----
+***************
+*** 137,141 ****
+ $(INSTALL_DATA) HTMLdoc/* $(HELPDIR)
+
+- ifdef HAVE_KDE
+ $(INSTALL_DIR) $(KDEDIR)/share/applnk/Games
+ $(INSTALL_DATA) KTamaga.kdelnk $(KDEDIR)/share/applnk/Games
+--- 116,119 ----
+***************
+*** 143,147 ****
+ $(INSTALL_DIR) $(KDEDIR)/share/icons
+ $(INSTALL_DATA) ktamaga.xpm $(KDEDIR)/share/icons
+- endif
+
+ $(INSTALL_DIR) $(DATADIR)
+--- 121,124 ----
+** tamaga.h~ Thu Nov 13 23:55:28 1997
+--- tamaga.h Thu Nov 13 23:56:18 1997
+***************
+*** 28,32 ****
+
+ // The Data dir for the X-only version
+! #define XDATPATH "/usr/lib/X11/tamaga"
+
+ //------------------------------------
+--- 28,32 ----
+
+ // The Data dir for the X-only version
+! #define XDATPATH X11BASE "/lib/X11/tamaga"
+
+ //------------------------------------
diff --git a/games/ktamaga/pkg-comment b/games/ktamaga/pkg-comment
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/games/ktamaga/pkg-comment
diff --git a/games/ktamaga/pkg-descr b/games/ktamaga/pkg-descr
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/games/ktamaga/pkg-descr
diff --git a/games/ktamaga/pkg-plist b/games/ktamaga/pkg-plist
new file mode 100644
index 0000000..b65cff8
--- /dev/null
+++ b/games/ktamaga/pkg-plist
@@ -0,0 +1,76 @@
+bin/ktamaga
+share/doc/HTML/default/ktamaga/alltamag.gif
+share/doc/HTML/default/ktamaga/alltamag.html
+share/doc/HTML/default/ktamaga/configure.html
+share/doc/HTML/default/ktamaga/iattent.gif
+share/doc/HTML/default/ktamaga/ieat.gif
+share/doc/HTML/default/ktamaga/ienject.gif
+share/doc/HTML/default/ktamaga/ilight.gif
+share/doc/HTML/default/ktamaga/interface1.gif
+share/doc/HTML/default/ktamaga/intro.html
+share/doc/HTML/default/ktamaga/iplay.gif
+share/doc/HTML/default/ktamaga/istatus.gif
+share/doc/HTML/default/ktamaga/iteach.gif
+share/doc/HTML/default/ktamaga/itoile.gif
+share/doc/HTML/default/ktamaga/ktamaga.html
+share/doc/HTML/default/ktamaga/taminstructions.html
+share/doc/HTML/default/ktamaga/tchart.gif
+share/doc/HTML/default/ktamaga/tchart.html
+share/doc/HTML/default/ktamaga/usage.html
+share/applnk/Games/KTamaga.kdelnk
+share/icons/ktamaga.xpm
+share/apps/ktamaga/bg1.xpm
+share/apps/ktamaga/icon_attent.xpm
+share/apps/ktamaga/icon_attentact.xpm
+share/apps/ktamaga/icon_attents.xpm
+share/apps/ktamaga/icon_base.xpm
+share/apps/ktamaga/icon_cancel.xpm
+share/apps/ktamaga/icon_dbgdown.xpm
+share/apps/ktamaga/icon_dbgleft.xpm
+share/apps/ktamaga/icon_dbgnext.xpm
+share/apps/ktamaga/icon_dbgprev.xpm
+share/apps/ktamaga/icon_dbgright.xpm
+share/apps/ktamaga/icon_dbgsave.xpm
+share/apps/ktamaga/icon_dbgup.xpm
+share/apps/ktamaga/icon_feed.xpm
+share/apps/ktamaga/icon_feeds.xpm
+share/apps/ktamaga/icon_inject.xpm
+share/apps/ktamaga/icon_light.xpm
+share/apps/ktamaga/icon_meal.xpm
+share/apps/ktamaga/icon_null.xpm
+share/apps/ktamaga/icon_play.xpm
+share/apps/ktamaga/icon_plays.xpm
+share/apps/ktamaga/icon_snack.xpm
+share/apps/ktamaga/icon_status.xpm
+share/apps/ktamaga/icon_teach.xpm
+share/apps/ktamaga/icon_toilet.xpm
+share/apps/ktamaga/icon_turnleft.xpm
+share/apps/ktamaga/icon_turnright.xpm
+share/apps/ktamaga/phase_0.dat
+share/apps/ktamaga/phase_1.dat
+share/apps/ktamaga/phase_10.dat
+share/apps/ktamaga/phase_11.dat
+share/apps/ktamaga/phase_2.dat
+share/apps/ktamaga/phase_3.dat
+share/apps/ktamaga/phase_4.dat
+share/apps/ktamaga/phase_5.dat
+share/apps/ktamaga/phase_6.dat
+share/apps/ktamaga/phase_7.dat
+share/apps/ktamaga/phase_8.dat
+share/apps/ktamaga/phase_9.dat
+share/apps/ktamaga/phase_other.dat
+share/apps/ktamaga/position_0.dat
+share/apps/ktamaga/position_1.dat
+share/apps/ktamaga/position_10.dat
+share/apps/ktamaga/position_11.dat
+share/apps/ktamaga/position_2.dat
+share/apps/ktamaga/position_3.dat
+share/apps/ktamaga/position_4.dat
+share/apps/ktamaga/position_5.dat
+share/apps/ktamaga/position_6.dat
+share/apps/ktamaga/position_7.dat
+share/apps/ktamaga/position_8.dat
+share/apps/ktamaga/position_9.dat
+share/apps/ktamaga/tama_base.xpm
+@dirrm share/apps/ktamaga
+@dirrm share/doc/HTML/default/ktamaga
OpenPOWER on IntegriCloud