aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/kslide/Makefile23
-rw-r--r--games/kslide/distinfo1
-rw-r--r--games/kslide/files/patch-cintro.cpp22
-rw-r--r--games/kslide/pkg-descr4
-rw-r--r--games/kslide/pkg-plist35
6 files changed, 86 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 579e6d74c7c0..49683a3664dc 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -226,6 +226,7 @@
SUBDIR += kpacman
SUBDIR += kpictorial
SUBDIR += krosswordplayer
+ SUBDIR += kslide
SUBDIR += ktritoc
SUBDIR += kwappen
SUBDIR += kxl
diff --git a/games/kslide/Makefile b/games/kslide/Makefile
new file mode 100644
index 000000000000..02481a2efdce
--- /dev/null
+++ b/games/kslide/Makefile
@@ -0,0 +1,23 @@
+# New ports collection Makefile for: kslide
+# Date created: 2004-01-23
+# Whom: arved
+#
+# $FreeBSD$
+
+PORTNAME= kslide
+PORTVERSION= 1.0
+CATEGORIES= games kde
+MASTER_SITES= http://www.web-xs.de/~ecoquelle/taquin/ \
+ http://david.bieder.free.fr/eric/taquin/ \
+ http://perso.wanadoo.fr/coquelle/taquin/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= KDE puzzle game
+
+USE_BZIP2= yes
+USE_KDELIBS_VER= 3
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff --git a/games/kslide/distinfo b/games/kslide/distinfo
new file mode 100644
index 000000000000..75def5421581
--- /dev/null
+++ b/games/kslide/distinfo
@@ -0,0 +1 @@
+MD5 (kslide-1.0.tar.bz2) = b17bcf4e3c58b23218f8074b0ddeedfe
diff --git a/games/kslide/files/patch-cintro.cpp b/games/kslide/files/patch-cintro.cpp
new file mode 100644
index 000000000000..c6b1db880191
--- /dev/null
+++ b/games/kslide/files/patch-cintro.cpp
@@ -0,0 +1,22 @@
+--- kslide/cintro.cpp.orig Fri Jan 23 17:50:42 2004
++++ kslide/cintro.cpp Fri Jan 23 18:23:19 2004
+@@ -18,6 +18,10 @@
+ #include "cintro.h"
+ #include "score.h"
+
++#include <stdlib.h>
++#include <sys/types.h>
++#include <pwd.h>
++
+ #include <qpainter.h>
+ #include <qfont.h>
+ #include <kapp.h>
+@@ -86,7 +90,7 @@
+ playername->hide();
+ KConfig *config = kapp->config();
+ config->setGroup("Player");
+- playername->setText(config->readEntry("playername",QString(cuserid(NULL))));
++ playername->setText(config->readEntry("playername",QString(getpwuid(geteuid())->pw_name)));
+ playername->selectAll();
+
+ setMouseTracking(true);
diff --git a/games/kslide/pkg-descr b/games/kslide/pkg-descr
new file mode 100644
index 000000000000..3d36f9c36fee
--- /dev/null
+++ b/games/kslide/pkg-descr
@@ -0,0 +1,4 @@
+KSlide is a KDE puzzle game.
+
+Author: Eric Coquelle <coquelle@caramail.com>
+WWW: http://perso.wanadoo.fr/coquelle/taquin/
diff --git a/games/kslide/pkg-plist b/games/kslide/pkg-plist
new file mode 100644
index 000000000000..da0a05261fae
--- /dev/null
+++ b/games/kslide/pkg-plist
@@ -0,0 +1,35 @@
+bin/kslide
+share/applnk/Applications/kslide.desktop
+share/apps/kslide/kslideui.rc
+share/apps/kslide/pics/frame0.png
+share/apps/kslide/pics/frame1.png
+share/apps/kslide/pics/frame2.png
+share/apps/kslide/pics/frame0m.png
+share/apps/kslide/pics/puzzle0.jpg
+share/apps/kslide/pics/puzzle1.jpg
+share/apps/kslide/pics/puzzle2.jpg
+share/apps/kslide/pics/puzzle3.jpg
+share/apps/kslide/pics/puzzle4.jpg
+share/apps/kslide/pics/puzzle5.jpg
+share/apps/kslide/pics/puzzle6.jpg
+share/apps/kslide/pics/puzzle7.jpg
+share/apps/kslide/pics/tiles0.png
+share/apps/kslide/pics/tiles1.png
+share/apps/kslide/pics/tiles2.png
+share/apps/kslide/pics/tiles0m.png
+share/apps/kslide/pics/kslide.jpg
+share/apps/kslide/pics/playername.jpg
+share/apps/kslide/pics/texture.jpg
+share/apps/kslide/pics/ball.png
+share/apps/kslide/pics/credits0.png
+share/apps/kslide/pics/credits1.png
+share/apps/kslide/pics/credits2.png
+share/apps/kslide/pics/credits3.png
+share/icons/hicolor/16x16/apps/kslide.png
+share/icons/hicolor/32x32/apps/kslide.png
+share/icons/hicolor/48x48/apps/kslide.png
+share/icons/locolor/16x16/apps/kslide.png
+share/icons/locolor/32x32/apps/kslide.png
+share/icons/hicolor/16x16/actions/solve.png
+@dirrm share/apps/kslide/pics
+@dirrm share/apps/kslide