pkgsrc/mail/thunderbird/Makefile-thunderbird.common
obache 6456ebb5c8 Change MOZILLA master sites difinitions, related to PR 37379.
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html)
 * mozilla-current
        contains only the current version of Firefox and Thunderbird
 * mozilla-release
        contains Firefox, Thunderbird, and Sunbird releases
 * mozilla-all
        complete archive

Define following variables for mozilla master sites:
        MASTER_SITE_MOZILLA_ALL = mozilla-all
        MASTER_SITE_MOZILLA     = mozilla-release
and change some packages to use appropriate variable.

Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
2007-12-22 07:22:04 +00:00

38 lines
1.3 KiB
Text

# $NetBSD: Makefile-thunderbird.common,v 1.32 2007/12/22 07:22:09 obache Exp $
MOZILLA_BIN= thunderbird-bin
MOZ_VER= 2.0.0.9
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
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
post-install:
cd ${PREFIX}/lib/${MOZILLA} && \
${SETENV} LD_LIBRARY_PATH=.:${PREFIX}/lib MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
./${MOZILLA_BIN} -register
${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \;
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0
.endif
.include "../../www/seamonkey/Makefile.common"