summaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-01-14 22:18:08 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-01-14 22:18:08 +0000
commita4d00ebb66b2229ece0c745d99ec198fb2b26da7 (patch)
tree7f5aea45dbfbc2f2971c9c34d6a69a1a50ce5690 /x11-themes
parentFix pkg-plist after Mono 1.1.12.1 update. (diff)
- Use DESKTOP_ENTRIES
Pointed out by: pav \o/
Notes
Notes: svn path=/head/; revision=153510
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gnome-art/Makefile9
-rw-r--r--x11-themes/gnome-art/files/gnome-art.desktop.in10
-rw-r--r--x11-themes/gnome-art/pkg-plist1
3 files changed, 1 insertions, 19 deletions
diff --git a/x11-themes/gnome-art/Makefile b/x11-themes/gnome-art/Makefile
index bb79ced86df5..46a3971ec9a4 100644
--- a/x11-themes/gnome-art/Makefile
+++ b/x11-themes/gnome-art/Makefile
@@ -21,19 +21,12 @@ USE_RUBY= yes
USE_REINPLACE= yes
USE_RUBY_SETUP= yes
GNOMEART_ICON= ${DATADIR}/glade/pixmaps/gnome-graphics.png
+DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${GNOMEART_ICON}" "${PORTNAME}" "Application;Settings;AdvancedSettings;" true
post-patch:
- @${SED} -e 's|%%COMMENT%%|${COMMENT}|; \
- s|%%GNOMEART_ICON%%|${GNOMEART_ICON}|' \
- < ${FILESDIR}/gnome-art.desktop.in \
- > ${WRKDIR}/gnome-art.desktop
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${WRKSRC}/lib/gnome-art/ui/main_window.rb \
${WRKSRC}/lib/gnome-art/ui/download_dialog.rb
@${FIND} ${WRKSRC} -name '*.bak' -delete
-post-install:
- ${MKDIR} ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKDIR}/gnome-art.desktop ${PREFIX}/share/applications
-
.include <bsd.port.mk>
diff --git a/x11-themes/gnome-art/files/gnome-art.desktop.in b/x11-themes/gnome-art/files/gnome-art.desktop.in
deleted file mode 100644
index 1f2cb75f7c52..000000000000
--- a/x11-themes/gnome-art/files/gnome-art.desktop.in
+++ /dev/null
@@ -1,10 +0,0 @@
-# $FreeBSD
-[Desktop Entry]
-Encoding=UTF-8
-Name=Theme Downloader
-Comment=%%COMMENT%%
-Icon=%%GNOMEART_ICON%%
-Exec=gnome-art
-Terminal=false
-Type=Application
-Categories=Application;Settings;AdvancedSettings;
diff --git a/x11-themes/gnome-art/pkg-plist b/x11-themes/gnome-art/pkg-plist
index 5f962d52da6d..d786436d145b 100644
--- a/x11-themes/gnome-art/pkg-plist
+++ b/x11-themes/gnome-art/pkg-plist
@@ -10,7 +10,6 @@ bin/gnome-art
%%RUBY_SITELIBDIR%%/gnome-art/gnome_art.rb
%%RUBY_SITELIBDIR%%/gnome-art/ui/main_window.rb
%%RUBY_SITELIBDIR%%/gnome-art/ui/download_dialog.rb
-share/applications/gnome-art.desktop
@dirrm %%RUBY_SITELIBDIR%%/gnome-art/ui
@dirrm %%RUBY_SITELIBDIR%%/gnome-art
@dirrm %%DATADIR%%/glade/pixmaps