aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-04-17 08:02:15 +0800
committerahze <ahze@FreeBSD.org>2006-04-17 08:02:15 +0800
commite1fb4e68899ef1b887c5e7c2ac10776a1d129c10 (patch)
treec95a960d9a2bc13e8c6192e9d37ff71dbd354607 /www/mozilla
parentea059357f6778487d45f4db4180d687923c9dee8 (diff)
downloadfreebsd-ports-gnome-e1fb4e68899ef1b887c5e7c2ac10776a1d129c10.tar.gz
freebsd-ports-gnome-e1fb4e68899ef1b887c5e7c2ac10776a1d129c10.tar.zst
freebsd-ports-gnome-e1fb4e68899ef1b887c5e7c2ac10776a1d129c10.zip
- Add support in bsd.gecko.mk for WITH/USE_GECKO=firefox10
- Only support mozilla and firefox10 on sparc64 & ia64 until we fix - Update pkg-install.in to support firefox10
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common2
-rw-r--r--www/mozilla/bsd.gecko.mk3
-rw-r--r--www/mozilla/pkg-install.in2
3 files changed, 6 insertions, 1 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 02e0b0013222..7114e7a0b88d 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -67,6 +67,7 @@ MAINTAINER?= gnome@FreeBSD.org
MOZILLA?= ${PORTNAME}
MOZILLA_VER?= ${PORTVERSION}
+MOZILLA_BIN?= ${PORTNAME}-bin
MOZ_RPATH?= ${MOZILLA}
USE_GNOME+= gtk20 libidl desktopfileutils
USE_ICONV= yes
@@ -236,6 +237,7 @@ MOZ_SED_ARGS+= -e's|@CPPFLAGS@|${CPPFLAGS}|g' \
-e 's|%%PERL%%|${PERL5}|g' \
-e 's|%%KRB5_HOME%%|${KRB5_HOME}|g' \
-e 's|%%MOZILLA%%|${MOZILLA}|g' \
+ -e 's|%%MOZILLA_BIN%%|${MOZILLA_BIN}|g' \
-e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g'
MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
diff --git a/www/mozilla/bsd.gecko.mk b/www/mozilla/bsd.gecko.mk
index 8f0c690a007b..9467564a514e 100644
--- a/www/mozilla/bsd.gecko.mk
+++ b/www/mozilla/bsd.gecko.mk
@@ -64,8 +64,11 @@ Gecko_Pre_Include= bsd.gecko.mk
# .endif
.if ${OSVERSION} >= 500000
+.if ${ARCH}!="sparc64" || ${ARCH}!="ia64"
_GECKO_ALL= firefox nvu seamonkey sunbird thunderbird xulrunner firefox-devel
.endif
+_GECKO_ALL+= firefox10
+.endif
_GECKO_ALL+= mozilla
sunbird_PORTSDIR= deskutils
diff --git a/www/mozilla/pkg-install.in b/www/mozilla/pkg-install.in
index c6e6737a92cb..c73f5a7e78f5 100644
--- a/www/mozilla/pkg-install.in
+++ b/www/mozilla/pkg-install.in
@@ -14,7 +14,7 @@ PATH=/bin:/usr/bin
[ "x$2" != "xPOST-INSTALL" ] && exit 0
MOZDIR=%%MOZDIR%%
-MOZBIN=${MOZDIR}/%%MOZILLA%%-bin
+MOZBIN=${MOZDIR}/%%MOZILLA_BIN%%
REGXPCOM=${MOZDIR}/regxpcom
REGCHROME=${MOZDIR}/regchrome