aboutsummaryrefslogtreecommitdiff
path: root/emulators/loemu
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-19 17:54:33 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-19 17:54:33 +0000
commit0f5c862cf9ebe7813706c1569e42aec265583f22 (patch)
treea173fd508621c31fc54813254a767b1f0ed74dbf /emulators/loemu
parent84ef40b4fa2f6ef26c6d5542420a501cadcb768f (diff)
downloadports-0f5c862cf9ebe7813706c1569e42aec265583f22.tar.gz
ports-0f5c862cf9ebe7813706c1569e42aec265583f22.zip
Notes
Diffstat (limited to 'emulators/loemu')
-rw-r--r--emulators/loemu/Makefile4
-rw-r--r--emulators/loemu/distinfo6
-rw-r--r--emulators/loemu/files/patch-setup.py39
-rw-r--r--emulators/loemu/pkg-plist2
4 files changed, 15 insertions, 36 deletions
diff --git a/emulators/loemu/Makefile b/emulators/loemu/Makefile
index babebd30b619..25a003b8345d 100644
--- a/emulators/loemu/Makefile
+++ b/emulators/loemu/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= loemu
-PORTVERSION= 0.1.1
-PORTREVISION= 1
+PORTVERSION= 0.2.0
CATEGORIES= emulators python
MASTER_SITES= http://loemu.pegueroles.com/dists/
@@ -18,6 +17,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
+USE_GETTEXT= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_BUILD= yes
diff --git a/emulators/loemu/distinfo b/emulators/loemu/distinfo
index 6693b893fe33..421c867e7bc3 100644
--- a/emulators/loemu/distinfo
+++ b/emulators/loemu/distinfo
@@ -1,3 +1,3 @@
-MD5 (loemu-0.1.1.tar.gz) = d4cff1ef835ce19a9fd22cdaec47074a
-SHA256 (loemu-0.1.1.tar.gz) = 5188da6f6a13fd976f1a2bfac5fec4636507fbdce716fa9e4982eb508902e78e
-SIZE (loemu-0.1.1.tar.gz) = 41707
+MD5 (loemu-0.2.0.tar.gz) = 16e286f7b493c21e1bffb482a862d869
+SHA256 (loemu-0.2.0.tar.gz) = 5d5510393bdbfa35c7013633e9b762270c86c9cfee1342bdceada1fa5ab19ea7
+SIZE (loemu-0.2.0.tar.gz) = 50141
diff --git a/emulators/loemu/files/patch-setup.py b/emulators/loemu/files/patch-setup.py
index 3ffb2c347c2b..dc09d5b68346 100644
--- a/emulators/loemu/files/patch-setup.py
+++ b/emulators/loemu/files/patch-setup.py
@@ -1,15 +1,16 @@
---- setup.py Sat Mar 17 12:55:11 2007
-+++ setup.py Mon Mar 26 19:02:17 2007
+--- setup.py Sun Aug 12 15:12:41 2007
++++ setup.py Sun Aug 12 15:13:05 2007
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!%%PYTHON_CMD%%
from distutils.core import setup
from glob import glob
- import sys
-@@ -6,23 +6,6 @@
+ import os
+@@ -6,21 +6,6 @@
+
if sys.hexversion < 0x020400f0:
sys.stderr.write("python version failed: current version = %s.%s, needed version >= 2.4\n" % (sys.version_info[0],sys.version_info[1]))
- sys.exit(1)
+- sys.exit(1)
-try:
- import libxml2
-except ImportError:
@@ -24,30 +25,6 @@
- import gtk.glade
-except ImportError:
- sys.stderr.write("dependencies failed: python glade\n")
-- sys.exit(1)
--
--
+ sys.exit(1)
- setup(name='loemu',
- version='0.1.1',
-@@ -40,14 +23,14 @@
- * The generation of subsets of the gamelist is very fast.
- """,
- license='GNU GPL',
-- platforms='linux',
-+ platforms='FreeBSD',
- packages=['loemu'],
- scripts=glob("scripts/*"),
- data_files=[
-- ('share/games/loemu/config',glob("config/*")),
-- ('share/games/loemu/glade',glob("glade/*")),
-- ('share/games/loemu/roms',''),
-- ('share/games/loemu/flyers',''),
-- ('share/games/loemu/snaps',''),
-+ ('share/loemu/config',glob("config/*")),
-+ ('share/loemu/glade',glob("glade/*")),
-+ ('share/loemu/roms',''),
-+ ('share/loemu/flyers',''),
-+ ('share/loemu/snaps',''),
- ]
- )
+ # make sure that the mo files are generated and up-to-date
diff --git a/emulators/loemu/pkg-plist b/emulators/loemu/pkg-plist
index 45aa558d5f06..02ce724a5882 100644
--- a/emulators/loemu/pkg-plist
+++ b/emulators/loemu/pkg-plist
@@ -26,6 +26,8 @@ bin/loemu-builder
%%DATADIR%%/glade/Loemu.glade
%%DATADIR%%/glade/Preferences.glade
%%DATADIR%%/glade/penguin-revolt-128.png
+share/locale/ca/LC_MESSAGES/loemu.mo
+share/locale/sv/LC_MESSAGES/loemu.mo
@dirrm %%DATADIR%%/snaps
@dirrm %%DATADIR%%/roms
@dirrm %%DATADIR%%/glade