diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-12-21 17:04:40 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-12-21 17:04:40 +0000 |
commit | 68263e6a0239136db022920efc7fdefc8c8c6a05 (patch) | |
tree | 7fc0c4dd561b7fc48a8f5116fa4a4aaf0f4af956 /mail | |
parent | d21d99ef08d3d5bcfe9bbf8f5c3fb1fdea59f5e8 (diff) | |
download | pkgsrc-68263e6a0239136db022920efc7fdefc8c8c6a05.tar.gz |
Add .desktop file for GNOME/KDE/Xfce integration, bump PKGREVISION.
ok wiz@
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird-gtk1/Makefile | 3 | ||||
-rw-r--r-- | mail/thunderbird-gtk1/PLIST | 4 | ||||
-rw-r--r-- | mail/thunderbird/Makefile | 3 | ||||
-rw-r--r-- | mail/thunderbird/Makefile-thunderbird.common | 12 | ||||
-rw-r--r-- | mail/thunderbird/PLIST | 4 | ||||
-rw-r--r-- | mail/thunderbird/files/thunderbird.desktop.in | 11 |
6 files changed, 32 insertions, 5 deletions
diff --git a/mail/thunderbird-gtk1/Makefile b/mail/thunderbird-gtk1/Makefile index 7938faa216d..4cb7afb64f6 100644 --- a/mail/thunderbird-gtk1/Makefile +++ b/mail/thunderbird-gtk1/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2008/05/20 11:52:50 ghen Exp $ +# $NetBSD: Makefile,v 1.18 2008/12/21 17:05:29 jmcneill Exp $ MOZILLA= thunderbird-gtk1 +PKGREVISION= 1 COMMENT= Mozilla mail client using the older GTK1 toolkit diff --git a/mail/thunderbird-gtk1/PLIST b/mail/thunderbird-gtk1/PLIST index 81b78b99917..6963039aadf 100644 --- a/mail/thunderbird-gtk1/PLIST +++ b/mail/thunderbird-gtk1/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2008/08/22 09:42:15 ghen Exp $ +@comment $NetBSD: PLIST,v 1.15 2008/12/21 17:05:29 jmcneill Exp $ bin/${MOZILLA} @comment begin PROGRAMS lib/${MOZILLA}/${MOZILLA_BIN} @@ -2837,6 +2837,8 @@ include/${MOZILLA}/nss/sslproto.h include/${MOZILLA}/nss/sslt.h include/${MOZILLA}/nss/watcomfx.h @comment end INCLUDE-PUBLIC +share/applications/${MOZILLA}.desktop +share/pixmaps/${MOZILLA}.xpm @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom @unexec ${RM} -f %D/lib/${MOZILLA}/chrome/app-chrome.manifest @unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index 0bfea39c0b4..05c656b3469 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2007/11/15 15:05:22 tron Exp $ +# $NetBSD: Makefile,v 1.31 2008/12/21 17:04:40 jmcneill Exp $ MOZILLA= thunderbird +PKGREVISION= 1 COMMENT= Mozilla mail client MOZILLA_USE_GTK2= # yes diff --git a/mail/thunderbird/Makefile-thunderbird.common b/mail/thunderbird/Makefile-thunderbird.common index 5befaddbdbb..ac3a0ae78bc 100644 --- a/mail/thunderbird/Makefile-thunderbird.common +++ b/mail/thunderbird/Makefile-thunderbird.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile-thunderbird.common,v 1.39 2008/12/19 07:59:26 roy Exp $ +# $NetBSD: Makefile-thunderbird.common,v 1.40 2008/12/21 17:04:40 jmcneill Exp $ # used by mail/thunderbird/Makefile # used by mail/thunderbird-gtk1/Makefile @@ -29,6 +29,16 @@ INSTALL_TEMPLATES+= ${.CURDIR}/../../mail/thunderbird/INSTALL post-install: ${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \; + ${SED} \ + -e 's|@MOZILLA@|${MOZILLA}|g' \ + -e 's|@MOZILLA_NAME@|Thunderbird|g' \ + -e 's|@MOZILLA_ICON@|${MOZILLA}.xpm|g' \ + < ${.CURDIR}/../../mail/thunderbird/files/thunderbird.desktop.in \ + > ${WRKDIR}/${MOZILLA}.desktop + ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop \ + ${DESTDIR:Q}${PREFIX:Q}/share/applications/${MOZILLA}.desktop + ${LN} -sf ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/chrome/icons/default/default.xpm \ + ${DESTDIR:Q}${PREFIX:Q}/share/pixmaps/${MOZILLA}.xpm .include "../../mk/bsd.fast.prefs.mk" diff --git a/mail/thunderbird/PLIST b/mail/thunderbird/PLIST index f3c4f8bb2de..0f621ada9c6 100644 --- a/mail/thunderbird/PLIST +++ b/mail/thunderbird/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.24 2008/08/22 09:42:15 ghen Exp $ +@comment $NetBSD: PLIST,v 1.25 2008/12/21 17:04:40 jmcneill Exp $ bin/${MOZILLA} @comment begin PROGRAMS lib/${MOZILLA}/${MOZILLA_BIN} @@ -2847,6 +2847,8 @@ include/${MOZILLA}/nss/sslproto.h include/${MOZILLA}/nss/sslt.h include/${MOZILLA}/nss/watcomfx.h @comment end INCLUDE-PUBLIC +share/applications/${MOZILLA}.desktop +share/pixmaps/${MOZILLA}.xpm @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA}:%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom @unexec ${RM} -f %D/lib/${MOZILLA}/chrome/app-chrome.manifest @unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat diff --git a/mail/thunderbird/files/thunderbird.desktop.in b/mail/thunderbird/files/thunderbird.desktop.in new file mode 100644 index 00000000000..4b327acadac --- /dev/null +++ b/mail/thunderbird/files/thunderbird.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=@MOZILLA_NAME@ +GenericName=Mail Client +Comment=Mail client and News Reader +Exec=@MOZILLA@ %U +Icon=@MOZILLA_ICON@ +StartupNotify=false +Terminal=false +Type=Application +Categories=Application;Network; |