- install a .desktop file, so that a thunderbird entry will appear in menus
like gnome's. ok ajacoutot@ kurt@
This commit is contained in:
parent
24b15a2066
commit
7a8230d0d9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.65 2008/01/23 16:46:48 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.66 2008/02/04 19:52:25 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
|
||||
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's mail component
|
||||
|
||||
VER= 2.0.0.9
|
||||
DISTNAME= mozilla
|
||||
PKGNAME= mozilla-thunderbird-${VER}p0
|
||||
PKGNAME= mozilla-thunderbird-${VER}p1
|
||||
SO_VERSION= 13.0
|
||||
# NOTE: Must bump minor version if any shlib's are removed from the
|
||||
# components dir to avoid pkg_add -r issues. Whenever PKGNAME gets
|
||||
@ -46,7 +46,8 @@ MASTER_SITES= http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$
|
||||
DISTFILES= thunderbird-${VER}-source.tar.bz2
|
||||
|
||||
MODULES= devel/gettext
|
||||
RUN_DEPENDS= :esound-*:audio/esound
|
||||
RUN_DEPENDS= :esound-*:audio/esound \
|
||||
:desktop-file-utils-*:devel/desktop-file-utils
|
||||
BUILD_DEPENDS= :libIDL-*:devel/libIDL \
|
||||
:zip->=2.3:archivers/zip
|
||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
@ -131,5 +132,9 @@ do-install:
|
||||
ln -f ${MOZ}/thunderbird-bin ${MOZ}/mozilla-thunderbird-bin
|
||||
@sed -e 's,!!PREFIX!!,${TRUEPREFIX},g' \
|
||||
< ${FILESDIR}/README.OpenBSD > ${MOZ}/README.OpenBSD
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
||||
@sed -e 's,!!PREFIX!!,${TRUEPREFIX},g' \
|
||||
< ${FILESDIR}/thunderbird.desktop > \
|
||||
${PREFIX}/share/applications/thunderbird.desktop
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
32
mail/mozilla-thunderbird/files/thunderbird.desktop
Normal file
32
mail/mozilla-thunderbird/files/thunderbird.desktop
Normal file
@ -0,0 +1,32 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Encoding=UTF-8
|
||||
Name=Mozilla Thunderbird Mail/News
|
||||
Comment=Read/Write Mail/News with Mozilla Thunderbird
|
||||
GenericName=Mail Client
|
||||
Exec=thunderbird %u
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=!!PREFIX!!/mozilla-thunderbird/icons/mozicon50.xpm
|
||||
Categories=Application;Network;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png
|
||||
StartupWMClass=Thunderbird-bin
|
||||
StartupNotify=false
|
||||
Name[cs]=Poštovní klient Thunderbird
|
||||
Name[ca]=Client de correu Thunderbird
|
||||
Name[fi]=Thunderbird-sähköposti
|
||||
Name[fr]=Messagerie Thunderbird
|
||||
Name[pl]=Klient poczty Thunderbird
|
||||
Name[pt_BR]=Cliente de E-mail Thunderbird
|
||||
Name[sv]=E-postklienten Thunderbird
|
||||
Comment[ca]=Llegiu i escriviu correu
|
||||
Comment[cs]=Čtení a psaní pošty
|
||||
Comment[de]=Emails lesen und verfassen
|
||||
Comment[fi]=Lue ja kirjoita sähköposteja
|
||||
Comment[fr]=Lire et écrire des courriels
|
||||
Comment[it]=Leggere e scrivere email
|
||||
Comment[ja]=メールの読み書き
|
||||
Comment[pl]=Czytanie i wysyłanie e-maili
|
||||
Comment[pt_BR]=Ler e escrever suas mensagens
|
||||
Comment[sv]=Läs och skriv e-post
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2008/01/23 16:46:48 martynas Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2008/02/04 19:52:26 jasper Exp $
|
||||
%%SHARED%%
|
||||
bin/mozilla-thunderbird
|
||||
bin/thunderbird
|
||||
@ -423,6 +423,9 @@ mozilla-thunderbird/res/viewer.properties
|
||||
mozilla-thunderbird/res/viewsource.css
|
||||
mozilla-thunderbird/run-mozilla.sh
|
||||
mozilla-thunderbird/thunderbird-bin
|
||||
share/applications/thunderbird.desktop
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
||||
@exec rm -rf /tmp/.mozilla
|
||||
@exec cd %D/mozilla-thunderbird && env HOME=/tmp LD_LIBRARY_PATH=%D/mozilla-thunderbird ./regxpcom
|
||||
@exec rm -rf /tmp/.mozilla
|
||||
|
Loading…
x
Reference in New Issue
Block a user