Make sure to merge the KDE applnk directory (if it exists) into the list

of application directories.
This commit is contained in:
Joe Marcus Clarke 2003-10-18 23:15:49 +00:00
parent 2488cda074
commit 098bcaec91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91605
4 changed files with 28 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.4.1
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.4
@ -50,7 +51,8 @@ post-patch:
@${FIND} ${WRKSRC} -name "*info.in" | xargs ${REINPLACE_CMD} -e \
's|\@datadir\@/gnome|\@datadir\@|g'
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/libgnomevfs/Makefile.in
${WRKSRC}/libgnomevfs/Makefile.in \
${WRKSRC}/modules/vfolder/applications-all-users.vfolder-info.in
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \
${WRKSRC}/Makefile.in

View File

@ -0,0 +1,11 @@
--- modules/vfolder/applications-all-users.vfolder-info.in.orig Sat Oct 18 19:04:37 2003
+++ modules/vfolder/applications-all-users.vfolder-info.in Sat Oct 18 19:05:18 2003
@@ -19,7 +19,7 @@
<MergeDir>/usr/share/gnome/apps/</MergeDir>
<!-- Merge dirs optional -->
- <MergeDir>/etc/X11/applnk/</MergeDir>
+ <MergeDir>%%LOCALBASE%%/share/applnk/</MergeDir>
<!-- Root folder -->
<Folder>

View File

@ -7,6 +7,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.4.1
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.4
@ -50,7 +51,8 @@ post-patch:
@${FIND} ${WRKSRC} -name "*info.in" | xargs ${REINPLACE_CMD} -e \
's|\@datadir\@/gnome|\@datadir\@|g'
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/libgnomevfs/Makefile.in
${WRKSRC}/libgnomevfs/Makefile.in \
${WRKSRC}/modules/vfolder/applications-all-users.vfolder-info.in
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \
${WRKSRC}/Makefile.in

View File

@ -0,0 +1,11 @@
--- modules/vfolder/applications-all-users.vfolder-info.in.orig Sat Oct 18 19:04:37 2003
+++ modules/vfolder/applications-all-users.vfolder-info.in Sat Oct 18 19:05:18 2003
@@ -19,7 +19,7 @@
<MergeDir>/usr/share/gnome/apps/</MergeDir>
<!-- Merge dirs optional -->
- <MergeDir>/etc/X11/applnk/</MergeDir>
+ <MergeDir>%%LOCALBASE%%/share/applnk/</MergeDir>
<!-- Root folder -->
<Folder>