aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey2
diff options
context:
space:
mode:
Diffstat (limited to 'www/seamonkey2')
-rw-r--r--www/seamonkey2/Makefile17
-rw-r--r--www/seamonkey2/distinfo1
2 files changed, 18 insertions, 0 deletions
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 967649fabbac..fd24a542d6a7 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/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/seamonkey2/distinfo b/www/seamonkey2/distinfo
index c5608a35c3ee..96a91cbc4fe9 100644
--- a/www/seamonkey2/distinfo
+++ b/www/seamonkey2/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