2004-02-11 08:16:17 +01:00
|
|
|
# New ports collection makefile for: phoenix
|
|
|
|
# Date created: 2002/10/21
|
|
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
2002-10-21 10:54:27 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-11-01 14:20:11 +01:00
|
|
|
# $MCom: ports-stable/www/firefox/Makefile,v 1.21 2006/10/25 01:20:12 ahze Exp $
|
2002-10-21 10:54:27 +02:00
|
|
|
|
2004-02-11 08:16:17 +01:00
|
|
|
PORTNAME= firefox
|
2006-11-01 14:20:11 +01:00
|
|
|
DISTVERSION= 2.0
|
2006-10-14 10:35:50 +02:00
|
|
|
PORTREVISION= 1
|
2004-10-28 23:37:53 +02:00
|
|
|
PORTEPOCH= 1
|
2003-06-02 20:30:59 +02:00
|
|
|
CATEGORIES= www
|
2006-11-01 14:20:11 +01: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 22:12:28 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source
|
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
|
2002-10-21 10:54:27 +02:00
|
|
|
|
2003-06-02 20:30:59 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-10-18 23:45:26 +02:00
|
|
|
COMMENT= Web browser based on the browser portion of Mozilla
|
2002-10-21 20:37:12 +02:00
|
|
|
|
2006-11-01 14:20:11 +01:00
|
|
|
BUILD_DEPENDS= nss>=3.11.2:${PORTSDIR}/security/nss
|
|
|
|
|
|
|
|
LATEST_LINK= firefox2
|
|
|
|
#MOZILLA= ${PORTNAME}${MOZILLA_SUFX}
|
|
|
|
MOZILLA_NAME= Firefox
|
|
|
|
#MOZILLA_NAME= Firefox${MOZILLA_SUFX}
|
|
|
|
#MOZILLA_SUFX= -devel
|
|
|
|
MOZ_OPTIONS= --program-transform-name='s/firefox/${MOZILLA}/'
|
|
|
|
|
- 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 22:12:28 +01:00
|
|
|
WANT_GNOME= yes
|
2003-10-18 23:45:26 +02:00
|
|
|
ALL_TARGET= default
|
2004-06-16 02:10:12 +02:00
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
|
2006-11-01 14:20:11 +01:00
|
|
|
EXTRA_CFLAGS= -O2
|
2004-02-11 08:16:17 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2003-06-02 20:30:59 +02: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 22:12:28 +01:00
|
|
|
USE_GCC= 3.4+
|
2006-11-01 14:20:11 +01:00
|
|
|
LIBS= -Wl,-Bsymbolic -lc
|
2005-12-04 23:05:43 +01: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 22:12:28 +01:00
|
|
|
FIREFOX_ICON= ${MOZILLA}.xpm
|
|
|
|
FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/icons/default.xpm
|
|
|
|
MOZ_OPTIONS= --enable-application=browser \
|
|
|
|
--enable-system-cairo \
|
|
|
|
--enable-official-branding \
|
2006-11-01 14:20:11 +01:00
|
|
|
--enable-canvas \
|
|
|
|
--with-system-nss
|
2004-02-11 08:31:45 +01: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 22:12:28 +01:00
|
|
|
SYSTEM_PREFS= ${FAKEDIR}/lib/${MOZILLA}/defaults/pref/firefox.js
|
|
|
|
MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome
|
2005-02-25 08:51:58 +01: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 22:12:28 +01:00
|
|
|
OPTIONS= NEWTAB "Open external links in a new tab" on \
|
|
|
|
SMB "Enable smb:// URI support using gnomevfs" off
|
2002-10-21 20:37:12 +02:00
|
|
|
|
2002-10-21 10:54:27 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-12-18 06:02:34 +01:00
|
|
|
|
2006-11-01 14:20:11 +01:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= does not build
|
2006-09-14 14:35:34 +02:00
|
|
|
.endif
|
2006-07-06 00:12:13 +02:00
|
|
|
|
2005-12-15 18:11:32 +01:00
|
|
|
.if ${OSVERSION} >= 600000
|
2005-12-02 06:44:22 +01:00
|
|
|
MOZ_OPTIONS+= --enable-svg --enable-svg-renderer=cairo
|
|
|
|
.endif
|
|
|
|
|
2004-10-14 02:38:48 +02:00
|
|
|
.if ${PERL_LEVEL} < 500600
|
2004-10-13 22:25:48 +02:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
|
|
|
|
.endif
|
|
|
|
|
2002-11-07 18:56:33 +01:00
|
|
|
post-extract::
|
2006-11-01 14:20:11 +01: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 22:12:28 +01:00
|
|
|
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
|
2002-10-21 20:37:12 +02:00
|
|
|
|
2003-06-02 20:30:59 +02:00
|
|
|
post-patch:
|
2006-11-01 14:20:11 +01:00
|
|
|
@${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 22:12:28 +01: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 08:51:58 +01:00
|
|
|
.endfor
|
2004-03-19 04:14:55 +01:00
|
|
|
|
2002-12-10 09:57:05 +01: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 22:12:28 +01:00
|
|
|
${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLIST}
|
2005-12-04 23:05:43 +01: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 22:12:28 +01:00
|
|
|
${ECHO_CMD} 'share/pixmaps/${FIREFOX_ICON}' >> ${PLIST}
|
2006-10-14 10:35:50 +02:00
|
|
|
${ECHO_CMD} "@dirrmtry share/pixmaps" >> ${PLIST}
|
2005-02-25 08:51:58 +01: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 08:16:17 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-11-13 09:23:09 +01: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 09:57:05 +01:00
|
|
|
|
2004-02-08 20:37:12 +01: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 22:12:28 +01: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}
|
2002-10-22 11:26:56 +02:00
|
|
|
|
2006-10-14 10:35:50 +02:00
|
|
|
.include "${PORTSDIR}/www/mozilla/Makefile.common"
|
2002-10-21 10:54:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|