blob: ab44ddccc319390e8af2f717a01140f5bc253ac2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile-thunderbird.common,v 1.46 2009/06/24 08:45:52 ghen Exp $
# used by mail/thunderbird/Makefile
# used by mail/thunderbird-gtk1/Makefile
MOZILLA_BIN= thunderbird-bin
MOZ_VER= 2.0.0.22
EXTRACT_SUFX= .tar.bz2
DISTNAME= thunderbird-${MOZ_VER}-source
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${MOZ_VER}/source/}
HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/
CONFIGURE_ENV+= MOZ_THUNDERBIRD=1
MAKE_ENV+= MOZ_THUNDERBIRD=1
DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo
PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches
CONFIGURE_ARGS+= --enable-application=mail
CONFIGURE_ARGS+= --enable-debug=-g
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat
USE_DIRS+= xdg-1.4
.PHONY: install-desktop
post-install: install-desktop
install-desktop:
${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
INSTALLATION_DIRS+= share/applications share/pixmaps
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../www/seamonkey/Makefile.common"
|