2004-02-11 07:16:17 +00:00
|
|
|
# New ports collection makefile for: phoenix
|
|
|
|
# Date created: 2002/10/21
|
|
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
2002-10-21 08:54:27 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2008-02-28 04:39:23 +00:00
|
|
|
# $MCom: ports/www/firefox/Makefile,v 1.43 2008/02/09 16:38:43 marcus Exp $
|
2007-01-18 22:37:11 +00:00
|
|
|
#
|
2002-10-21 08:54:27 +00:00
|
|
|
|
2004-02-11 07:16:17 +00:00
|
|
|
PORTNAME= firefox
|
2008-04-23 05:45:51 +00:00
|
|
|
DISTVERSION= 2.0.0.14
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2004-10-28 21:37:53 +00:00
|
|
|
PORTEPOCH= 1
|
2006-12-22 02:04:05 +00:00
|
|
|
CATEGORIES= www ipv6
|
2006-11-10 07:03:50 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source
|
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
|
2002-10-21 08:54:27 +00:00
|
|
|
|
2003-06-02 18:30:59 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-10-18 21:45:26 +00:00
|
|
|
COMMENT= Web browser based on the browser portion of Mozilla
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2006-11-10 07:03:50 +00:00
|
|
|
BUILD_DEPENDS= nss>=3.11.2:${PORTSDIR}/security/nss
|
|
|
|
|
|
|
|
MOZILLA_NAME= Firefox
|
|
|
|
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
WANT_GNOME= yes
|
2003-10-18 21:45:26 +00:00
|
|
|
ALL_TARGET= default
|
2004-06-16 00:10:12 +00:00
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
|
2006-11-10 07:03:50 +00:00
|
|
|
EXTRA_CFLAGS= -O2
|
2004-02-11 07:16:17 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2003-06-02 18:30:59 +00:00
|
|
|
USE_GMAKE= yes
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
USE_GCC= 3.4+
|
2007-10-07 05:45:04 +00:00
|
|
|
WANT_PERL= yes
|
2005-12-04 22:05:43 +00:00
|
|
|
GECKO_PLIST_PRE_FILES= lib/${MOZILLA}/chrome/icons/default/default.xpm
|
|
|
|
GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/chrome/icons/default lib/${MOZILLA}/chrome/icons
|
|
|
|
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
FIREFOX_ICON= ${MOZILLA}.xpm
|
|
|
|
FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/icons/default.xpm
|
2008-02-28 04:39:23 +00:00
|
|
|
MOZ_OPTIONS= --program-transform-name='s/firefox/${MOZILLA}/' \
|
|
|
|
--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
|
|
|
|
--enable-application=browser \
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
--enable-system-cairo \
|
|
|
|
--enable-official-branding \
|
2006-11-10 07:03:50 +00:00
|
|
|
--enable-canvas \
|
|
|
|
--with-system-nss
|
2004-02-11 07:31:45 +00:00
|
|
|
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
SYSTEM_PREFS= ${FAKEDIR}/lib/${MOZILLA}/defaults/pref/firefox.js
|
|
|
|
MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome
|
2005-02-25 07:51:58 +00:00
|
|
|
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
OPTIONS= NEWTAB "Open external links in a new tab" on \
|
|
|
|
SMB "Enable smb:// URI support using gnomevfs" off
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2002-10-21 08:54:27 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-12-18 05:02:34 +00:00
|
|
|
|
2006-12-16 07:19:15 +00:00
|
|
|
GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
|
2006-11-06 02:58:45 +00:00
|
|
|
|
2007-01-18 21:39:39 +00:00
|
|
|
.if ${ARCH} == "sparc64" && ${OSVERSION} < 601101
|
|
|
|
IGNORE= does not run, update to 6.2-RELEASE or newer
|
|
|
|
.endif
|
|
|
|
|
2005-12-15 17:11:32 +00:00
|
|
|
.if ${OSVERSION} >= 600000
|
2005-12-02 05:44:22 +00:00
|
|
|
MOZ_OPTIONS+= --enable-svg --enable-svg-renderer=cairo
|
|
|
|
.endif
|
|
|
|
|
2002-11-07 17:56:33 +00:00
|
|
|
post-extract::
|
2006-11-10 07:03:50 +00:00
|
|
|
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \
|
|
|
|
-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2003-06-02 18:30:59 +00:00
|
|
|
post-patch:
|
2006-11-27 17:08:25 +00:00
|
|
|
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
|
2006-11-10 07:03:50 +00:00
|
|
|
${WRKSRC}/storage/build/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
|
|
${WRKSRC}/security/manager/ssl/src/Makefile.in
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
.for ii in modules/libpref/src/init extensions/sroaming/resources/content/prefs \
|
|
|
|
embedding/minimo
|
|
|
|
@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
|
|
|
|
/dom.disable_window_open_feature.toolbar/s/false/true/' \
|
|
|
|
${WRKSRC}/${ii}/all.js
|
2005-02-25 07:51:58 +00:00
|
|
|
.endfor
|
2004-03-19 03:14:55 +00:00
|
|
|
|
2002-12-10 08:57:05 +00:00
|
|
|
pre-install:
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLIST}
|
2005-12-04 22:05:43 +00:00
|
|
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
${ECHO_CMD} 'share/pixmaps/${FIREFOX_ICON}' >> ${PLIST}
|
2005-02-25 07:51:58 +00:00
|
|
|
.if !defined(WITHOUT_NEWTAB)
|
|
|
|
${ECHO_CMD} >> ${SYSTEM_PREFS}
|
|
|
|
${ECHO_CMD} "// Open external links in new tab" >> ${SYSTEM_PREFS}
|
|
|
|
${ECHO_CMD} "pref(\"browser.link.open_external\", 3);" \
|
|
|
|
>> ${SYSTEM_PREFS}
|
|
|
|
.endif # !defined(WITHOUT_NEWTAB)
|
2004-02-11 07:16:17 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-11-13 08:23:09 +00:00
|
|
|
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
|
|
for jpi in ${JPI_LIST}; do \
|
|
|
|
if [ -f $${jpi} ]; then \
|
|
|
|
${LN} -sf $${jpi} \
|
|
|
|
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
|
|
break; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
fi
|
2002-12-10 08:57:05 +00:00
|
|
|
|
2004-02-08 19:37:12 +00:00
|
|
|
post-install:
|
- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
2005-11-29 21:12:28 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${PREFIX}/share/applications/
|
|
|
|
${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}
|
2008-01-10 18:02:49 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-10-22 09:26:56 +00:00
|
|
|
|
2006-10-14 08:35:50 +00:00
|
|
|
.include "${PORTSDIR}/www/mozilla/Makefile.common"
|
2002-10-21 08:54:27 +00:00
|
|
|
.include <bsd.port.post.mk>
|