pkgsrc/time/sunbird/Makefile-sunbird.common
2006-06-27 11:11:52 +00:00

36 lines
1.3 KiB
Text

# $NetBSD: Makefile-sunbird.common,v 1.6 2006/06/27 11:11:52 joerg Exp $
MOZILLA_BIN= sunbird-bin
MOZ_VER= 0.3alpha2
EXTRACT_SUFX= .tar.bz2
DISTNAME= sunbird-${MOZ_VER:S/alpha/a/}-source
CATEGORIES= time
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${MOZ_VER:S/alpha/a/}/source/
MASTER_SITES+= ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${MOZ_VER:S/alpha/a/}/source/
HOMEPAGE= http://www.mozilla.org/projects/calendar/sunbird.html
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/mozilla/Makefile.common"