aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-11 11:31:22 +0800
committermarcus <marcus@FreeBSD.org>2002-11-11 11:31:22 +0800
commit2b279bad87fdd9aeeaacb88fa340cfbb0e066344 (patch)
treee220c5e3fce1ba08e05fae7e7fe3f040df6712ae /www
parent9eb5f12f4a02b2436f2c566018c8ab0875e5e7a3 (diff)
downloadfreebsd-ports-gnome-2b279bad87fdd9aeeaacb88fa340cfbb0e066344.tar.gz
freebsd-ports-gnome-2b279bad87fdd9aeeaacb88fa340cfbb0e066344.tar.zst
freebsd-ports-gnome-2b279bad87fdd9aeeaacb88fa340cfbb0e066344.zip
Add calendar support to Mozilla. Specify -DWITH_CALENDAR to enable
it. PR: 45145 Submitted by: Joe Kelsey <joek@zircon.staff.flyingcroc.net>
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-devel/Makefile17
-rw-r--r--www/mozilla-devel/distinfo1
-rw-r--r--www/seamonkey/Makefile17
-rw-r--r--www/seamonkey/distinfo1
-rw-r--r--www/seamonkey2/Makefile17
-rw-r--r--www/seamonkey2/distinfo1
6 files changed, 54 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
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 967649fabbac..fd24a542d6a7 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/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/seamonkey/distinfo b/www/seamonkey/distinfo
index c5608a35c3ee..96a91cbc4fe9 100644
--- a/www/seamonkey/distinfo
+++ b/www/seamonkey/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
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