pkgsrc/time/sunbird/Makefile-sunbird.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

35 lines
1.1 KiB
Text

# $NetBSD: Makefile-sunbird.common,v 1.12 2007/12/22 07:22:10 obache Exp $
MOZILLA_BIN= sunbird-bin
MOZ_VER= 0.3.1
EXTRACT_SUFX= .tar.bz2
DISTNAME= sunbird-${MOZ_VER}.source
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_MOZILLA:=calendar/sunbird/releases/${MOZ_VER}/source/}
HOMEPAGE= http://www.mozilla.org/projects/calendar/sunbird/
CONFIGURE_ENV+= MOZ_SUNBIRD=1
MAKE_ENV+= MOZ_SUNBIRD=1
DISTINFO_FILE= ${.CURDIR}/../../time/sunbird/distinfo
PATCHDIR= ${.CURDIR}/../../time/sunbird/patches
CONFIGURE_ARGS+= --enable-application=calendar
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
.include "../../mk/bsd.prefs.mk"
CONFIG_GUESS_OVERRIDE+= */*/*/*/config.guess
CONFIG_SUB_OVERRIDE+= */*/*/*/config.sub
post-install:
cd ${PREFIX}/lib/${MOZILLA} && \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
./${MOZILLA_BIN} -register
.include "../../www/seamonkey/Makefile.common"