summaryrefslogtreecommitdiff
path: root/time/sunbird/Makefile-sunbird.common
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-02-05 21:56:20 +0000
committerghen <ghen@pkgsrc.org>2006-02-05 21:56:20 +0000
commitda14c0cfbfacdb81d5e03a838bba26224324f01d (patch)
tree53bbeed220ca533c94e28557bd2cfc00a116b3f8 /time/sunbird/Makefile-sunbird.common
parent9e23f2f50e9ed13c39406f33bb7d6387e4dee4ac (diff)
downloadpkgsrc-da14c0cfbfacdb81d5e03a838bba26224324f01d.tar.gz
Import Mozilla Sunbird, a stand-alone Calendar application:
The Sunbird Project is a redesign of the Calendar component. The goal is to produce a cross platform standalone calendar application based on Mozilla's XUL user interface language. At the moment the Sunbird name is a project name. It is not official and may change in the future. The intended user is someone who uses Mozilla Firefox and Mozilla Thunderbird and wants a calendar application based on Mozilla. Ok with wiz. I'll add a -gtk1 version later this week.
Diffstat (limited to 'time/sunbird/Makefile-sunbird.common')
-rw-r--r--time/sunbird/Makefile-sunbird.common32
1 files changed, 32 insertions, 0 deletions
diff --git a/time/sunbird/Makefile-sunbird.common b/time/sunbird/Makefile-sunbird.common
new file mode 100644
index 00000000000..277a52a4e57
--- /dev/null
+++ b/time/sunbird/Makefile-sunbird.common
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile-sunbird.common,v 1.1.1.1 2006/02/05 21:56:20 ghen Exp $
+
+MOZILLA_BIN= sunbird-bin
+MOZ_VER= 0.3a1
+EXTRACT_SUFX= .tar.bz2
+DISTNAME= ${MOZILLA}-${MOZ_VER}-source
+CATEGORIES= time
+MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/sunbird/new-directory/releases/${MOZ_VER}/source/
+MASTER_SITES+= ftp://ftp.mozilla.org/pub/mozilla.org/sunbird/new-directory/releases/${MOZ_VER}/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
+
+pre-install:
+ ${CP} -r ${WRKSRC}/dist/bin/defaults/profile/extensions \
+ ${WRKSRC}/dist/bin
+ ${MV} ${WRKSRC}/dist/bin/extensions/installed-extensions.txt \
+ ${WRKSRC}/dist/bin/extensions/installed-extensions-processed.txt
+
+post-install:
+ cd ${PREFIX}/lib/${MOZILLA} && \
+ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
+ ./${MOZILLA_BIN} -register
+
+.include "../../www/mozilla/Makefile.common"