summaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-28 15:45:15 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-28 15:45:15 +0800
commit6b0462e1014cf202649b5dabced7badce0da944c (patch)
tree6f35fae3d01f6a0138f81785c98a9fb1c2b6ee62 /www/firefox
parent47a814b27589a0376a8f72fe5b228c3e42d82425 (diff)
downloadmarcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar.gz
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar.bz2
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar.lz
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar.xz
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.tar.zst
marcuscom-ports-6b0462e1014cf202649b5dabced7badce0da944c.zip
- Add support for extended slave ports (xulrunner)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5230 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 1e338a396..d0bd34771 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -3,20 +3,20 @@
# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/firefox/Makefile,v 1.24 2005/11/23 16:10:42 marcus Exp $
+# $MCom: ports/www/firefox/Makefile,v 1.25 2005/11/23 16:13:15 marcus Exp $
#
-PORTNAME= firefox
+PORTNAME?= firefox
DISTVERSION= 1.5rc3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source
-DISTNAME= ${PORTNAME}-${DISTVERSION}-source
+DISTNAME= firefox-${DISTVERSION}-source
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Web browser based on the browser portion of Mozilla
+COMMENT?= Web browser based on the browser portion of Mozilla
USE_X_PREFIX= yes
WANT_GNOME= yes
@@ -30,16 +30,16 @@ USE_GCC= 3.4+
FIREFOX_ICON= ${MOZILLA}.xpm
FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/icons/default.xpm
-MOZ_OPTIONS= --enable-application=browser \
+MOZ_OPTIONS?= --enable-application=browser \
--enable-svg-renderer=cairo \
--enable-system-cairo \
--enable-official-branding \
--enable-canvas
SYSTEM_PREFS= ${FAKEDIR}/lib/${MOZILLA}/defaults/pref/firefox.js
-MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome
+MOZ_PIS_SCRIPTS?= moz_pis_S50cleanhome
-OPTIONS= NEWTAB "Open external links in a new tab" on \
+OPTIONS?= NEWTAB "Open external links in a new tab" on \
SMB "Enable smb:// URI support using gnomevfs" off
.include <bsd.port.pre.mk>
@@ -53,6 +53,7 @@ IGNORE= core dumps on alpha during post-build
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif
+.if !defined(GECKO_SLAVEPORT)
post-extract::
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' \
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
@@ -99,5 +100,6 @@ post-install:
${MKDIR} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default
${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default.xpm
${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/share/pixmaps/${FIREFOX_ICON}
+.endif # if !defined(GECKO_SLAVEPORT)
.include <bsd.port.post.mk>