aboutsummaryrefslogtreecommitdiff
path: root/devel/py-xdg
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
commit4acc6fb2a411b291c9c210d82bafe7c62e71c77d (patch)
treebc16420eb52d65511ceb520c00171d219210a473 /devel/py-xdg
parent97dfcc1b41c5b4581b1d73128a866beec069c5bf (diff)
downloadports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.tar.gz
ports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.zip
Notes
Diffstat (limited to 'devel/py-xdg')
-rw-r--r--devel/py-xdg/Makefile8
-rw-r--r--devel/py-xdg/files/patch-xdg::BaseDirectory.py2
-rw-r--r--devel/py-xdg/files/patch-xdg::IconTheme.py9
3 files changed, 7 insertions, 12 deletions
diff --git a/devel/py-xdg/Makefile b/devel/py-xdg/Makefile
index 6916f59a00b8..648c257d0645 100644
--- a/devel/py-xdg/Makefile
+++ b/devel/py-xdg/Makefile
@@ -3,12 +3,12 @@
# Whom: michael johnson <ahze@ahze.net>
#
# $FreeBSD$
-# $MCom: ports/devel/py-xdg/Makefile,v 1.2 2006/09/02 14:38:55 ahze Exp $
+# $MCom: ports/devel/py-xdg/Makefile,v 1.4 2007/09/10 05:35:05 mezz Exp $
#
PORTNAME= xdg
PORTVERSION= 0.15
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= http://www.freedesktop.org/~lanius/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,9 +23,7 @@ PYDISTUTILS_PKGNAME= pyxdg
post-patch:
@${REINPLACE_CMD} -e \
- 's|/etc|${LOCALBASE}/etc|g ; \
- s|%%X11BASE%%|${X11BASE}|g ; \
- s|%%LOCALBASE%%|${LOCALBASE}|g' \
+ 's|/etc|${LOCALBASE}/etc|g ; s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/xdg/BaseDirectory.py \
${WRKSRC}/xdg/IconTheme.py
diff --git a/devel/py-xdg/files/patch-xdg::BaseDirectory.py b/devel/py-xdg/files/patch-xdg::BaseDirectory.py
index 47bd3f33a7ab..77f09b5289aa 100644
--- a/devel/py-xdg/files/patch-xdg::BaseDirectory.py
+++ b/devel/py-xdg/files/patch-xdg::BaseDirectory.py
@@ -5,7 +5,7 @@
xdg_data_dirs = [xdg_data_home] + \
- os.environ.get('XDG_DATA_DIRS', '/usr/local/share:/usr/share').split(':')
-+ os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share/gnome:%%LOCALBASE%%/share:/usr/share').split(':')
++ os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share').split(':')
xdg_config_home = os.environ.get('XDG_CONFIG_HOME',
os.path.join(_home, '.config'))
diff --git a/devel/py-xdg/files/patch-xdg::IconTheme.py b/devel/py-xdg/files/patch-xdg::IconTheme.py
index cc5714b82a78..c7af80928c98 100644
--- a/devel/py-xdg/files/patch-xdg::IconTheme.py
+++ b/devel/py-xdg/files/patch-xdg::IconTheme.py
@@ -1,14 +1,11 @@
---- xdg/IconTheme.py.orig Sun Jun 5 14:20:19 2005
-+++ xdg/IconTheme.py Sun Jun 5 14:21:07 2005
-@@ -215,7 +215,11 @@
+--- xdg/IconTheme.py.orig 2007-09-10 00:33:42.000000000 -0500
++++ xdg/IconTheme.py 2007-09-10 00:34:37.000000000 -0500
+@@ -215,7 +215,8 @@
icondirs = []
for basedir in xdg_data_dirs:
icondirs.append(os.path.join(basedir, "icons"))
-icondirs.append("/usr/share/pixmaps")
-+icondirs.append("%%X11BASE%%/share/pixmaps")
+icondirs.append("%%LOCALBASE%%/share/pixmaps")
-+icondirs.append("%%LOCALBASE%%/share/gnome/pixmaps")
-+icondirs.append("%%X11BASE%%/share/icons")
+icondirs.append("%%LOCALBASE%%/share/icons")
icondirs.append(os.path.expanduser("~/.icons"))