summaryrefslogtreecommitdiff
path: root/mail/thunderbird
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-03-18 00:08:39 +0000
committerabs <abs@pkgsrc.org>2009-03-18 00:08:39 +0000
commit97df00a91accf5e10af8a2be708f9290144dc905 (patch)
tree1f70d8c7e90fb7c96ad2b0a730d7921803ac8bf2 /mail/thunderbird
parent0aee2b7d675989153742693e41cdd3f21580cad6 (diff)
downloadpkgsrc-97df00a91accf5e10af8a2be708f9290144dc905.tar.gz
Unify all the mozilla projects into using a single Makefile.common and
INSTALL, and put it in seamonkey. Ensure all build with USE_DESTDIR. Bump PKGREVISIONs
Diffstat (limited to 'mail/thunderbird')
-rw-r--r--mail/thunderbird/Makefile4
-rw-r--r--mail/thunderbird/Makefile-thunderbird.common17
2 files changed, 8 insertions, 13 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index b49f47dad1e..8464a5353de 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2009/01/07 14:23:03 ghen Exp $
+# $NetBSD: Makefile,v 1.34 2009/03/18 00:08:39 abs Exp $
MOZILLA= thunderbird
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Mozilla mail client
MOZILLA_USE_GTK2= # yes
diff --git a/mail/thunderbird/Makefile-thunderbird.common b/mail/thunderbird/Makefile-thunderbird.common
index 2342fe34f5e..adc7c769fc7 100644
--- a/mail/thunderbird/Makefile-thunderbird.common
+++ b/mail/thunderbird/Makefile-thunderbird.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-thunderbird.common,v 1.42 2009/01/07 14:23:03 ghen Exp $
+# $NetBSD: Makefile-thunderbird.common,v 1.43 2009/03/18 00:08:39 abs Exp $
# used by mail/thunderbird/Makefile
# used by mail/thunderbird-gtk1/Makefile
@@ -19,18 +19,16 @@ PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches
CONFIGURE_ARGS+= --enable-application=mail
CONFIGURE_ARGS+= --enable-debug=-g
-CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no
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
-INSTALL_TEMPLATES+= ${.CURDIR}/../../mail/thunderbird/INSTALL
-
USE_DIRS+= xdg-1.4
-post-install:
- ${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \;
+.PHONY: install-desktop
+post-install: install-desktop
+install-desktop:
${SED} \
-e 's|@MOZILLA@|${MOZILLA}|g' \
-e 's|@MOZILLA_NAME@|Thunderbird|g' \
@@ -42,10 +40,7 @@ post-install:
${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"
-
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
-CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0
-.endif
+INSTALLATION_DIRS+= share/applications share/pixmaps
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../www/seamonkey/Makefile.common"