diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 11:21:48 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 11:21:48 +0800 |
commit | 78528de43298daf57dd78edf92bdf16d3f5c2bbb (patch) | |
tree | 7e4858a66869a1f04f72f771d443782a53b64ddf /x11/gnome-menus | |
parent | e86de175775ca952cf8d092ad3c8216e3fd74dbd (diff) | |
download | marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar.gz marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar.bz2 marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar.lz marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar.xz marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.tar.zst marcuscom-ports-78528de43298daf57dd78edf92bdf16d3f5c2bbb.zip |
Get rid of X11BASE and replace a few to LOCALBASE. I only touch these ports
that are maintaining by gnome@, ports@ and my team ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8939 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus')
-rw-r--r-- | x11/gnome-menus/Makefile | 5 | ||||
-rw-r--r-- | x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile index 9762d6e16..494f5bcf8 100644 --- a/x11/gnome-menus/Makefile +++ b/x11/gnome-menus/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gnome-menus/Makefile,v 1.53 2007/05/13 21:06:26 marcus Exp $ +# $MCom: ports/x11/gnome-menus/Makefile,v 1.54 2007/05/19 21:36:28 marcus Exp $ # PORTNAME= gnome-menus @@ -44,8 +44,7 @@ post-patch: ${WRKSRC}/layout/settings.menu @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory - @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g' \ + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py post-install: diff --git a/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py b/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py index de35a4839..b134a5817 100644 --- a/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py +++ b/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py @@ -14,7 +14,7 @@ data_dirs = os.environ["XDG_DATA_DIRS"] if not data_dirs: - data_dirs = "/usr/local/share/:/usr/share/" -+ data_dirs = "%%LOCALBASE%%/share/:%%X11BASE%%/share/" ++ data_dirs = "%%LOCALBASE%%/share/" for data_dir in data_dirs.split (":"): retval = load_icon_from_path (os.path.join (data_dir, "pixmaps", icon_value)) |