aboutsummaryrefslogtreecommitdiff
path: root/emulators/pyxmame
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-08-01 23:31:06 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-08-01 23:31:06 +0000
commit20841977a2ab46a1701897b7cdc43e84b1cebf27 (patch)
treea8427f5fd24d1064ce765514db4c2fb675c3d327 /emulators/pyxmame
parentf47de55492ba414167c4c0abb4234eff97df6914 (diff)
downloadports-20841977a2ab46a1701897b7cdc43e84b1cebf27.tar.gz
ports-20841977a2ab46a1701897b7cdc43e84b1cebf27.zip
Notes
Diffstat (limited to 'emulators/pyxmame')
-rw-r--r--emulators/pyxmame/Makefile25
-rw-r--r--emulators/pyxmame/distinfo3
-rw-r--r--emulators/pyxmame/files/patch-pyxmame_Config.py13
-rw-r--r--emulators/pyxmame/files/patch-setup.py27
-rw-r--r--emulators/pyxmame/pkg-descr4
-rw-r--r--emulators/pyxmame/pkg-plist47
6 files changed, 119 insertions, 0 deletions
diff --git a/emulators/pyxmame/Makefile b/emulators/pyxmame/Makefile
new file mode 100644
index 000000000000..25fe9a54113a
--- /dev/null
+++ b/emulators/pyxmame/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: pyxmame
+# Date created: 2006-08-01
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyxmame
+PORTVERSION= 0.3.1
+CATEGORIES= emulators python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Simple frontend for the xmame
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ ${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/misc/py-pexpect \
+ xmame:${PORTSDIR}/emulators/xmame
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+NO_BUILD= yes
+
+.include <bsd.port.mk>
diff --git a/emulators/pyxmame/distinfo b/emulators/pyxmame/distinfo
new file mode 100644
index 000000000000..62159f5b9b5c
--- /dev/null
+++ b/emulators/pyxmame/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyxmame-0.3.1.tar.gz) = 15b95b09374e4773bf378bb7ba76666d
+SHA256 (pyxmame-0.3.1.tar.gz) = f3b692959940bb1b5e2e8e55ea039bed036e852fa1a477564f7e61b26ce07e44
+SIZE (pyxmame-0.3.1.tar.gz) = 84977
diff --git a/emulators/pyxmame/files/patch-pyxmame_Config.py b/emulators/pyxmame/files/patch-pyxmame_Config.py
new file mode 100644
index 000000000000..6842ada324d4
--- /dev/null
+++ b/emulators/pyxmame/files/patch-pyxmame_Config.py
@@ -0,0 +1,13 @@
+--- pyxmame/Config.py Mon Jul 3 15:31:07 2006
++++ pyxmame/Config.py Tue Aug 1 03:45:45 2006
+@@ -3,8 +3,9 @@
+
+ import re
+ import os
++import sys
+
+-CONFIG_FILE="/etc/pyxmame/pyxmamerc"
++CONFIG_FILE=sys.prefix+"/etc/pyxmame/pyxmamerc"
+ HOME_FILE=os.environ['HOME']+"/.pyxmame/pyxmamerc"
+
+ class Config(dict):
diff --git a/emulators/pyxmame/files/patch-setup.py b/emulators/pyxmame/files/patch-setup.py
new file mode 100644
index 000000000000..25788bc7b7a1
--- /dev/null
+++ b/emulators/pyxmame/files/patch-setup.py
@@ -0,0 +1,27 @@
+--- setup.py Tue Aug 1 02:32:46 2006
++++ setup.py Tue Aug 1 02:33:30 2006
+@@ -9,7 +9,7 @@
+ url='http://pegueroles.cat/pyxmame',
+ long_description='Allows you search, browse and launch games from a GTK interface.Looks good and its very responsive even with a lot of roms.',
+ license='GNU GPL',
+- platforms='linux',
++ platforms='FreeBSD',
+ packages=['pyxmame'],
+ scripts=[
+ 'scripts/pyxmame',
+@@ -18,10 +18,10 @@
+ ],
+ data_files=[
+ ('share/pixmaps/pyxmame',["pixmaps/penguin-revolt-128.png"]),
+- ('share/games/pyxmame',["config/catver.ini"]),
+- ('share/games/pyxmame/flyers',''),
+- ('share/games/pyxmame/roms',''),
+- ('share/games/pyxmame/snaps',''),
+- ('/etc/pyxmame',["config/pyxmamerc"])
++ ('share/pyxmame',["config/catver.ini"]),
++ ('share/pyxmame/flyers',''),
++ ('share/pyxmame/roms',''),
++ ('share/pyxmame/snaps',''),
++ ('etc/pyxmame',["config/pyxmamerc"])
+ ]
+ )
diff --git a/emulators/pyxmame/pkg-descr b/emulators/pyxmame/pkg-descr
new file mode 100644
index 000000000000..ed52fdbb4853
--- /dev/null
+++ b/emulators/pyxmame/pkg-descr
@@ -0,0 +1,4 @@
+Pyxmame is a free application that provides a simple frontend for the xmame,
+developed with PyGTK
+
+WWW: http://pegueroles.com/Pyxmame/
diff --git a/emulators/pyxmame/pkg-plist b/emulators/pyxmame/pkg-plist
new file mode 100644
index 000000000000..e47479d2c1d6
--- /dev/null
+++ b/emulators/pyxmame/pkg-plist
@@ -0,0 +1,47 @@
+bin/pyxmame
+bin/pyxmame-start
+bin/pyxmame-setup
+%%PYTHON_SITELIBDIR%%/pyxmame/Config.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Filter.py
+%%PYTHON_SITELIBDIR%%/pyxmame/GameList.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Games.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Main.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Preferences.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Selects.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Setup.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Show.py
+%%PYTHON_SITELIBDIR%%/pyxmame/View.py
+%%PYTHON_SITELIBDIR%%/pyxmame/__init__.py
+%%PYTHON_SITELIBDIR%%/pyxmame/Config.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Filter.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/GameList.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Games.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Main.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Preferences.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Selects.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Setup.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Show.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/View.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyxmame/Config.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Filter.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/GameList.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Games.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Main.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Preferences.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Selects.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Setup.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/Show.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/View.pyo
+%%PYTHON_SITELIBDIR%%/pyxmame/__init__.pyo
+share/pixmaps/pyxmame/penguin-revolt-128.png
+%%DATADIR%%/catver.ini
+etc/pyxmame/pyxmamerc
+@dirrm share/pixmaps/pyxmame
+@dirrmtry share/pixmaps
+@dirrm %%DATADIR%%/snaps
+@dirrm %%DATADIR%%/roms
+@dirrm %%DATADIR%%/flyers
+@dirrm %%DATADIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/pyxmame
+@dirrm etc/pyxmame