summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/py-xdg/Makefile4
-rw-r--r--devel/py-xdg/files/patch-xdg_Menu.py13
2 files changed, 15 insertions, 2 deletions
diff --git a/devel/py-xdg/Makefile b/devel/py-xdg/Makefile
index 9db344c02..631b4265a 100644
--- a/devel/py-xdg/Makefile
+++ b/devel/py-xdg/Makefile
@@ -3,12 +3,12 @@
# Whom: michael johnson <ahze@ahze.net>
#
# $FreeBSD$
-# $MCom: ports-stable/devel/py-xdg/Makefile,v 1.4 2005/08/12 00:08:44 ahze Exp $
+# $MCom: ports/devel/py-xdg/Makefile,v 1.1 2006/09/01 20:58:00 ahze Exp $
#
PORTNAME= xdg
PORTVERSION= 0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= http://www.freedesktop.org/~lanius/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-xdg/files/patch-xdg_Menu.py b/devel/py-xdg/files/patch-xdg_Menu.py
new file mode 100644
index 000000000..186fda591
--- /dev/null
+++ b/devel/py-xdg/files/patch-xdg_Menu.py
@@ -0,0 +1,13 @@
+--- xdg/Menu.py.orig Thu Aug 11 07:37:48 2005
++++ xdg/Menu.py Sat Sep 2 05:10:19 2006
+@@ -494,6 +494,10 @@
+ if not filename:
+ filename = __getFileName("applications.menu")
+
++ # use gnome if no filename given
++ if not filename:
++ filename = __getFileName("gnome-applications.menu")
++
+ if not filename:
+ raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")
+