Do install the desktop file but do not display it in the menu.
This commit is contained in:
parent
98c6bef38a
commit
28faf279d9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2011/07/23 08:08:16 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2011/07/25 10:26:38 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -8,7 +8,7 @@ GNOME_PROJECT= evolution-rss
|
||||
GNOME_VERSION= 0.2.90-20110621
|
||||
PKGNAME= evolution-rss-${GNOME_VERSION:S/-/./}
|
||||
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
|
||||
CATEGORIES= mail
|
||||
|
||||
@ -52,6 +52,7 @@ MODULES= devel/gettext \
|
||||
LIB_DEPENDS= devel/libsoup,-gnome \
|
||||
mail/evolution,-main>=3.0.2
|
||||
|
||||
DESKTOP_FILES= Yes
|
||||
MODGCONF2_SCHEMAS_DIR= evolution-rss
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
@ -93,8 +94,9 @@ pre-configure:
|
||||
# applications -- unfortunately, setting NoDisplay= or ShowOnlyIn= will
|
||||
# make applications ignore it, but we don't want evolution-import-rss to
|
||||
# appear in the menu since it takes an argument which we have no way to
|
||||
# give -- so remove the file for now.
|
||||
# give -- so add NoDisplay anyway.
|
||||
post-install:
|
||||
rm ${PREFIX}/share/applications/evolution-rss.desktop
|
||||
echo 'NoDisplay=true' >> \
|
||||
${PREFIX}/share/applications/evolution-rss.desktop
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/07/14 13:42:05 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/07/25 10:26:38 ajacoutot Exp $
|
||||
@pkgpath mail/evolution-plugin-rss
|
||||
@bin bin/evolution-import-rss
|
||||
@comment lib/evolution/${EVO_VERSION}/plugins/liborg-gnome-evolution-rss.a
|
||||
@ -6,6 +6,7 @@
|
||||
lib/evolution/${EVO_VERSION}/plugins/liborg-gnome-evolution-rss.so
|
||||
lib/evolution/${EVO_VERSION}/plugins/org-gnome-evolution-rss.eplug
|
||||
lib/evolution/${EVO_VERSION}/plugins/org-gnome-evolution-rss.xml
|
||||
share/applications/evolution-rss.desktop
|
||||
share/evolution/${EVO_VERSION}/errors/org-gnome-evolution-rss.error
|
||||
share/evolution/${EVO_VERSION}/images/pix.png
|
||||
share/evolution/${EVO_VERSION}/images/rss-16.png
|
||||
@ -55,3 +56,5 @@ share/locale/zh_CN/LC_MESSAGES/evolution-rss.mo
|
||||
${SCHEMAS_INSTDIR}/
|
||||
${SCHEMAS_INSTDIR}/evolution-rss.schemas
|
||||
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user