diff options
author | beat <beat@FreeBSD.org> | 2009-12-19 06:23:57 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2009-12-19 06:23:57 +0800 |
commit | c3f7a62e7b8f2eb1aa5b67b74a5f18349c02d6b9 (patch) | |
tree | 0d6693d08150492f97f9d62f8935fecf148267b6 /mail | |
parent | 6adf29858efb92fbd8d3a23539de8a11db03caef (diff) | |
download | freebsd-ports-gnome-c3f7a62e7b8f2eb1aa5b67b74a5f18349c02d6b9.tar.gz freebsd-ports-gnome-c3f7a62e7b8f2eb1aa5b67b74a5f18349c02d6b9.tar.zst freebsd-ports-gnome-c3f7a62e7b8f2eb1aa5b67b74a5f18349c02d6b9.zip |
- Fix installation of desktop icon
- Bump PORTREVISION
Reported by: Guoqin Ren on forums.freebsd.org
Submitted by: Yuri Pankov via forums.freebsd.org / IRC
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird3/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/thunderbird3/Makefile b/mail/thunderbird3/Makefile index 459680c9c677..151143fe9a6a 100644 --- a/mail/thunderbird3/Makefile +++ b/mail/thunderbird3/Makefile @@ -7,6 +7,7 @@ PORTNAME= thunderbird DISTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source/ @@ -45,7 +46,8 @@ MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZILLA_PLIST_DIRS= bin lib MOZ_PKGCONFIG_FILES= -PORTNAME_ICON= ${PREFIX}/lib/${PORTNAME}/icons/default.xpm +PORTNAME_ICON= ${PORTNAME}.png +PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION}/defaults/pref/${PORTNAME}.js MOZ_PIS_SCRIPTS=moz_pis_S50cleanhome @@ -80,8 +82,7 @@ LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib .endif post-extract:: - ${SED} -e 's|@MOZILLA_ICON@|${MOZILLA_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ - -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ + ${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${LN} -s ${WRKSRC}/mail ${WRKSRC}/mozilla/mail @@ -112,10 +113,12 @@ port-pre-install: pre-install: @${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST} + @${ECHO_CMD} 'share/pixmaps/${PORTNAME_ICON}' >> ${PLIST} @${ECHO_CMD} '@dirrmtry share/applications' >> ${PLIST} post-install: ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${PREFIX}/share/applications + ${LN} -sf ${PORTNAME_ICON_SRC} ${PREFIX}/share/pixmaps/${PORTNAME_ICON} .include <bsd.port.post.mk> |