2003-09-04 08:31:09 +02:00
|
|
|
# New ports collection makefile for: mozilla-thunderbird
|
|
|
|
# Date created: 4 September 2003
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
- 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
|
|
|
# $MCom: ports/mail/thunderbird/Makefile,v 1.13 2005/11/24 01:43:41 ahze Exp $
|
2003-09-04 08:31:09 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= thunderbird
|
2005-09-30 07:35:28 +02:00
|
|
|
PORTVERSION= 1.0.7
|
2005-12-19 00:39:27 +01:00
|
|
|
PORTREVISION= 6
|
2003-09-04 08:31:09 +02:00
|
|
|
CATEGORIES= mail
|
2004-05-03 21:10:34 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/source
|
2004-12-08 06:58:33 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
2003-09-04 08:31:09 +02:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= Mozilla Thunderbird is standalone mail and news that stands above
|
|
|
|
|
- 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
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
ALL_TARGET= default
|
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
|
2003-09-04 08:31:09 +02:00
|
|
|
HAS_CONFIGURE= yes
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2003-09-04 08:31:09 +02: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
|
|
|
MOZ_EXTENSIONS= wallet,spellcheck,xmlextras,webservices
|
|
|
|
MOZ_PROTOCOLS= http,file,jar,viewsource,res,data
|
|
|
|
MOZ_GRAPHICS= default,-xbm
|
|
|
|
MOZ_OPTIONS= --enable-single-profile --disable-profilesharing \
|
|
|
|
--enable-official-branding
|
|
|
|
MOZ_EXPORT= MOZ_THUNDERBIRD=1
|
|
|
|
MOZ_MK_OPTIONS= MOZ_MOZ_THUNDERBIRD=1
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
|
|
|
|
PORTNAME_ICON= ${PREFIX}/lib/${PORTNAME}/chrome/icons/default/default.xpm
|
- 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
|
|
|
MOZ_PIS_SCRIPTS=moz_pis_S50cleanhome
|
2004-11-08 00:29:33 +01:00
|
|
|
|
2005-12-01 00:52:27 +01:00
|
|
|
CONFLICTS= thunderbird*-1.5*
|
2004-07-18 22:20:21 +02:00
|
|
|
|
2003-09-04 08:31:09 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
- 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
|
|
|
.include "${.CURDIR}/../../www/mozilla/Makefile.common"
|
2003-09-04 08:31:09 +02:00
|
|
|
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
|
|
|
|
IGNORE= core dumps at runtime
|
|
|
|
.endif # ${ARCH} == "alpha" && ${OSVERSION} < 500035
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
|
|
|
|
.endif # ${PERL_LEVEL} < 500600
|
|
|
|
|
2003-09-04 08:31:09 +02:00
|
|
|
post-extract::
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
@${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON}|' \
|
|
|
|
<${FILESDIR}/${PORTNAME}.desktop.in >${WRKDIR}/${PORTNAME}.desktop
|
2003-09-04 08:31:09 +02:00
|
|
|
|
|
|
|
post-patch:
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g' \
|
|
|
|
-e 's|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \
|
|
|
|
${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp
|
|
|
|
@${FIND} ${WRKSRC} -name all.js | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
'/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
|
|
|
|
/dom.disable_window_open_feature.toolbar/s/false/true/'
|
2005-09-07 09:27:45 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
|
|
|
|
${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
|
|
|
|
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
|
2003-09-04 08:31:09 +02:00
|
|
|
|
|
|
|
pre-install:
|
2005-12-03 22:09:56 +01:00
|
|
|
${MKDIR} ${FAKEDIR}/lib/${PORTNAME}/defaults
|
|
|
|
${CP} -RL ${WRKSRC}/dist/bin/defaults/isp \
|
|
|
|
${FAKEDIR}/lib/${PORTNAME}/defaults
|
2005-12-19 00:39:27 +01:00
|
|
|
@cd ${FAKEDIR}/lib/${PORTNAME}/defaults/isp && \
|
|
|
|
${FIND} -s * -type f -o -type l | \
|
|
|
|
${SED} -e 's|^|lib/${PORTNAME}/defaults/isp/|' >> ${PLIST} && \
|
|
|
|
${FIND} -d * -type d | \
|
|
|
|
${SED} -e 's|^|@dirrm lib/${PORTNAME}/defaults/isp/|' \
|
|
|
|
>> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/defaults/isp 2>/dev/null || ${TRUE}" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/defaults 2>/dev/null || ${TRUE}" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/lib/${PORTNAME}/ 2>/dev/null || ${TRUE}" >> ${PLIST}
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
|
2005-09-07 09:27:45 +02:00
|
|
|
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
2003-09-04 08:31:09 +02:00
|
|
|
|
2003-12-08 00:22:17 +01:00
|
|
|
post-install:
|
2005-04-26 21:30:55 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/applications
|
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
third apps to buildable like epiphany, vlc-devel's mozilla plugins
and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]
patch-bugzilla243151:
https://bugzilla.mozilla.org/show_bug.cgi?id=243151
patch-jsosdep:
Fix the FreeBSD define
patch-oji-threads:
64-bit wide pthread_t
patch-xptcinvoke_x86_64_linux:
Setting a possibly uninitialized variable (value).
- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'thunderbird' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
on it.
Submitted by: mi [1], marcus [2]
Reviewed by: my team, FreeBSD GNOME Team.
2005-08-28 10:00:00 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/${PORTNAME}/default.xpm \
|
|
|
|
${PREFIX}/lib/${PORTNAME}/chrome/icons/default/default.xpm
|
2003-09-04 08:31:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|