diff options
author | acm <acm@FreeBSD.org> | 2006-08-02 07:31:06 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2006-08-02 07:31:06 +0800 |
commit | 329c03dbc9e4b0402ef92ed7e2b07f0efe9805ed (patch) | |
tree | 6848373edbd97bc51737d1e0e8ff078b2f1d7269 /emulators | |
parent | f0931667ae49db869bd41f54df13327e01ccaea2 (diff) | |
download | freebsd-ports-gnome-329c03dbc9e4b0402ef92ed7e2b07f0efe9805ed.tar.gz freebsd-ports-gnome-329c03dbc9e4b0402ef92ed7e2b07f0efe9805ed.tar.zst freebsd-ports-gnome-329c03dbc9e4b0402ef92ed7e2b07f0efe9805ed.zip |
- New port: emulators/pyxmame
Pyxmame is a free application that provides a simple frontend for the xmame,
developed with PyGTK
WWW: http://pegueroles.com/Pyxmame/
Approved by: garga (mentor)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/pyxmame/Makefile | 25 | ||||
-rw-r--r-- | emulators/pyxmame/distinfo | 3 | ||||
-rw-r--r-- | emulators/pyxmame/files/patch-pyxmame_Config.py | 13 | ||||
-rw-r--r-- | emulators/pyxmame/files/patch-setup.py | 27 | ||||
-rw-r--r-- | emulators/pyxmame/pkg-descr | 4 | ||||
-rw-r--r-- | emulators/pyxmame/pkg-plist | 47 |
7 files changed, 120 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 64ec0d387a39..846c8687153b 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -104,6 +104,7 @@ SUBDIR += pearpc SUBDIR += prodosemu SUBDIR += psim-freebsd + SUBDIR += pyxmame SUBDIR += qemu SUBDIR += qemu-launcher SUBDIR += quasi88 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 |