summaryrefslogtreecommitdiff
path: root/www/mozilla-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-11-11 03:31:22 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-11-11 03:31:22 +0000
commit329d049a8d823f9beec2ccc2825003ee8524d179 (patch)
treef9517466b7cf0fbb52a348eeee24c64ed0c435d9 /www/mozilla-devel
parentUpgrade to 2.5.13. (diff)
Add calendar support to Mozilla. Specify -DWITH_CALENDAR to enable
it. PR: 45145 Submitted by: Joe Kelsey <joek@zircon.staff.flyingcroc.net>
Notes
Notes: svn path=/head/; revision=69870
Diffstat (limited to 'www/mozilla-devel')
-rw-r--r--www/mozilla-devel/Makefile17
-rw-r--r--www/mozilla-devel/distinfo1
2 files changed, 18 insertions, 0 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 967649fabbac..fd24a542d6a7 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -44,6 +44,11 @@ LIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
USE_GNOME= gtk12
.endif
+.if defined(WITH_CALENDAR)
+DISTFILES+= ${PORTNAME}-calendar-${PORTVERSION}${EXTRACT_SUFX}:local
+LIB_DEPENDS+= ical.0:${PORTSDIR}/devel/libical
+.endif
+
LATEST_LINK= mozilla-devel
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
--exclude */macbuild/*\
@@ -103,6 +108,11 @@ CONFIGURE_ARGS+= --enable-extensions=default,xmlterm
.endif
CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1
+.if defined(WITH_CALENDAR)
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --enable-calendar
+.endif
+
.if defined(WITHOUT_COMPOSER)
CONFIGURE_ARGS+= --disable-composer
.endif
@@ -136,6 +146,13 @@ BROKEN= "core dumps on alpha during post-build"
BROKEN="You must upgrade your freetype port to 1.3.1_2 or higher before installing Mozilla. If you have 1.3.1_2 installed, please remove ${LOCALBASE}/include/freetype, then build Mozilla"
.endif
+pre-everything::
+.if defined(WITH_CALENDAR)
+ @${ECHO_MSG} "Calendar is still beta software."
+ @${ECHO_MSG} "Use at your own risk."
+ @${ECHO_MSG} "http://mozilla.org/projects/calendar/"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
diff --git a/www/mozilla-devel/distinfo b/www/mozilla-devel/distinfo
index c5608a35c3ee..96a91cbc4fe9 100644
--- a/www/mozilla-devel/distinfo
+++ b/www/mozilla-devel/distinfo
@@ -1,2 +1,3 @@
MD5 (mozilla-source-1.2b.tar.gz) = 7c6d4f26b3bbd8d5cdb9b003be4e3572
MD5 (libart_lgpl-1.2b.tar.gz) = db14696f2bf83333f2020fa87fbe630c
+MD5 (mozilla-calendar-1.2b.tar.gz) = d5b0d73cb1ec61151753c80512ccf1cb