diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-04-02 16:45:36 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-04-02 16:45:36 +0000 |
commit | 2a1b673cbb5485aa7144c25ec3243f27ec824bd7 (patch) | |
tree | 2b8113374ea552edb3cb3f0b907ce0515ce676e7 | |
parent | - Add a new knob, WITHOUT_AVIFILE, to disable multimedia/avifile support to (diff) |
- Update to 0.9
- Add patch work to add path to xdg stuff [1]
Requested by: mezz and marcus for a gnome menu editor [1]
Notes
Notes:
svn path=/head/; revision=132215
-rw-r--r-- | devel/py-xdg/Makefile | 16 | ||||
-rw-r--r-- | devel/py-xdg/distinfo | 4 | ||||
-rw-r--r-- | devel/py-xdg/files/patch-xdg::BaseDirectory.py | 11 |
3 files changed, 21 insertions, 10 deletions
diff --git a/devel/py-xdg/Makefile b/devel/py-xdg/Makefile index a9da38d00ebe..4e95a89d76a0 100644 --- a/devel/py-xdg/Makefile +++ b/devel/py-xdg/Makefile @@ -6,10 +6,9 @@ # PORTNAME= xdg -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= devel python -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= ahze +MASTER_SITES= http://www.freedesktop.org/~lanius/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} @@ -21,10 +20,11 @@ USE_PYDISTUTILS=yes USE_REINPLACE= yes post-patch: - @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g ; \ - s|/usr/share|/usr/share:${X11BASE}/share|g' \ - ${WRKSRC}/xdg/BaseDirectory.py - @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/xdg/IconTheme.py + @${REINPLACE_CMD} -e \ + 's|/etc|${PREFIX}/etc|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/xdg/BaseDirectory.py \ + ${WRKSRC}/xdg/IconTheme.py .include <bsd.port.mk> diff --git a/devel/py-xdg/distinfo b/devel/py-xdg/distinfo index f938448adfac..dafb2d14cb6a 100644 --- a/devel/py-xdg/distinfo +++ b/devel/py-xdg/distinfo @@ -1,2 +1,2 @@ -MD5 (pyxdg-0.8.tar.gz) = df9757f63f140165df9549e40bea419e -SIZE (pyxdg-0.8.tar.gz) = 25666 +MD5 (pyxdg-0.9.tar.gz) = b05f9f5e2e43fa207804ad56e0df62d0 +SIZE (pyxdg-0.9.tar.gz) = 25804 diff --git a/devel/py-xdg/files/patch-xdg::BaseDirectory.py b/devel/py-xdg/files/patch-xdg::BaseDirectory.py new file mode 100644 index 000000000000..52e303d8124c --- /dev/null +++ b/devel/py-xdg/files/patch-xdg::BaseDirectory.py @@ -0,0 +1,11 @@ +--- xdg/BaseDirectory.py.orig Wed Mar 23 00:08:43 2005 ++++ xdg/BaseDirectory.py Wed Mar 23 00:09:35 2005 +@@ -33,7 +33,7 @@ + os.path.join(_home, '.local', 'share')) + + xdg_data_dirs = [xdg_data_home] + \ +- os.environ.get('XDG_DATA_DIRS', '/usr/local/share:/usr/share').split(':') ++ os.environ.get('XDG_DATA_DIRS', '%%X11BASE%%/share/gnome:%%X11BASE%%/share:%%LOCALBASE%%/share:/usr/share').split(':') + + xdg_config_home = os.environ.get('XDG_CONFIG_HOME', + os.path.join(_home, '.config')) |