aboutsummaryrefslogtreecommitdiff
path: root/games/kye
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-08-04 21:59:15 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-08-04 21:59:15 +0000
commitdf33c71adc2edc70208d923eb66184b670d91d77 (patch)
tree8bf935ddf2c1e8bf45873c7372066972429c34cc /games/kye
parentb2618dce12c13880f78fe724ea2711266391fe3e (diff)
downloadports-df33c71adc2edc70208d923eb66184b670d91d77.tar.gz
ports-df33c71adc2edc70208d923eb66184b670d91d77.zip
Notes
Diffstat (limited to 'games/kye')
-rw-r--r--games/kye/Makefile55
-rw-r--r--games/kye/distinfo2
-rw-r--r--games/kye/files/pkg-message.in25
-rw-r--r--games/kye/pkg-descr11
-rw-r--r--games/kye/pkg-plist48
5 files changed, 141 insertions, 0 deletions
diff --git a/games/kye/Makefile b/games/kye/Makefile
new file mode 100644
index 000000000000..5265d008a28f
--- /dev/null
+++ b/games/kye/Makefile
@@ -0,0 +1,55 @@
+# New Ports collection makefile for: kye
+# Date created: 17 July 2012
+# Whom: nemysis@gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= kye
+PORTVERSION= 1.0
+CATEGORIES= games python
+MASTER_SITES= http://games.moria.org.uk/kye/download/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= kye
+
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Puzzle game with arcade game elements
+
+LICENSE= GPLv2
+
+OPTIONS_DEFINE= DATA
+OPTIONS_DEFAULT= DATA
+
+USE_GNOME= pygtk2 librsvg2
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+NO_BUILD= yes
+
+PORTDATA= *
+PORTDOCS= NEWS README
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.options.mk>
+
+post-install:
+# Data
+.if ${PORT_OPTIONS:MDATA}
+ ${INSTALL_DATA} ${WRKSRC}/kye-icon.png ${PREFIX}/share/pixmaps/Kye.png
+ ${INSTALL_DATA} ${WRKSRC}/kye-edit-icon.png ${PREFIX}/share/pixmaps/Kye-edit.png
+.endif
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+. for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+. endfor
+.endif
+
+# pkg-message
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>
diff --git a/games/kye/distinfo b/games/kye/distinfo
new file mode 100644
index 000000000000..9be8bcdb779e
--- /dev/null
+++ b/games/kye/distinfo
@@ -0,0 +1,2 @@
+SHA256 (kye/kye-1.0.tar.gz) = d58a9e62a0ec736a072a932603cdc5b3f4890b28c32c346639513d4e247ca747
+SIZE (kye/kye-1.0.tar.gz) = 55245
diff --git a/games/kye/files/pkg-message.in b/games/kye/files/pkg-message.in
new file mode 100644
index 000000000000..e411e0cd685a
--- /dev/null
+++ b/games/kye/files/pkg-message.in
@@ -0,0 +1,25 @@
+===============================================================================
+
+Python Kye has been installed.
+
+This package does not include all Python Kye Levels.
+
+To obtain the original extra Levels use the "games/kye-data" Port.
+
+
+In addition, you can search for additional extra Levels here:
+
+ http://kye.8m.com/gfclevels.html
+
+ http://www.classicdosgames.com/game/Kye.html
+
+and other Sites and put it in:
+
+ %%DATADIR%%
+
+
+You could manually change Permissions these Levels with:
+
+ /bin/chmod 444 %%DATADIR%%/*.kye
+
+===============================================================================
diff --git a/games/kye/pkg-descr b/games/kye/pkg-descr
new file mode 100644
index 000000000000..1e87e2276932
--- /dev/null
+++ b/games/kye/pkg-descr
@@ -0,0 +1,11 @@
+This is a clone of the game Kye for Windows, originally by Colin Garbutt. It
+is a puzzle game, which is a little like the old falling-rocks puzzle games,
+and perhaps also inspired a little by Sokoban. But Kye has more variety of
+objects, and so is capable of posing quite complex puzzles.
+
+This clone is written by Colin Phipps <cph@moria.org.uk> in Python and uses
+gtk. So it will run on modern Linux systems easily enough, and indeed should
+work on any system with working Python and pygtk. It works on Windows as well,
+for instance.
+
+WWW: http://games.moria.org.uk/kye/
diff --git a/games/kye/pkg-plist b/games/kye/pkg-plist
new file mode 100644
index 000000000000..860653b3fab4
--- /dev/null
+++ b/games/kye/pkg-plist
@@ -0,0 +1,48 @@
+bin/Kye
+bin/Kye-edit
+%%PYTHON_SITELIBDIR%%/kye/__init__.py
+%%PYTHON_SITELIBDIR%%/kye/__init__.pyc
+%%PYTHON_SITELIBDIR%%/kye/__init__.pyo
+%%PYTHON_SITELIBDIR%%/kye/app.py
+%%PYTHON_SITELIBDIR%%/kye/app.pyc
+%%PYTHON_SITELIBDIR%%/kye/app.pyo
+%%PYTHON_SITELIBDIR%%/kye/canvas.py
+%%PYTHON_SITELIBDIR%%/kye/canvas.pyc
+%%PYTHON_SITELIBDIR%%/kye/canvas.pyo
+%%PYTHON_SITELIBDIR%%/kye/common.py
+%%PYTHON_SITELIBDIR%%/kye/common.pyc
+%%PYTHON_SITELIBDIR%%/kye/common.pyo
+%%PYTHON_SITELIBDIR%%/kye/defaults.py
+%%PYTHON_SITELIBDIR%%/kye/defaults.pyc
+%%PYTHON_SITELIBDIR%%/kye/defaults.pyo
+%%PYTHON_SITELIBDIR%%/kye/dialogs.py
+%%PYTHON_SITELIBDIR%%/kye/dialogs.pyc
+%%PYTHON_SITELIBDIR%%/kye/dialogs.pyo
+%%PYTHON_SITELIBDIR%%/kye/editor.py
+%%PYTHON_SITELIBDIR%%/kye/editor.pyc
+%%PYTHON_SITELIBDIR%%/kye/editor.pyo
+%%PYTHON_SITELIBDIR%%/kye/frame.py
+%%PYTHON_SITELIBDIR%%/kye/frame.pyc
+%%PYTHON_SITELIBDIR%%/kye/frame.pyo
+%%PYTHON_SITELIBDIR%%/kye/game.py
+%%PYTHON_SITELIBDIR%%/kye/game.pyc
+%%PYTHON_SITELIBDIR%%/kye/game.pyo
+%%PYTHON_SITELIBDIR%%/kye/input.py
+%%PYTHON_SITELIBDIR%%/kye/input.pyc
+%%PYTHON_SITELIBDIR%%/kye/input.pyo
+%%PYTHON_SITELIBDIR%%/kye/leveledit.py
+%%PYTHON_SITELIBDIR%%/kye/leveledit.pyc
+%%PYTHON_SITELIBDIR%%/kye/leveledit.pyo
+%%PYTHON_SITELIBDIR%%/kye/objects.py
+%%PYTHON_SITELIBDIR%%/kye/objects.pyc
+%%PYTHON_SITELIBDIR%%/kye/objects.pyo
+%%PYTHON_SITELIBDIR%%/kye/palette.py
+%%PYTHON_SITELIBDIR%%/kye/palette.pyc
+%%PYTHON_SITELIBDIR%%/kye/palette.pyo
+%%PYTHON_SITELIBDIR%%/kye/stbar.py
+%%PYTHON_SITELIBDIR%%/kye/stbar.pyc
+%%PYTHON_SITELIBDIR%%/kye/stbar.pyo
+share/pixmaps/Kye-edit.png
+share/pixmaps/Kye.png
+@dirrmtry share/applications
+@dirrm %%PYTHON_SITELIBDIR%%/kye