aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey2
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-11-09 07:48:41 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-11-09 07:48:41 +0000
commitcc9c710a2535b2f90ed1b0962e68b42d6cec94cc (patch)
tree8e13a885c44ace8d9f733f8e6155c6c6ad907755 /www/seamonkey2
parentd7b2815e0dedb8517b2ad49e0c5c6804ed1b8a40 (diff)
downloadports-cc9c710a2535b2f90ed1b0962e68b42d6cec94cc.tar.gz
ports-cc9c710a2535b2f90ed1b0962e68b42d6cec94cc.zip
Notes
Diffstat (limited to 'www/seamonkey2')
-rw-r--r--www/seamonkey2/Makefile27
-rw-r--r--www/seamonkey2/pkg-descr6
2 files changed, 23 insertions, 10 deletions
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 7ebf45c5194e..eef3406e3baf 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/Makefile
@@ -7,15 +7,17 @@
PORTNAME?= mozilla
PORTVERSION= 1.8.a4
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH?= 2
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= mozilla/releases/${PORTNAME}${PORTVERSION:S/.a4/a4/}/src \
adamw/:local
-DISTFILES= ${PORTNAME}-source-${PORTVERSION:S/.a4/a4/}${EXTRACT_SUFX} \
- libart_lgpl${EXTRACT_SUFX}:local
+DISTFILES= ${PORTNAME}-source-${PORTVERSION:S/.a4/a4/}${EXTRACT_SUFX}
+.if !defined(WITH_CAIRO_RENDER)
+DISTFILES+= libart_lgpl${EXTRACT_SUFX}:local
+.endif
MAINTAINER= gnome@FreeBSD.org
COMMENT= The open source, standards compliant web browser
@@ -67,7 +69,6 @@ CONFIGURE_ARGS= \
--disable-bidi \
--disable-plaintext-editor-only \
--enable-svg \
- --enable-svg-renderer-libart \
--disable-tests \
--disable-xterm-updates \
--enable-xinerama \
@@ -81,8 +82,7 @@ CONFIGURE_ARGS= \
PLIST= ${WRKDIR}/pkg-plist
MOZ_EXTENSIONS= default
-CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1 \
- LOCALBASE=${LOCALBASE}
+CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
@@ -119,6 +119,18 @@ OPTIONS=XFT "Enable Xft font anti-aliasing" on \
BROKEN= "Does not compile on ia64 or alpha"
.endif
+.if defined(WITH_CAIRO_RENDER)
+LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo
+
+CONFIGURE_ARGS+= --enable-svg-renderer-cairo \
+ --disable-svg-renderer-libart
+CONFIGURE_ENV+= MOZ_SVG_RENDERER_CAIRO=1
+.else
+CONFIGURE_ARGS+= --enable-svg-renderer-libart \
+ --disable-svg-renderer-cairo
+CONFIGURE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1
+.endif
+
.if !defined(WITHOUT_XFT)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+=--enable-xft --disable-freetype2
@@ -187,7 +199,7 @@ FAKEDIR= ${WRKDIR}/fake
CONFIGURE_ARGS+= --enable-reorder
.endif
-.if ${OSVERSION} < 500035
+.if ${OSVERSION} < 500035 && !defined(WITH_CAIRO_RENDER)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-nsSVGLibartGlyphMetricsFT.cpp
.endif
@@ -289,6 +301,7 @@ pre-install:
fi
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
+ @${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:lib/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
diff --git a/www/seamonkey2/pkg-descr b/www/seamonkey2/pkg-descr
index 10b9ea56ea93..04ecd23f9b66 100644
--- a/www/seamonkey2/pkg-descr
+++ b/www/seamonkey2/pkg-descr
@@ -1,10 +1,10 @@
This is the current release of the Mozilla open source web browser. It should
be fully compliant with all W3C standards, including HTML, CSS, XML, XSL,
-JavaScript, MathML, SVG and RDF. This version also supports SSL encryption,
-and Java with the use of the FreeBSD native Java plug-in.
+JavaScript, MathML, SSL encryption, SVG and RDF. Also supports Java with
+the use of the FreeBSD native Java plug-in.
This is the latest bleeding edge release. Beware that you'll probably find
-bugs here, so if you value stability, try www/mozilla or www/mozilla-vendor.
+bugs here, so if you value stability, try www/mozilla.
This version has been built with GTK+-2 bindings for use with applications
such as Galeon 2.