summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-01 23:20:29 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-01 23:20:29 +0800
commite775f5873805ad41dc3c00c42e7d1e23954d7509 (patch)
tree7f3669392645c9a53636c34bb48a8bf9a70e793a /x11/gnome-menus/Makefile
parent8076aaa1f94728b48b79500dfb0a10b6a04ea576 (diff)
downloadmarcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar.gz
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar.bz2
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar.lz
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar.xz
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.tar.zst
marcuscom-ports-e775f5873805ad41dc3c00c42e7d1e23954d7509.zip
- Rename applications.menu -> gnome.applications.menu
- dirrmtry xdg dirs since kde uses them also git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7177 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus/Makefile')
-rw-r--r--x11/gnome-menus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
index fd8c6a3f4..ed760a59a 100644
--- a/x11/gnome-menus/Makefile
+++ b/x11/gnome-menus/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnome-menus/Makefile,v 1.34 2006/07/27 15:43:31 marcus Exp $
+# $MCom: ports/x11/gnome-menus/Makefile,v 1.35 2006/08/08 01:28:34 ahze Exp $
#
PORTNAME= gnome-menus
PORTVERSION= 2.15.91
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -34,6 +35,10 @@ USE_FAM= yes
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|applications.menu||' \
+ ${WRKSRC}/layout/Makefile.in
+ @${REINPLACE_CMD} -e 's|applications.menu|gnome.applications.menu|' \
+ ${WRKSRC}/util/test-menu-spec.c
@${REINPLACE_CMD} -e 's|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \
${WRKSRC}/layout/applications.menu \
${WRKSRC}/layout/settings.menu
@@ -45,6 +50,7 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/share/gnome/desktop-directories
+ @${INSTALL_DATA} ${WRKSRC}/layout/applications.menu ${PREFIX}/etc/xdg/menus/gnome.applications.menu
@${INSTALL_DATA} ${WRKSRC}/KDE.directory ${PREFIX}/share/gnome/desktop-directories
.include <bsd.port.post.mk>