head	1.157;
access;
symbols
	old_RELEASE_6_1_0:1.148
	old_RELEASE_5_5_0:1.148
	old_RELEASE_6_0_0:1.132
	old_RELEASE_5_4_0:1.121
	old_RELEASE_4_11_0:1.113
	old_RELEASE_5_3_0:1.92
	old_RELEASE_4_10_0:1.82
	old_old_RELEASE_5_2_1:1.58
	old_old_RELEASE_5_2_0:1.58
	old_old_firebird_0_6_1:1.55
	old_old_RELEASE_4_9_0:1.54
	old_old_old_RELEASE_5_1_0:1.44
	old_old_old_RELEASE_4_8_0:1.42
	old_old_old_RELEASE_5_0_0:1.39;
locks; strict;
comment	@# @;


1.157
date	2006.09.02.21.52.19;	author kris;	state dead;
branches;
next	1.156;

1.156
date	2006.07.27.14.08.51;	author simon;	state Exp;
branches;
next	1.155;

1.155
date	2006.06.06.03.03.38;	author mezz;	state Exp;
branches;
next	1.154;

1.154
date	2006.05.30.03.47.53;	author ahze;	state Exp;
branches;
next	1.153;

1.153
date	2006.04.22.22.36.35;	author ahze;	state Exp;
branches;
next	1.152;

1.152
date	2006.04.22.21.28.52;	author ahze;	state Exp;
branches;
next	1.151;

1.151
date	2006.04.16.23.57.45;	author ahze;	state Exp;
branches;
next	1.150;

1.150
date	2006.04.14.12.08.52;	author ahze;	state Exp;
branches;
next	1.149;

1.149
date	2006.03.29.18.29.45;	author ahze;	state Exp;
branches;
next	1.148;

1.148
date	2006.02.19.22.23.02;	author marcus;	state Exp;
branches;
next	1.147;

1.147
date	2006.02.02.13.16.54;	author ahze;	state Exp;
branches;
next	1.146;

1.146
date	2006.02.01.17.55.04;	author marcus;	state Exp;
branches;
next	1.145;

1.145
date	2005.12.15.17.11.32;	author marcus;	state Exp;
branches;
next	1.144;

1.144
date	2005.12.09.04.52.14;	author ahze;	state Exp;
branches;
next	1.143;

1.143
date	2005.12.04.22.05.43;	author ahze;	state Exp;
branches;
next	1.142;

1.142
date	2005.12.03.17.54.57;	author ahze;	state Exp;
branches;
next	1.141;

1.141
date	2005.12.02.05.44.22;	author ahze;	state Exp;
branches;
next	1.140;

1.140
date	2005.12.02.05.30.01;	author mezz;	state Exp;
branches;
next	1.139;

1.139
date	2005.11.30.20.10.03;	author ahze;	state Exp;
branches;
next	1.138;

1.138
date	2005.11.30.19.47.19;	author ahze;	state Exp;
branches;
next	1.137;

1.137
date	2005.11.30.15.59.55;	author pav;	state Exp;
branches;
next	1.136;

1.136
date	2005.11.29.21.12.28;	author ahze;	state Exp;
branches;
next	1.135;

1.135
date	2005.11.05.05.21.03;	author marcus;	state Exp;
branches;
next	1.134;

1.134
date	2005.10.10.07.29.35;	author marcus;	state Exp;
branches;
next	1.133;

1.133
date	2005.10.09.19.44.02;	author marcus;	state Exp;
branches;
next	1.132;

1.132
date	2005.09.23.20.42.36;	author mezz;	state Exp;
branches;
next	1.131;

1.131
date	2005.09.21.23.49.19;	author marcus;	state Exp;
branches;
next	1.130;

1.130
date	2005.09.10.17.24.30;	author pav;	state Exp;
branches;
next	1.129;

1.129
date	2005.09.02.05.00.03;	author marcus;	state Exp;
branches;
next	1.128;

1.128
date	2005.08.28.07.59.04;	author mezz;	state Exp;
branches;
next	1.127;

1.127
date	2005.07.30.04.36.55;	author marcus;	state Exp;
branches;
next	1.126;

1.126
date	2005.07.20.06.02.17;	author ahze;	state Exp;
branches;
next	1.125;

1.125
date	2005.07.14.04.55.18;	author marcus;	state Exp;
branches;
next	1.124;

1.124
date	2005.07.14.03.19.30;	author marcus;	state Exp;
branches;
next	1.123;

1.123
date	2005.05.12.06.58.34;	author ahze;	state Exp;
branches;
next	1.122;

1.122
date	2005.04.26.19.30.55;	author ahze;	state Exp;
branches;
next	1.121;

1.121
date	2005.04.16.04.46.48;	author ahze;	state Exp;
branches;
next	1.120;

1.120
date	2005.04.14.03.09.30;	author ahze;	state Exp;
branches;
next	1.119;

1.119
date	2005.03.25.05.55.27;	author marcus;	state Exp;
branches;
next	1.118;

1.118
date	2005.03.12.10.53.09;	author marcus;	state Exp;
branches;
next	1.117;

1.117
date	2005.03.10.00.43.22;	author marcus;	state Exp;
branches;
next	1.116;

1.116
date	2005.03.02.06.50.12;	author marcus;	state Exp;
branches;
next	1.115;

1.115
date	2005.02.26.09.32.01;	author marcus;	state Exp;
branches;
next	1.114;

1.114
date	2005.02.25.07.51.58;	author marcus;	state Exp;
branches;
next	1.113;

1.113
date	2005.01.02.23.27.54;	author marcus;	state Exp;
branches;
next	1.112;

1.112
date	2004.12.28.00.51.58;	author ahze;	state Exp;
branches;
next	1.111;

1.111
date	2004.12.15.11.52.52;	author ahze;	state Exp;
branches;
next	1.110;

1.110
date	2004.12.15.06.03.30;	author marcus;	state Exp;
branches;
next	1.109;

1.109
date	2004.12.11.02.11.51;	author ahze;	state Exp;
branches;
next	1.108;

1.108
date	2004.12.11.02.11.23;	author ahze;	state Exp;
branches;
next	1.107;

1.107
date	2004.12.09.20.26.22;	author ahze;	state Exp;
branches;
next	1.106;

1.106
date	2004.12.04.09.47.27;	author marcus;	state Exp;
branches;
next	1.105;

1.105
date	2004.11.22.04.04.52;	author marcus;	state Exp;
branches;
next	1.104;

1.104
date	2004.11.18.16.37.50;	author marcus;	state Exp;
branches;
next	1.103;

1.103
date	2004.11.14.16.46.29;	author ahze;	state Exp;
branches;
next	1.102;

1.102
date	2004.11.13.08.23.09;	author ahze;	state Exp;
branches;
next	1.101;

1.101
date	2004.11.10.00.58.53;	author marcus;	state Exp;
branches;
next	1.100;

1.100
date	2004.11.07.22.37.22;	author marcus;	state Exp;
branches;
next	1.99;

1.99
date	2004.11.06.03.06.26;	author ahze;	state Exp;
branches;
next	1.98;

1.98
date	2004.10.28.21.37.53;	author marcus;	state Exp;
branches;
next	1.97;

1.97
date	2004.10.17.21.29.30;	author marcus;	state Exp;
branches;
next	1.96;

1.96
date	2004.10.14.00.38.48;	author marcus;	state Exp;
branches;
next	1.95;

1.95
date	2004.10.13.20.28.50;	author marcus;	state Exp;
branches;
next	1.94;

1.94
date	2004.10.13.20.25.48;	author marcus;	state Exp;
branches;
next	1.93;

1.93
date	2004.10.12.00.04.40;	author marcus;	state Exp;
branches;
next	1.92;

1.92
date	2004.09.28.03.24.41;	author marcus;	state Exp;
branches;
next	1.91;

1.91
date	2004.08.05.19.53.30;	author marcus;	state Exp;
branches;
next	1.90;

1.90
date	2004.07.27.20.51.02;	author marcus;	state Exp;
branches;
next	1.89;

1.89
date	2004.06.29.20.22.17;	author marcus;	state Exp;
branches;
next	1.88;

1.88
date	2004.06.24.16.33.47;	author marcus;	state Exp;
branches;
next	1.87;

1.87
date	2004.06.20.06.55.06;	author marcus;	state Exp;
branches;
next	1.86;

1.86
date	2004.06.19.00.51.16;	author marcus;	state Exp;
branches;
next	1.85;

1.85
date	2004.06.16.16.53.33;	author marcus;	state Exp;
branches;
next	1.84;

1.84
date	2004.06.16.06.58.10;	author marcus;	state Exp;
branches;
next	1.83;

1.83
date	2004.06.16.00.10.12;	author marcus;	state Exp;
branches;
next	1.82;

1.82
date	2004.04.07.10.49.20;	author trevor;	state Exp;
branches;
next	1.81;

1.81
date	2004.04.05.03.30.58;	author marcus;	state Exp;
branches;
next	1.80;

1.80
date	2004.03.19.03.45.20;	author marcus;	state Exp;
branches;
next	1.79;

1.79
date	2004.03.19.03.14.55;	author marcus;	state Exp;
branches;
next	1.78;

1.78
date	2004.03.16.22.54.02;	author marcus;	state Exp;
branches;
next	1.77;

1.77
date	2004.02.13.20.12.09;	author marcus;	state Exp;
branches;
next	1.76;

1.76
date	2004.02.13.07.30.21;	author marcus;	state Exp;
branches;
next	1.75;

1.75
date	2004.02.12.21.21.09;	author trevor;	state Exp;
branches;
next	1.74;

1.74
date	2004.02.12.10.22.15;	author marcus;	state Exp;
branches;
next	1.73;

1.73
date	2004.02.12.09.06.57;	author marcus;	state Exp;
branches;
next	1.72;

1.72
date	2004.02.11.23.01.23;	author trevor;	state Exp;
branches;
next	1.71;

1.71
date	2004.02.11.22.06.08;	author trevor;	state Exp;
branches;
next	1.70;

1.70
date	2004.02.11.22.02.15;	author trevor;	state Exp;
branches;
next	1.69;

1.69
date	2004.02.11.21.52.13;	author trevor;	state Exp;
branches;
next	1.68;

1.68
date	2004.02.11.19.30.49;	author marcus;	state Exp;
branches;
next	1.67;

1.67
date	2004.02.11.19.21.01;	author marcus;	state Exp;
branches;
next	1.66;

1.66
date	2004.02.11.19.05.11;	author trevor;	state Exp;
branches;
next	1.65;

1.65
date	2004.02.11.08.18.19;	author marcus;	state Exp;
branches;
next	1.64;

1.64
date	2004.02.11.07.31.45;	author marcus;	state Exp;
branches;
next	1.63;

1.63
date	2004.02.11.07.16.16;	author marcus;	state Exp;
branches;
next	1.62;

1.62
date	2004.02.08.19.37.12;	author marcus;	state Exp;
branches;
next	1.61;

1.61
date	2004.02.04.05.09.32;	author marcus;	state Exp;
branches;
next	1.60;

1.60
date	2004.01.22.13.14.46;	author trevor;	state Exp;
branches;
next	1.59;

1.59
date	2003.12.13.21.35.43;	author peter;	state Exp;
branches;
next	1.58;

1.58
date	2003.11.24.01.20.39;	author marcus;	state Exp;
branches;
next	1.57;

1.57
date	2003.10.24.06.38.14;	author marcus;	state Exp;
branches;
next	1.56;

1.56
date	2003.10.18.21.45.24;	author trevor;	state Exp;
branches;
next	1.55;

1.55
date	2003.10.12.22.01.55;	author marcus;	state Exp;
branches;
next	1.54;

1.54
date	2003.09.06.18.34.37;	author marcus;	state Exp;
branches;
next	1.53;

1.53
date	2003.09.04.04.27.01;	author marcus;	state Exp;
branches;
next	1.52;

1.52
date	2003.08.24.16.18.58;	author marcus;	state Exp;
branches;
next	1.51;

1.51
date	2003.08.06.16.14.52;	author marcus;	state Exp;
branches;
next	1.50;

1.50
date	2003.07.31.18.18.56;	author marcus;	state Exp;
branches;
next	1.49;

1.49
date	2003.07.29.19.22.12;	author marcus;	state Exp;
branches;
next	1.48;

1.48
date	2003.07.24.18.36.02;	author marcus;	state Exp;
branches;
next	1.47;

1.47
date	2003.06.18.23.22.10;	author marcus;	state Exp;
branches;
next	1.46;

1.46
date	2003.06.03.01.10.33;	author marcus;	state Exp;
branches;
next	1.45;

1.45
date	2003.06.02.18.30.58;	author marcus;	state Exp;
branches;
next	1.44;

1.44
date	2003.05.21.13.31.25;	author alane;	state Exp;
branches;
next	1.43;

1.43
date	2003.04.20.19.46.57;	author marcus;	state Exp;
branches;
next	1.42;

1.42
date	2003.03.07.06.12.52;	author ade;	state Exp;
branches;
next	1.41;

1.41
date	2003.02.18.04.51.28;	author anholt;	state Exp;
branches;
next	1.40;

1.40
date	2003.01.18.01.19.31;	author alane;	state Exp;
branches;
next	1.39;

1.39
date	2002.12.22.09.46.17;	author alane;	state Exp;
branches;
next	1.38;

1.38
date	2002.12.18.05.02.33;	author alane;	state Exp;
branches;
next	1.37;

1.37
date	2002.12.15.17.37.35;	author alane;	state Exp;
branches;
next	1.36;

1.36
date	2002.12.15.06.23.46;	author alane;	state Exp;
branches;
next	1.35;

1.35
date	2002.12.14.22.49.59;	author alane;	state Exp;
branches;
next	1.34;

1.34
date	2002.12.13.09.41.38;	author alane;	state Exp;
branches;
next	1.33;

1.33
date	2002.12.10.10.17.20;	author alane;	state Exp;
branches;
next	1.32;

1.32
date	2002.12.10.08.57.05;	author alane;	state Exp;
branches;
next	1.31;

1.31
date	2002.12.01.21.37.33;	author alane;	state Exp;
branches;
next	1.30;

1.30
date	2002.11.28.21.51.56;	author alane;	state Exp;
branches;
next	1.29;

1.29
date	2002.11.10.20.05.03;	author alane;	state Exp;
branches;
next	1.28;

1.28
date	2002.11.10.18.05.10;	author alane;	state Exp;
branches;
next	1.27;

1.27
date	2002.11.08.18.24.51;	author alane;	state Exp;
branches;
next	1.26;

1.26
date	2002.11.08.03.11.26;	author alane;	state Exp;
branches;
next	1.25;

1.25
date	2002.11.07.17.56.33;	author alane;	state Exp;
branches;
next	1.24;

1.24
date	2002.11.05.12.00.22;	author alane;	state Exp;
branches;
next	1.23;

1.23
date	2002.11.04.19.31.45;	author alane;	state Exp;
branches;
next	1.22;

1.22
date	2002.11.04.18.57.01;	author alane;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.04.18.00.16;	author alane;	state Exp;
branches;
next	1.20;

1.20
date	2002.11.02.18.24.50;	author alane;	state Exp;
branches;
next	1.19;

1.19
date	2002.11.01.16.24.19;	author alane;	state Exp;
branches;
next	1.18;

1.18
date	2002.11.01.13.09.32;	author alane;	state Exp;
branches;
next	1.17;

1.17
date	2002.11.01.12.41.01;	author alane;	state Exp;
branches;
next	1.16;

1.16
date	2002.11.01.04.17.51;	author alane;	state Exp;
branches;
next	1.15;

1.15
date	2002.10.31.18.17.06;	author trevor;	state Exp;
branches;
next	1.14;

1.14
date	2002.10.31.18.14.05;	author trevor;	state Exp;
branches;
next	1.13;

1.13
date	2002.10.31.18.09.11;	author trevor;	state Exp;
branches;
next	1.12;

1.12
date	2002.10.31.18.02.52;	author trevor;	state Exp;
branches;
next	1.11;

1.11
date	2002.10.27.22.24.13;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2002.10.23.15.00.15;	author alane;	state Exp;
branches;
next	1.9;

1.9
date	2002.10.23.12.48.27;	author alane;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.23.11.43.07;	author alane;	state Exp;
branches;
next	1.7;

1.7
date	2002.10.23.10.29.16;	author alane;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.23.01.46.53;	author alane;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.23.01.16.22;	author alane;	state Exp;
branches;
next	1.4;

1.4
date	2002.10.22.11.04.48;	author alane;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.22.09.26.56;	author alane;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.21.18.37.12;	author alane;	state Exp;
branches;
next	1.1;

1.1
date	2002.10.21.08.54.27;	author alane;	state Exp;
branches;
next	;


desc
@@


1.157
log
@Remove expired ports.
@
text
@# New ports collection makefile for:	phoenix
# Date created:			2002/10/21
# Whom:				Alan Eldridge <alane@@FreeBSD.org>
#
# $FreeBSD: ports/www/firefox10/Makefile,v 1.156 2006/07/27 14:08:51 simon Exp $
#   $MCom: ports/www/firefox/Makefile,v 1.29 2006/02/01 02:11:23 ahze Exp $
#

PORTNAME=	firefox
DISTVERSION=	1.0.8
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_MOZILLA} \
		${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source \
			ahze/:local
DISTFILES=	${PORTNAME}-${DISTVERSION}-source${EXTRACT_SUFX} \
		libart_lgpl-1${EXTRACT_SUFX}:local

MAINTAINER=	gnome@@FreeBSD.org
COMMENT=	Web browser based on the browser portion of Mozilla

FORBIDDEN=	http://vuxml.FreeBSD.org/e2a92664-1d60-11db-88cf-000c6ec775d9.html
EXPIRATION_DATE=2006-08-27

LATEST_LINK=	${PORTNAME}10
USE_X_PREFIX=	yes
WANT_GNOME=	yes
ALL_TARGET=	default
CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
HAS_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GCC=	3.4+

GECKO_PLIST_PRE_FILES=	lib/${MOZILLA}/chrome/icons/default/default.xpm
GECKO_PLIST_PRE_DIRS=	lib/${MOZILLA}/chrome/icons/default lib/${MOZILLA}/chrome/icons

FIREFOX_ICON=		${MOZILLA}.xpm
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/icons/default.xpm
MOZILLA=	${PORTNAME}${MOZILLA_SUFX}
MOZILLA_NAME=	Firefox${MOZILLA_SUFX}
MOZILLA_SUFX=	10
MOZ_EXTENSIONS+=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,p3p,gnomevfs,negotiateauth
MOZ_EXPORT+=	MOZ_INTERNAL_LIBART_LGPL=1
MOZ_MK_OPTIONS+=MOZ_INTERNAL_LIBART_LGPL=1
PORT_MOZCONFIG=	${WRKSRC}/browser/config/mozconfig
MOZ_OPTIONS=	--disable-ldap \
		--enable-application=browser \
		--enable-official-branding \
		--program-transform-name='s/firefox/${MOZILLA}/' \
		--enable-svg \
		--enable-svg-renderer-libart

SYSTEM_PREFS=		${FAKEDIR}/lib/${MOZILLA}/defaults/pref/firefox.js
MOZ_PIS_SCRIPTS=	moz_pis_S50cleanhome

OPTIONS=	NEWTAB "Open external links in a new tab" on \
		SMB "Enable smb:// URI support using gnomevfs" off

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
IGNORE=	core dumps on alpha during post-build
.endif

# libart patches
.if ${OSVERSION} < 500035
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-nsSVGLibartGlyphMetricsFT.cpp
.else
EXTRA_PATCHES+=	${FILESDIR}/extra-patch2-nsSVGLibartGlyphMetricsFT.cpp
.endif

.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-config_make-jars.pl
.endif

post-extract::
	@@${SED} -e 's|@@FIREFOX_ICON@@|${FIREFOX_ICON}|' -e 's|@@MOZILLA@@|${MOZILLA}|' \
		-e 's|@@MOZILLA_NAME@@|${MOZILLA_NAME}|' \
		<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop

post-patch:
.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
.endfor

pre-install:
	${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLIST}
	${ECHO_CMD} "@@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} 'share/pixmaps/${FIREFOX_ICON}' >> ${PLIST}
.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)

do-install:
	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

post-install:
	${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}

.include "${.CURDIR}/../mozilla/Makefile.common"
.include <bsd.port.post.mk>
@


1.156
log
@Mark firefox 1.0.8 FORBIDDEN and set one month EXPIRATION_DATE due to
several vulnerabilities which allows code execution.

On the mozilla page with known vulnerabilities [1] they state:

	Firefox 1.0 is no longer supported and the last update,
	Firefox 1.0.8, is affected by several vulnerabilities fixed in
	newer versions of the program. All users are urged to upgrade
	to the newest version of Firefox.

[1] http://www.mozilla.org/projects/security/known-vulnerabilities.html

With hat:	security-officer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.155
log
@Portlint:
	-Remove an empty line.
@
text
@d24 3
@


1.154
log
@- Fix .desktop file so it says Firefox10 instead of Firefox and starts firefox10
@
text
@a80 1

@


1.153
log
@- Use included mozconfig
- bump PORTREVISION
@
text
@d11 1
a11 1
PORTREVISION=	1
d40 1
d77 2
a78 1
	@@${SED} -e 's|@@FIREFOX_ICON@@|${FIREFOX_ICON}|' \
d81 1
@


1.152
log
@- Convert from using mozconfig.in to using generic mozconfig
- Make firefox10 work in tinderbox [1]

Reported by:	kris mail [1]
@
text
@d11 1
d44 1
@


1.151
log
@Firefox is an award winning, free, open-source web browser for many platforms
and is based on the Mozilla codebase. It is small, fast and easy to use, and
offers many advanced features:
 o Popup Blocking
 o Tabbed Browsing
 o Live Bookmarks (ie. RSS)
 o Extensions
 o Themes
 o FastFind
 o Improved Security

Repo-copied from:	www/firefox
Repo-copied by:		marcus
@
text
@d40 1
d43 2
a44 1
MOZ_OPTIONS=	--enable-application=browser \
@


1.150
log
@- Update to 1.5.0.2

Release notes:	http://www.mozilla.com/firefox/releases/1.5.0.2.html
@
text
@d10 1
a10 1
DISTVERSION=	1.5.0.2
d13 6
a18 3
MASTER_SITES=	${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source
DISTNAME=	${PORTNAME}-${DISTVERSION}-source
d23 1
d38 4
a42 1
		--enable-system-cairo	\
d44 3
a46 1
		--enable-canvas
d60 5
a64 2
.if ${OSVERSION} >= 600000
MOZ_OPTIONS+=	--enable-svg --enable-svg-renderer=cairo
@


1.149
log
@- Convert all gecko pkg-[de]install scripts into a generic
  pkg-[de]install script
- Always use pkg-install to create missing dir's [1]

Requested by:	marcus [1]
@
text
@d10 1
a10 2
DISTVERSION=	1.5.0.1
PORTREVISION=	2
@


1.148
log
@Fix a problem where Firefox creates its ~/.mozilla directory using stack
garbage.

PR:		92899
Submitted by:	truckman
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.147
log
@- Update to 1.5.0.1
@
text
@d11 1
@


1.146
log
@Firefox may hang for some users for a few seconds at a time eating up all
of the CPU.  This is triggered by a bug in Gecko/GTK+ interaction.  This
patch corrects the problem.  See
https://bugzilla.mozilla.org/show_bug.cgi?id=305970 for more details.

PR:		92467
Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=305970
@
text
@d6 1
a6 1
#   $MCom: ports/www/firefox/Makefile,v 1.27 2005/11/28 19:28:49 ahze Exp $
d10 1
a10 2
DISTVERSION=	1.5
PORTREVISION=	6
a23 1
USE_REINPLACE=	yes
@


1.145
log
@Only enable SVG support on 6.X and higher since it's still causing GCC
errors with GCC 3.4.2.
@
text
@d11 1
a11 1
PORTREVISION=	5
@


1.144
log
@- Add a patch to fix history DoS vulnerability

Obtained from:	https://bugzilla.mozilla.org/show_bug.cgi?id=319004
@
text
@d53 1
a53 1
.if ${OSVERSION} >= 504101
@


1.143
log
@- Add support for GECKO_PLIST_PRE_FILES and GECKO_PLIST_PRE_DIRS to
  add files or directories to plist.
- *Really* remove share/idl if empty in firefox
@
text
@d11 1
a11 1
PORTREVISION=	4
@


1.142
log
@- Move .include "${.CURDIR}/../mozilla/Makefile.common" to the bottom so
  svg works for some people.

Pointyhat to:	me
@
text
@d11 1
a11 1
PORTREVISION=	3
d31 3
d75 1
a82 7
	${ECHO_CMD} "@@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} "lib/${MOZILLA}/chrome/icons/default/default.xpm" >> ${PLIST}
	${ECHO_CMD} "@@dirrm lib/${MOZILLA}/chrome/icons/default" >> ${PLIST}
	${ECHO_CMD} "@@dirrm lib/${MOZILLA}/chrome/icons" >> ${PLIST}
# Dirty hack to make sure stuff gets removed right.
	${SORT} -r ${PLIST} > ${PLIST}.tmp
	${MV} -f ${PLIST}.tmp ${PLIST}
@


1.141
log
@- Disable svg support on 5.3 and lower to fix build with a gcc bug.

Reported by:	many
Tested by:	mark@@mkproductions.org
@
text
@a44 1
.include "${.CURDIR}/../mozilla/Makefile.common"
d105 1
@


1.140
log
@Fix all those ports to find libnssckbi.so in the correct place to allow those
SSL certificates work again. Somehow, this patch was lost in the big change,
so bring it back. Bump PORTREVISION on all of those ports.

PR:		ports/89796
Reported by:	Christoph Moench-Tegeder <cmt@@burggraben.net>
@
text
@a33 2
		--enable-svg		\
		--enable-svg-renderer=cairo \
d51 4
@


1.139
log
@- Bump PORTREVISION

Spotted by:	pav
@
text
@d11 1
a11 1
PORTREVISION=	2
@


1.138
log
@- Reenable svg support, this must've sliped with all the massive changes.

PR:		89764
Submitted by:	Roland Smith <rsmith@@xs4all.nl>
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.137
log
@- Fix desktop entry, there's no FF_SUFX anymore
@
text
@d34 1
@


1.136
log
@- 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
@
text
@d11 1
@


1.135
log
@Bump PORTREVISION to chase the glib20 shared library update.
@
text
@d6 1
a6 1
#    $MCom: ports-stable/www/firefox/Makefile,v 1.18 2005/08/20 21:53:54 mezz Exp $
d10 1
a10 2
PORTVERSION=	1.0.7
PORTREVISION=	4
d14 2
a15 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${PORTVERSION}/source
DISTNAME=	${PORTNAME}-${PORTVERSION}-source
d20 2
a21 6
LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg	\
		nspr4:${PORTSDIR}/devel/nspr	\
		png:${PORTSDIR}/graphics/png	\
		nss3:${PORTSDIR}/security/nss
BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip

a23 1
FAKEDIR=	${WRKDIR}/fake
a25 2
PLIST=		${WRKDIR}/plist
PLUGINSDIR=	${PREFIX}/lib/browser_plugins
d28 9
a36 45
USE_GNOME=	gtk20 libidl gnomehier desktopfileutils
USE_ICONV=	yes
USE_PERL5_BUILD=yes
USE_X_PREFIX=	yes
WRKSRC=		${WRKDIR}/mozilla
PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
KRB5_HOME?=	/usr

EXTRACT_AFTER_ARGS=	| ${TAR} -xf - --exclude */CVS/* \
			--exclude */macbuild/*\
			--exclude */nsprpub/*\
			--exclude */package/* \
			--exclude */zlib/ \
			--exclude mozilla/modules/libimg/png \
			--exclude mozilla/jpeg \
			--exclude mozilla/dbm \
			--exclude mozilla/js/src/fdlibm \
			--exclude mozilla/security/nss	\
			--exclude mozilla/gc/boehm	\
			--exclude .cvsignore \
			--exclude makefile.win \
			--exclude MANIFEST

PORTNAME_ICON=	${PREFIX}/lib/${PORTNAME}/chrome/icons/default/default.xpm

PKGCONFIG_FILES=${PORTNAME}-gtkmozembed ${PORTNAME}-js ${PORTNAME}-xpcom \
		${PORTNAME}-plugin

JPI_LIST?=\
	${LOCALBASE}/jdk1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so \
	${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so

SYSTEM_PREFS=	${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION}/defaults/pref/${PORTNAME}.js
SCRIPTS_DIR=	${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION}
MOZ_PIS_SCRIPTS=S50cleanhome
MOZ_PIS_DIR=	${SCRIPTS_DIR}/init.d

OPTIONS=	DEBUG "Build a debugging image" off \
		LOGGING "Enable additional log messages" off \
		OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
		XFT "Enable support for anti-aliased fonts" on \
		SMB "Enable smb:// URI support using gnomevfs" off \
		NEWTAB "Open external links in a new tab" on
#		CJK "Enable CJK font family support" off
d38 2
a39 1
.include <bsd.port.pre.mk>
d41 2
a42 40
# Enable CJK Font Familyname support
#.if defined(WITH_CJK)
#PATCH_SITES+=	http://bbs.ilc.edu.tw/~chinsan/ \
#		http://bsdchat.com/dist/firefly-cjk-patchset/ \
#		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
#PATCHFILES+=	mozilla-1.7.10-cjkfamilyname-20050731.patch.gz
#PATCH_DIST_STRIP+=	-p1
#.endif

.if defined(WITH_DEBUG)
WITH_LOGGING=		yes
CONFIGURE_ENV+=		WITH_DEBUG=yes
.endif # defined(WITH_DEBUG)

.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS:=		-O2 -fno-strict-aliasing ${CFLAGS:N-O*}
.else
CFLAGS:=		-O ${CFLAGS:N-O*:N-m*}
CONFIGURE_ENV+=		WITH_OPTIMIZE=-O
.endif # defined(WITH_OPTIMIZED_CFLAGS)

.if defined(WITH_LOGGING)
CONFIGURE_ENV+=	WITH_LOGGING=yes
.endif # defined(WITH_LOGGING)

.if defined(WITHOUT_XFT)
CONFIGURE_ENV+=	WITHOUT_XFT=yes
.else
LIB_DEPENDS+=	Xft.2:${PORTSDIR}/x11-fonts/libXft
.endif # !defined(WITHOUT_XFT)

.if defined(WITH_SMB)
USE_GNOME+=	gnomevfs2
CONFIGURE_ENV+=	WITH_SMB=yes
.endif # defined(WITH_SMB)

CPPFLAGS+=		-I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS+=		${PTHREAD_CFLAGS}
LDFLAGS+=		-L${X11BASE}/lib
LIBS+=			${PTHREAD_LIBS}
d44 2
a45 1
EXTRA_SCRIPTS=		${PORTNAME}.rb
a54 5
pre-extract::
	@@${ECHO_MSG}
	@@${ECHO_MSG} "Extracting source (this takes a while) ..."
	@@${ECHO_MSG}

d56 2
a57 12
	@@${SED} -e 's|@@CPPFLAGS@@|${CPPFLAGS}|'		\
		-e 's|@@CFLAGS@@|${CFLAGS}|'		\
		-e 's|@@LDFLAGS@@|${LDFLAGS}|'		\
		-e 's|@@LIBS@@|${LIBS}|'			\
		-e 's|@@X11BASE@@|${X11BASE}|'		\
		-e 's|@@LOCALBASE@@|${LOCALBASE}|'	\
		-e 's|@@FAKEDIR@@|${FAKEDIR}|'		\
		-e 's|@@PERL@@|${PERL5}|'			\
		-e 's|@@KRB5_HOME@@|${KRB5_HOME}|'		\
		<${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig
	@@${SED} -e 's|@@PORTNAME_ICON@@|${PORTNAME_ICON}|' \
		<${FILESDIR}/${PORTNAME}.desktop.in >${WRKDIR}/${PORTNAME}.desktop
d60 5
a64 15
	@@${REINPLACE_CMD} -e  's/%{idldir}/%idldir%/g ; \
		s|"%FULL_NSPR_CFLAGS%"|`nspr-config --cflags`|g ; \
		s|"%FULL_NSPR_LIBS%"|`nspr-config --libs`|g' \
			${WRKSRC}/build/unix/mozilla-config.in
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${PORTNAME}|g ; \
		s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${PORTNAME}|g' \
		< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
.for ii in ${EXTRA_SCRIPTS}
	@@${SED} -e 's|%%MOZILLA%%|${PORTNAME}|g ; \
		s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${FILESDIR}/${ii} > ${WRKDIR}/${ii}
a65 31
.for ii in ${MOZ_PIS_SCRIPTS}
	@@${SED} -e 's|%%MOZILLA%%|${PORTNAME}|g ; \
		s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${FILESDIR}/moz_pis_${ii} > ${WRKDIR}/moz_pis_${ii}
.endfor
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/build/unix/run-mozilla.sh
	@@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
		s|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/security/coreconf/FreeBSD.mk \
		${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
		${WRKSRC}/js/src/Makefile.in
	@@${REINPLACE_CMD} -E -e 's|libesd\.so\.[0-9]+|libesd.so|g' \
		${WRKSRC}/widget/src/gtk2/nsSound.cpp
	@@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.so|g' \
		${WRKSRC}/gfx/src/gtk/nsDeviceContextSpecG.cpp
	@@${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/'

pre-configure:
	@@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
		${FALSE}; \
	fi
d68 2
a69 18
	@@${RM} -rf ${FAKEDIR} ${PLIST}
	@@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
		Makefile ${MAKE_ARGS} ${INSTALL_TARGET}
	@@${MKDIR} ${SCRIPTS_DIR}
	@@${MKDIR} ${MOZ_PIS_DIR}
	${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
	${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g; \
		s|${PORTNAME}-${PORTVERSION}|${PORTNAME}|' \
		${FAKEDIR}/bin/${PORTNAME} \
		${FAKEDIR}/bin/${PORTNAME}-config
	for i in ${EXTRA_SCRIPTS}; do \
		${ECHO_CMD} bin/$${i} >> ${PLIST}; \
	done
	${ECHO_CMD} bin/${PORTNAME} >> ${PLIST}
	${ECHO_CMD} bin/${PORTNAME}-config >> ${PLIST}
.for ii in ${MOZ_PIS_SCRIPTS}
	${INSTALL_SCRIPT} ${WRKDIR}/moz_pis_${ii} ${MOZ_PIS_DIR}/${ii}
.endfor
d76 7
a82 28
	cd ${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|lib/${PORTNAME}/|' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm lib/${PORTNAME}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/${PORTNAME} >> ${PLIST}
	for pcfile in ${PKGCONFIG_FILES}; do \
		${REINPLACE_CMD} -e 's|${PORTNAME}-${PORTVERSION}|${PORTNAME}|g; \
			s|${FAKEDIR}|${PREFIX}|g ; \
			s|${PORTNAME}-nspr = ${PORTVERSION}|nspr >= 4.6.0|g' \
			${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc ; \
		${ECHO_CMD} libdata/pkgconfig/$${pcfile}.pc >> ${PLIST} ; \
	done
	cd ${FAKEDIR}/include/${PORTNAME}-${PORTVERSION} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|include/${PORTNAME}/|' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm include/${PORTNAME}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm include/${PORTNAME} >> ${PLIST}
	${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
	${ECHO_CMD} "@@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} "@@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} "@@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
	cd ${FAKEDIR}/share/idl/${PORTNAME}-${PORTVERSION} \
		&& ${FIND} -s * -type f -o -type l | \
		${SED} -e 's:^:share/idl/${PORTNAME}/:' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's:^:@@dirrm share/idl/${PORTNAME}/:' >> ${PLIST}
		${ECHO_CMD} "@@dirrm share/idl/${PORTNAME}" >> ${PLIST}
		${ECHO_CMD} "@@unexec ${RMDIR} %D/share/idl 2>/dev/null || true" >> ${PLIST}
a84 8
	${MKDIR} ${PREFIX}/lib/${PORTNAME}
	${CHMOD} 755 ${PREFIX}/lib/${PORTNAME}
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/${PORTNAME} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/${PORTNAME}-config ${PREFIX}/bin
	if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
		${MKDIR} ${PREFIX}/lib/browser_plugins ; \
	fi
	${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${PORTNAME}.keep
a93 14
	for pcfile in ${PKGCONFIG_FILES}; do \
		${INSTALL_DATA} ${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc \
			${PREFIX}/libdata/pkgconfig/$${pcfile}.pc ; \
	done
	-${RM} -fr ${PREFIX}/include/${PORTNAME}
	${MKDIR} ${PREFIX}/include/${PORTNAME}
	${CHMOD} 755 ${PREFIX}/include/${PORTNAME}
	cd ${FAKEDIR}/include/${PORTNAME}-${PORTVERSION} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${PORTNAME}
	cd ${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${PORTNAME}
	${MKDIR} ${PREFIX}/share/idl/${PORTNAME}
	cd ${FAKEDIR}/share/idl/${PORTNAME}-${PORTVERSION} && ${FIND} . | \
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${PORTNAME}
d96 5
a100 11
.if !defined(PACKAGE_BUILDING)
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
.for i in ${EXTRA_SCRIPTS}
	${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
.endfor
	${MKDIR} ${PREFIX}/share/applications
	${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
	@@-update-desktop-database
@


1.134
log
@Partially revert the previous commit.  Firefox can only build with specific
extensions (in particular typeaheadfind breaks Find [go figure]).  It is
safer to use a specific list of extensions with Firefox 1.0.x.  It looks
like they've made this better in 1.5, and set a reasonable default list of
extensions.

Basically, we're back to the previous 1.0.7_1,1 set of extensions with the
addition of negotiateauth.

Reported by:	many
@
text
@d11 1
a11 1
PORTREVISION=	3
@


1.133
log
@* Add support of ports-installed Kerberos [1]
* Enable all default extensions [2]

PR:		86961 [2]
Submitted by:	David W. Hankins <David_Hankins@@isc.org> [1]
@
text
@d11 1
a11 1
PORTREVISION=	2
@


1.132
log
@- Fix the sed for libesd and kill the major version of library
  (libesd.so.2 -> libesd.so). [1]
- Update Java plugins by remove old and correct Java 1.5 plugin path. [2]
- Bump the PORTREVISION.

PR:		ports/86430 [1]
Submitted by:	Mark Hobden <markhobden@@gmail.com> [1]
		glewis [2]
@
text
@d11 1
a11 1
PORTREVISION=	1
d43 1
d149 1
@


1.131
log
@Update to 1.0.7.  See
http://www.mozilla.org/products/firefox/releases/1.0.7.html#new for the list
of fixes in this release.

Security:	Fixes http://vuxml.FreeBSD.org/2e28cefb-2aee-11da-a263-0001020eed82.html among other things
@
text
@d11 1
a31 1
ESD_LIB=	libesd.so.2
d65 2
a66 5
	${LOCALBASE}/jdk1.5.0/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \
	${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \
	${LOCALBASE}/jdk1.4.1/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \
	${LOCALBASE}/diablo-jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so \
	${LOCALBASE}/jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so
d184 1
a184 1
	@@${REINPLACE_CMD} -e 's|libesd\.so\.\d+|${ESD_LIB}|g' \
@


1.130
log
@- Patch a security vulnerability (DoS, remote execution) in IDN
  (internationalized domain names) subsystem, also known as "hyphen domain
  name bug"

Submitted by:	Marcus Grando
Obtained from:	Mozilla Project CVS,
		https://bugzilla.mozilla.org/show_bug.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&id=307259
Security:	CAN-2005-2871
		http://secunia.com/advisories/16764/
@
text
@d10 1
a10 2
PORTVERSION=	1.0.6
PORTREVISION=	5
d81 2
a82 2
		NEWTAB "Open external links in a new tab" on \
		CJK "Enable CJK font family support" off
d87 7
a93 7
.if defined(WITH_CJK)
PATCH_SITES+=	http://bbs.ilc.edu.tw/~chinsan/ \
		http://bsdchat.com/dist/firefly-cjk-patchset/ \
		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
PATCHFILES+=	mozilla-1.7.10-cjkfamilyname-20050731.patch.gz
PATCH_DIST_STRIP+=	-p1
.endif
@


1.129
log
@Add support for CJK font family names.  This makes for a better browsing
experience for CJK users.

PR:		84378
Submitted by:	chinsan <chinsan.tw@@gmail.com>
@
text
@d11 1
a11 1
PORTREVISION=	4
@


1.128
log
@- 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 'firefox' 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.
Tested by:	many
@
text
@d82 2
a83 1
		NEWTAB "Open external links in a new tab" on
d87 9
@


1.127
log
@Install IDL files into ${PREFIX}/share/idl/firefox.

Obtained from:	www/mozilla
@
text
@d6 1
d11 1
a11 1
PORTREVISION=	1
d21 4
a24 2
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png
d47 1
d49 7
d60 1
a60 2
FIREFOX=	${PORTNAME}
FF_VER=		${PORTVERSION}
d62 2
a63 4
FIREFOX_ICON=	${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm

PKGCONFIG_FILES=firefox-gtkmozembed firefox-js firefox-xpcom \
		firefox-nspr firefox-nss firefox-plugin
d66 1
d72 4
a75 4
SYSTEM_PREFS=		${FAKEDIR}/lib/${FIREFOX}-${FF_VER}/defaults/pref/firefox.js
SCRIPTS_DIR=		${FAKEDIR}/lib/${FIREFOX}-${FF_VER}
MOZ_PIS_SCRIPTS=	S50cleanhome
MOZ_PIS_DIR=		${SCRIPTS_DIR}/init.d
d143 2
a144 2
	@@${SED} -e 's|@@FIREFOX_ICON@@|${FIREFOX_ICON}|' \
		<${FILESDIR}/firefox.desktop.in >${WRKDIR}/firefox.desktop
d147 5
a151 1
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g ; \
d155 1
a155 1
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g' \
d158 1
a158 1
	@@${SED} -e 's|%%MOZILLA%%|${FIREFOX}|g ; \
d164 1
a164 1
	@@${SED} -e 's|%%MOZILLA%%|${FIREFOX}|g ; \
d173 1
a173 2
		${WRKSRC}/configure \
		${WRKSRC}/nsprpub/configure
a174 1
		${WRKSRC}/nsprpub/config/config.mk \
d182 6
a187 6
.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
.endfor
d198 1
a198 1
		Makefile ${MAKE_ARGS} install
d201 1
a201 1
	${ECHO_CMD} 'share/applications/firefox.desktop' >> ${PLIST}
d203 3
a205 3
		s|${FIREFOX}-${FF_VER}|${FIREFOX}|' \
		${FAKEDIR}/bin/firefox \
		${FAKEDIR}/bin/firefox-config
d209 2
a210 2
	${ECHO_CMD} bin/firefox >> ${PLIST}
	${ECHO_CMD} bin/firefox-config >> ${PLIST}
d220 2
a221 2
	cd ${FAKEDIR}/lib/${FIREFOX}-${FF_VER} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|lib/${FIREFOX}/|' >> ${PLIST} \
d223 2
a224 2
		${SED} -e 's|^|@@dirrm lib/${FIREFOX}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/firefox >> ${PLIST}
d226 3
a228 2
		${REINPLACE_CMD} -e 's|${FIREFOX}-${FF_VER}|${FIREFOX}|g; \
			s|${FAKEDIR}|${PREFIX}|' \
d232 2
a233 2
	cd ${FAKEDIR}/include/${FIREFOX}-${FF_VER} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|include/${FIREFOX}/|' >> ${PLIST} \
d235 2
a236 2
		${SED} -e 's|^|@@dirrm include/${FIREFOX}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm include/${FIREFOX} >> ${PLIST}
d241 1
a241 1
	cd ${FAKEDIR}/share/idl/${FIREFOX}-${FF_VER} \
d243 1
a243 1
		${SED} -e 's:^:share/idl/${FIREFOX}/:' >> ${PLIST} \
d245 3
a247 3
		${SED} -e 's:^:@@dirrm share/idl/${FIREFOX}/:' >> ${PLIST}
		${ECHO_CMD} "@@dirrm share/idl/${FIREFOX}" >> ${PLIST}
		${ECHO_CMD} "@@unexec rmdir %D/share/idl 2>/dev/null || true" >> ${PLIST}
d250 4
a253 4
	${MKDIR} ${PREFIX}/lib/${FIREFOX}
	${CHMOD} 755 ${PREFIX}/lib/${FIREFOX}
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox ${PREFIX}/bin
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox-config ${PREFIX}/bin
d271 10
a280 10
	-${RM} -fr ${PREFIX}/include/${FIREFOX}
	${MKDIR} ${PREFIX}/include/${FIREFOX}
	${CHMOD} 755 ${PREFIX}/include/${FIREFOX}
	cd ${FAKEDIR}/include/${FIREFOX}-${FF_VER} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${FIREFOX}
	cd ${FAKEDIR}/lib/${FIREFOX}-${FF_VER} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${FIREFOX}
	${MKDIR} ${PREFIX}/share/idl/${FIREFOX}
	cd ${FAKEDIR}/share/idl/${FIREFOX}-${FF_VER} && ${FIND} . | \
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${FIREFOX}
d290 3
a292 3
	${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/applications
	${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/firefox/default.xpm \
		${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
@


1.126
log
@- Update to 1.0.6
@
text
@d10 1
d229 7
d266 3
@


1.125
log
@Use ${PORTVERSION} instead of duplicating its value in the MASTER_SITE_SUBDIR.

Reported by:	Andrzej Tobola <ato@@iem.pw.edu.pl>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
@


1.124
log
@Update to 1.0.5.  This release addresses numerous security bugs as well as
adds some stability enhancements.

Security:	See http://www.mozilla.org/projects/security/known-vulnerabilities.html#Firefox for a list of fixed vulnerabilities in 1.0.5
@
text
@d13 1
a13 1
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0.5/source
@


1.123
log
@- Update to 1.0.4
  This release fixes 3 very critical bugs. [1]

Release notes:	http://www.mozilla.org/products/firefox/releases/1.0.4.html
Security notes:	http://www.mozilla.org/projects/security/known-vulnerabilities.html
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
d13 1
a13 1
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0.4/source
@


1.122
log
@- Install .desktop file in share/applications instead of
  share/gnome/applications so we can remove the gnomehier
  dependency so non-gnome users don't have to install a bunch
  of un-needed gnome directories.
- Remove WITH_MENU option from mozilla[-devel], .desktop file
  will always be installed now.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
d13 1
a13 1
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0.3/source
@


1.121
log
@- Update to 1.0.3
- Re-enable cups support

Release Notes:	http://www.mozilla.org/products/firefox/releases/1.0.3.html
@
text
@d51 1
a51 2
FIREFOX_ICON=	firefox.png
FIREFOX_ICON_SRC=${WRKSRC}/other-licenses/branding/firefox/content/alert-exclam.png
d189 1
a189 2
	${ECHO_CMD} 'share/gnome/pixmaps/${FIREFOX_ICON}' >> ${PLIST}
	${ECHO_CMD} 'share/gnome/applications/firefox.desktop' >> ${PLIST}
d266 2
a267 2
	${INSTALL_DATA} ${FIREFOX_ICON_SRC} ${PREFIX}/share/gnome/pixmaps/${FIREFOX_ICON}
	${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/gnome/applications
@


1.120
log
@- Remove mng support, it doesn't work
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
d13 1
a13 1
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0.2/source
d169 1
a169 1
	@@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.no|g' \
@


1.119
log
@* Update to 1.0.2 to fix security issues (see
  http://www.vuxml.org/freebsd/7d2aac52-9c6b-11d9-99a7-000a95bc6fae.html and
  http://www.vuxml.org/freebsd/741f8841-9c6b-11d9-9dbe-000a95bc6fae.html for
  more details)
* Fix some minor cosmetic issues with the startup script

Submitted by:	Jose M Rodriguez (freebsd) <josemi@@freebsd.jazztel.es>
Approved by:	portmgr (implicit)
@
text
@d20 1
a20 2
		png.5:${PORTSDIR}/graphics/png \
		mng.1:${PORTSDIR}/graphics/libmng
d112 1
a112 1
IGNORE=	"core dumps on alpha during post-build"
@


1.118
log
@Bump PORTREVISION to chase the glib20 shared lib version change.
@
text
@d9 1
a9 2
PORTVERSION=	1.0.1
PORTREVISION=	3
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0.1/source
DISTNAME=	${PORTNAME}-1.0.1-source
d229 2
a230 2
	${ECHO_CMD} "@@exec update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} "@@unexec update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
@


1.117
log
@Update freetype2 to 2.1.9, and patch Mozilla and friends accordingly.
Note: since 2.1.9 is ABI compatible with 2.1.7, no recompilation is
necessary.

PR:		78385
Submitted by:	lesi
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.116
log
@Fix the startup script so that arguments are passed correctly to the browser
binary.

PR:		78175 (firefox)
		78217 (mozilla-devel)
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es>
@
text
@@


1.115
log
@Add a Mozilla Mozilla Plugable Init Script (PIS) to handle automatically
sanitizing each users' home directory when starting Firefox.  This should
make upgrades much more painless.

PR:		75816
Submitted by:	Jose M Rodriguez (freebsd) <josemi@@freebsd.jazztel.es>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.114
log
@* Update to 1.0.1 (see http://www.mozilla.org/products/firefox/releases/ for
  the release notes)
* Add a new Firefox launch script [1]
* Merge URI helper patch from www/mozilla
* Add option to make URLs open in new tabs instead of new windows [1]
* Sanitize CFLAGS [1]
* Update the GNOME .desktop file with i18n translations and MIME types [1]

PR:		75816 [1]
Submitted by:	Jose M Rodriguez (freebsd) <josemi@@freebsd.jazztel.es> [1]
@
text
@d10 1
d65 4
a68 1
SYSTEM_PREFS=	${FAKEDIR}/lib/${FIREFOX}-${FF_VER}/defaults/pref/firefox.js
d152 6
d190 2
d203 3
@


1.113
log
@Correct a typo that prevented the Firefox Ruby script from being added
to the plist.

Reported by:	pointyhat via kris
Approved by:	portmgr (implicit)
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	7
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0/source
DISTNAME=	${PORTNAME}-1.0-source
d34 1
a34 1
USE_GNOME=	gtk20 libidl gnomehier
d64 2
d70 2
a71 1
		SMB "Enable smb:// URI support using gnomevfs" off
d81 1
a81 2
CFLAGS+=		-O2
CONFIGURE_ENV+=		WITH_OPTIMIZE=-O2
d83 1
d142 6
d191 6
d215 2
d259 1
@


1.112
log
@- Remove WITH_NEW_ICON knob
- Mozilla license team has approved the FreeBSD Gnome team to
  use official branding for firefox and thunderbird [1]
  o Add  --enable-official-branding to mozconfig
  o Install official thunderbird/firefox icon as default.xpm icon
- Fix error when running firefox/thunderbird -v [2]
- Bump PORTREVISION

References:
	http://www.mozilla.org/foundation/licensing.html [1]
	http://people.freebsd.org/~ahze/firefox_thunderbird-approved.txt [1]
PR:		ports/75262 [2]
Submitted by:	girgen [2]
@
text
@d10 1
a10 1
PORTREVISION=	6
d179 1
a179 1
		${ECHO_CMD} bin/${i} >> ${PLIST}; \
@


1.111
log
@- Add EXTRACT_AFTER_ARGS to speed up extract a little

Obtained From:	www/mozilla
@
text
@d10 1
a10 1
PORTREVISION=	5
d69 1
a69 2
		SMB "Enable smb:// URI support using gnomevfs" off \
		NEW_ICON "Install the new Firefox branding icon" off
d239 2
a240 1
.if defined(WITH_NEW_ICON)
a242 3
.endif # defined(WITH_NEW_ICON)
	${INSTALL_DATA} ${FIREFOX_ICON_SRC} ${PREFIX}/share/gnome/pixmaps/${FIREFOX_ICON}
	${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/gnome/applications
@


1.110
log
@* Fix build with upcoming X.Org 6.8.1 [1]
* Temporarily disable CUPS support to fix a crash do to a symbol conflict
  between OpenSSL and NSS [2]

PR:		75045 [2]
Submitted by:	lesi [1]
@
text
@d43 7
@


1.109
log
@Bump PORTREVISION for plist changes
@
text
@d10 1
a10 1
PORTREVISION=	4
d147 2
@


1.108
log
@- Fix plist in firefox [1]
- Touch lib/browser_plugins/.${PORTNAME}.keep so this directory will not be removed durring deinstall of mozilla[-devel] or firefox if you still have mozilla[-devel] or firefox installed.

Pointed out by:	pointy hat [1]
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.107
log
@Fix plist by fixing the way EXTRA_SCRIPTS (bin/firefox.rb) is added to plist.
@
text
@d191 2
d202 1
@


1.106
log
@Be sure to create the browser_plugins during package install as well.  Some
ports (e.g. www/ump) depend on this directory being there.

Reported by:	pointyhat via kris
@
text
@d171 1
a171 1
		${ECHO_CMD} bin/${i} ; \
@


1.105
log
@Use -Bsymbolic when linking nss to avoid symbol conflicts with libraries
that include OpenSSL (e.g. CUPS).  This may help alleviate the problem with
Firefox crashing when trying to print when using CUPS.
@
text
@d129 1
@


1.104
log
@Instead of using Xvfb, and evil black magic to create the extensions
repository, use the hidden "-register" option instead.  This has the
advantage of not requiring an X DISPLAY and not modifying any
preferences.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.103
log
@Fix pkg-config files by re-adding REINPLACE_CMD line

Pointed out by:	Pascal Hofstee
Approved by:	marcus (co mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
a23 1
RUN_DEPENDS=	Xvfb:${X_VFBSERVER_PORT}
@


1.102
log
@Change the Firefox installation directory to be more manageable.  Now,
Firefox is installed similar to Mozilla in that its main installation
directory no longer has a Firefox version number in its name.  This will
help maintainers of ports that depend on Firefox stay in sync more
easily.

Add i18n Support [1]

PR:		ports/73837 [1]
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es> [1]
Approved by:	marcus (co mentor)
@
text
@d181 2
a182 1
		${REINPLACE_CMD} -e 's|${FIREFOX}-${FF_VER}|${FIREFOX}|g' \
@


1.101
log
@* Update to 1.0
* Install a firefox desktop entry for the GNOME desktop [1]
* Fix the post-install plug-in repository generation when root is using
  a non-default shell [2]

Submitted by:	ahze [1]
		Clemens Fischer <ino-qc@@spotteswoode.de.eu.org> [2]
@
text
@d10 1
d29 1
a29 1
REALVERSION=	1.0
a31 2
LOCAL_PREFIX=	${PREFIX}/lib/${PORTNAME}
NO_MTREE=	yes
d44 3
d50 2
a51 2
PKGCONFIG_FILES=mozilla-gtkmozembed mozilla-js mozilla-xpcom \
		mozilla-nspr mozilla-nss mozilla-plugin
a59 1
		HEADERS "Install headers and IDL files" on \
a115 2
# FAKEDIR is here so that nsinstall will install under FAKEDIR, not
# under PREFIX.  See pre-install and do-install for details.
d122 1
a122 1
		-e 's|@@PREFIX@@|${FAKEDIR}/lib/firefox|'	\
d129 6
a134 1
	@@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
d136 1
a136 1
	@@${PERL} -pi -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
d140 1
a140 1
	@@${PERL} -pi -e 's|-pthread|${PTHREAD_LIBS}|g' \
d145 1
a145 1
	@@${PERL} -pi -e 's|libesd\.so\.\d+|${ESD_LIB}|g' \
d149 1
a149 2
	${MV} ${WRKSRC}/${ii}/all.js ${WRKSRC}/${ii}/all.js.bak
	${SED} -e '/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
d151 1
a151 5
	< ${WRKSRC}/${ii}/all.js.bak > ${WRKSRC}/${ii}/all.js
.endfor
.for ii in ${PKGCONFIG_FILES}
	@@${PERL} -pi -e 's|mozilla-|firefox-|g' \
		${WRKSRC}/build/unix/${ii}.pc.in
a159 5
post-build:
# XXX This works around an install problem that is triggered when
# toolkit/profile/src is built after profile/src.
	@@${TOUCH} -f ${WRKSRC}/profile/build/libprofile.so

a160 3
# Overview:  the program installs itself in FAKEDIR, then a list is made of the
# files and directories in there.  This is the PLIST (packing list) for the
# package, replacing the traditional pkg-plist file.
a161 1
	@@${MKDIR} ${FAKEDIR}/lib/browser_plugins
a163 24
.for ii in mac win
.for jj in / .jar
	@@${RM} -rf ${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${REALVERSION}/chrome/en-${ii}${jj}
.endfor
.endfor
	@@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${REALVERSION}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
	@@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${REALVERSION}|g' \
		< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}

.if !defined (WITH_HEADERS)
	@@${RM} -fr ${FAKEDIR}/share/idl ${FAKEDIR}/include
.endif
.for ii in firefox Firefox firefox-config ${EXTRA_SCRIPTS}
	@@${ECHO_CMD} bin/${ii} >> ${PLIST}
.endfor
	@@cd ${FAKEDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \
	${FIND} * -type d -empty | ${SORT} | ${SED} -e \
		"s:^:@@exec ${MKDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \
	${FIND} * -type d -empty | ${SORT} -r | ${SED} -e \
		"s:^:@@unexec ${RMDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \
	${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@@dirrm :" | \
		${GREP} / >> ${PLIST}
d166 24
d192 27
a218 3
# This is the actual installation.  First, the contents of FAKEDIR are
# just copied to PREFIX.
	cd ${FAKEDIR} && ${FIND} * | ${CPIO} -dmp --quiet ${PREFIX}
a226 20
.for ii in f F
	${RM} -f ${PREFIX}/bin/${ii}irefox
	${LN} -sf ${LOCAL_PREFIX}/bin/firefox ${PREFIX}/bin/${ii}irefox
.endfor
	${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/firefox
	${RM} -f ${PREFIX}/bin/firefox-config
	${LN} -sf ${LOCAL_PREFIX}/bin/firefox-config \
		${PREFIX}/bin/firefox-config
	${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/firefox-config
	${FIND} ${LOCAL_PREFIX}/lib/pkgconfig -type f | ${XARGS} ${PERL} -pi -e \
		's|${FAKEDIR}|${PREFIX}|g'
	-if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
		for jpi in ${JPI_LIST}; do \
			if [ -f $${jpi} ]; then \
				${LN} -sf $${jpi} \
					${PLUGINSDIR}/libjavaplugin_oji.so ; \
				break; \
			fi; \
		done; \
	fi
d229 1
a229 1
		${LOCAL_PREFIX}/lib/${PORTNAME}-${REALVERSION}/chrome/icons/default/default.xpm
@


1.100
log
@Bump PORTREVISIONS for all ports that depend on atk or pango to ease in the
big upgrade.
@
text
@d9 1
a9 2
PORTVERSION=	1.0.r2
PORTREVISION=	1
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0rc2/source
DISTNAME=	${PORTNAME}-1.0rc2-source
d37 1
a37 1
USE_GNOME=	gtk20 libidl
d45 3
d126 2
d198 2
d237 2
@


1.99
log
@update to 1.0.r2

Approved by:	marcus (co mentor)
@
text
@d10 1
@


1.98
log
@Update to 1.0.r (aka 1.0 Release Candidate 1).  So far, the release notes have
not been published, but see
http://www.squarefree.com/burningedge/releases/1.0.html for a list of changes.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.r1
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/1.0rc1
DISTNAME=	${PORTNAME}-1.0rc1-source
@


1.97
log
@* Remove some patches that are no longer needed
* Workaround a crash that can be triggered by JavaScript pop-up windows [1]
* Use Xvfb to initialize the Firefox extensions datastore as root

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=264557
@
text
@d9 2
a10 2
PORTVERSION=	1.0.1.p
PORTREVISION=	4
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${REALVERSION}
DISTNAME=	${PORTNAME}-1.0PR-source
d28 1
a28 1
REALVERSION=	0.10.1
@


1.96
log
@Check PERL_LEVEL and not OSVERSION when deciding if we need to use the extra
patch to fix the build.
@
text
@d10 1
a10 1
PORTREVISION=	2
d21 3
a23 4
		mng.1:${PORTSDIR}/graphics/libmng \
		freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip \
		freetype-config:${PORTSDIR}/print/freetype2
d141 2
a142 1
	${SED} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
d174 2
a175 1
	@@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${REALVERSION}|g' \
@


1.95
log
@Bump PORTREVISION for the last commit since it re-enables remote execution
support.
@
text
@d103 1
a103 1
.if ${OSVERSION} < 500000
@


1.94
log
@Fix build with Perl 5.00503.

PR:		72632
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.93
log
@* Update to 1.0.1.p (aka 0.10.1, aka 1.0PR)
* Add support for installing the new Firefox brand icon by defining
  WITH_NEW_ICON [1]

For all that's new, check out http://www.mozilla.org/products/firefox/releases/

PR:		71781 [1]
Submitted by:	Radek Kozlowski <radek@@raadradd.com> [1]
@
text
@d103 4
@


1.92
log
@Patch the various recently reported security vulnerabilities in Mozilla.
This is being done instead of the update to 1.0 PR 1 since we're in a ports
freeze, and too many big changes is not a good idea.

This update covers the following Mozilla bugs:

250862
255067
256316

Thanks to nectar for scraping all of these patches together.

Obtained from:	Mozilla CVS
Approved by:	portmgr (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.3
d13 2
a14 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}-source
d22 1
a22 2
		freetype.9:${PORTSDIR}/print/freetype2 \
		nspr4.1:${PORTSDIR}/devel/nspr
d29 1
a29 1
FAKESUBDIR=	${FAKEDIR}/lib/${PORTNAME}
d56 1
a56 1
		HEADERS "Install headers and IDL files" off \
d60 2
a61 1
		SMB "Enable smb:// URI support using gnomevfs" off
a162 1
	@@${MKDIR} ${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${PORTVERSION}/extensions.port
d167 1
a167 1
	@@${RM} -rf ${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${PORTVERSION}/chrome/en-${ii}${jj}
d170 1
a170 3
	@@${INSTALL_DATA} ${FILESDIR}/Extensions.rdf \
		${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${PORTVERSION}/extensions.port
	@@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \
d172 1
a172 1
	@@${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \
d221 4
@


1.91
log
@Update to 0.9.3 to fix a few security issues:

http://bugzilla.mozilla.org/buglist.cgi?bug_id=251381,249004,250906,253121

Also, add a pkg-deinstall script to remove the auto-generated registry files.

PR:		70031
@
text
@d10 1
@


1.90
log
@Fix global extension and theme installation by making sure the path to the
XPI file does no contain a leading "file://" when passed to the extension
manager.

See http://bugzilla.mozilla.org/show_bug.cgi?id=250847 for more details.

Reported by:	ale
@
text
@d9 1
a9 2
PORTVERSION=	0.9.1
PORTREVISION=	1
d44 1
d174 2
@


1.89
log
@Update to 0.9.1.
@
text
@d10 1
@


1.88
log
@* Add optional support for gnome-vfs support (e.g. smb:// and sftp:// URLs) [1]
* Fix a problem with the pkg-config files referencing mozilla components
  and not firefox components

PR:		68221 [1]
Submitted by:	Tom McLaughlin <tmclaugh@@sdf.lonestar.org> [1]
@
text
@d9 1
a9 2
PORTVERSION=	0.9
PORTREVISION=	4
@


1.87
log
@Add a post-rendered Extensions.rdf so that the default theme and extension
shows up.

Tested by:	Tom McLaughlin <tmclaugh@@sdf.lonestar.org>
@
text
@d10 1
a10 1
PORTREVISION=	3
d46 3
d59 2
a60 1
		XFT "Enable support for anti-aliased fonts" on
d86 5
d139 4
@


1.86
log
@* Try a little harder to get firefox to work without first running as root
* Make sure optimized CFLAGS are actually respected [1]
* Frobnicate the mozconfig file a little bit to be more inline with typical
  Linux builds
* Try a safer hack to ensure the install completes okay

Reported by:	kris [1]
@
text
@d10 1
a10 1
PORTREVISION=	2
a140 2
#	@@(cd ${WRKSRC}/dist/lib && ${LN} -sf ../../profile/src/libprofile_s.a \
#		.)
d149 1
d157 2
@


1.85
log
@Fix the link to firefox-config.

Submitted by:	Franz Klammer <klammer@@webonaut.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
a59 4
.if ${ARCH} == "i386"
CONFIGURE_ENV+=		WITH_REORDER=yes
.endif # ${ARCH} == "i386"

d67 3
d139 5
a143 4
	# XXX This works around an install problem that is triggered when
	# toolkit/profile/src is built after profile/src.
	@@(cd ${WRKSRC}/dist/lib && ${LN} -sf ../../profile/src/libprofile_s.a \
		.)
@


1.84
log
@Fix a typo in the pkg-install script, and add a hack so that firefox does not
need to be run as root before running it as other users.
@
text
@d10 1
d193 1
a193 1
	${LN} -sf ${LOCAL_PREFIX}/bin/mozilla-config \
d195 1
a195 1
	${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/mozilla-config
@


1.83
log
@Update to 0.9.  For a complete list of what's new, plus an important
list of Known Issues, see:

http://www.mozilla.org/products/firefox/releases/0.9.html

This update also includes a new pkg-install script based on ports/65590
from Thierry Thomas <thierry@@pompo.net>.  However...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
After installing Firefox, you must su - to root, and run ``firefox'' before
running it as any other user.  If you do not su - to root, you may lose some
of your user settings.  If you try to run Firefox as a normal user without
first running it as root, the browser will not show up.  This is a known issue
with Firefox, and they hope to address it in a future release.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@
text
@d180 3
a182 1
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.82
log
@Perl is only needed for building this.
@
text
@d9 1
a9 2
PORTVERSION=	0.8
PORTREVISION=	5
d13 1
a13 1
DISTNAME=	${PORTNAME}-source-${PORTVERSION}
d27 1
a27 2
CONFIGURE_ENV=	WITH_GTK2=yes \
		LOCALBASE=${LOCALBASE}
d43 1
d59 4
d123 1
a123 1
	@@${PERL} -pi -e 's|libesd\.so\.0|${ESD_LIB}|g' \
d125 2
a126 2
.for ii in modules/libpref/src/init browser/app/profile \
	calendar/sunbird/app/profile
d138 6
d154 1
a154 1
	@@${RM} -rf ${FAKEDIR}/lib/mozilla-1.6/chrome/en-${ii}${jj}
d157 2
d180 1
@


1.81
log
@Chase the glib20 update, and bump all affected ports' PORTREVISIONs.
@
text
@d42 1
a42 1
USE_PERL5=	yes
@


1.80
log
@Forced commit to note why we don't build with a bind port that has
overridden the base.  To quote from eik:

[Bind] overwrites /usr/include/netdb.h and give a wrong definition for
`h_errno' when _REENTRANT is defined. This causes link errors where
`__h_errno' is undefined.

Requested by:	linimon
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.79
log
@Borrow from  the OpenLDAP ports, and refuse to build if bind has been
installed with PORT_REPLACES_BASE_BIND defined.

PR:		61756
Obtained from:	OpenLDAP ports
@
text
@@


1.78
log
@Chase the new location of libXft.
@
text
@d129 6
@


1.77
log
@Fix up the port-install substitutions so that we operate on the correct files.

Reported by:	Franz Klammer <klammer@@webonaut.com>
@
text
@d76 1
a76 1
LIB_DEPENDS+=	Xft.2:${PORTSDIR}/x11-fonts/Xft
@


1.76
log
@Remove the ugly libnspr hack, and be a little more clever when adding
libiconv support.  While this approach adds an extra patch, it insures
that the built-in nspr will used without the need for additional messy
symlinks.
@
text
@a168 1
	${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/${ii}irefox
d170 1
d174 1
a174 1
	${PERL} -pi -e 's|${FAKEDIR}|${PREFIX}|g' ${LOCAL_PREFIX}/bin/firefox-config
@


1.75
log
@Fix the window ID in firefox.rb (new PORTREVISION).

PR:		62735
Submitted by:	obraun
@
text
@d28 2
a29 1
CONFIGURE_ENV=	WITH_GTK2=yes
d81 1
a81 1
LDFLAGS+=		-L${X11BASE}/lib -L${LOCALBASE}/lib
a148 1
	@@${ECHO_CMD} lib/firefox/lib/mozilla-1.6/libnspr4.so.1 >> ${PLIST}
a176 2
	${LN} -sf ${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so \
		${LOCAL_PREFIX}/lib/mozilla-1.6/libnspr4.so.1
@


1.74
log
@Add a symlink from libnspr4.so to libnspr4.so.1 in the LOCAL_PREFIX to
workaround a symbol problem with the system libnspr on certain systems.
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.73
log
@* Add ${LOCALBASE} to the list of include and lib search paths so we can
  properly detect libiconv support [1]
* Take care of a few more pthread substitutions
* Bump PORTREVISION

Reported by:	Andrew Muhametshin <andrew@@trifon.ru>
@
text
@d148 1
d177 2
@


1.72
log
@Avoid REINPLACE_CMD dependency.
@
text
@d10 1
a10 1
PORTREVISION=	2
d78 1
a78 1
CPPFLAGS+=		-I${X11BASE}/include
d80 1
a80 1
LDFLAGS+=		-L${X11BASE}/lib
d110 4
a113 2
	@@${PERL} -pi -e 's|-lc_r|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure
@


1.71
log
@We don't need to use "touch" to make an empty PLIST file.
@
text
@a41 1
USE_REINPLACE=	yes
d119 6
a124 5
	@@${REINPLACE_CMD}  -e \
		'/accessibility.typeaheadfind.enablesound/s/true/false/' \
		${WRKSRC}/modules/libpref/src/init/all.js \
		${WRKSRC}/browser/app/profile/all.js \
		${WRKSRC}/calendar/sunbird/app/profile/all.js
@


1.70
log
@Add comments explaining the installation process.
@
text
@a131 1
	@@${TOUCH} ${PLIST}
@


1.69
log
@Don't install unnecessary MacOS/Windows-related material.
@
text
@d96 2
d127 3
d156 2
@


1.68
log
@* Fix broken installation (grrr..this fake thing is more trouble than it's
  worth)
* Fix up some path issues in the Makefile
* Minor fix to plug-in installation
* Restore Franz's fix for the LD_LIBRARY_PATH PREFIX problem
* Bump PORTREVISION
@
text
@d130 6
@


1.67
log
@Backuo the previous commit before anyone notices.  I have a big patch coming
that will fix this and some other things.  No need to bump PORTREVISION
twice.
@
text
@d10 1
a10 1
PORTREVISION=	1
d36 1
a36 1
PLUGINSDIR=	${PREFIX}lib/browser_plugins
d102 1
a102 1
		-e 's|@@PREFIX@@|${PREFIX}/lib/firefox|'	\
d126 2
a127 1
	@@${MKDIR} ${FAKEDIR} ${FAKEDIR}/lib/browser_plugins
d136 1
a136 1
	@@cd ${FAKEDIR}; ${FIND} * ! -type d | ${SORT} >>${PLIST}; \
d154 1
d159 4
a162 2
	${RM} -f ${PLUGINSDIR}/libjavaplugin_oji.so
	if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
d165 2
a166 2
				-${LN} -sf $${jpi} \
					${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
@


1.66
log
@Fix accidental change of %%PREFIX%% to %PREFIX%% in
patch-build_unix_run-mozilla.sh (new PORTREVISION).

Noticed by:	Franz Klammer of webonaut.com
Pointy hat to:	moi
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.65
log
@Fix a bug where @@PREFIX@@ was being substituted with the fake package prefix
paths.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.64
log
@* Import the JPI_LIST changes from www/mozilla so that multiple JPI versions
  will be tried.  There is one addition, though.  JPI_LIST is now
  overrideable. [1]
* Remove the bit about Perl version from pkg-message.  We support all versions
  of Perl now.

Requested by:	ale
@
text
@d10 1
d102 1
a102 1
		-e 's|@@PREFIX@@|${FAKEDIR}/lib/firefox|'	\
@


1.63
log
@Add Firefox after a repo copy from mozilla-firebird.  Firefox is the next
release of the Firebird web browser with a new name to avoid conflicts with
the Firebird database.  This is version 0.8.

http://www.mozilla.org/products/firefox/releases/

* Update to 0.8 and change name to firefox [1]
* Make PLIST from a fake installation [1]
* Restore original credit and portname in Makefile [1]
* Optionally install headers and IDL files [2]
* Use PERL instead of REINPLACE_CMD in a few places [1]
* Use OPTIONS
* Enable the Inspector extension
* Fix another possible esound related problem
* Enable basic optimizations if WITH_DEBUG is not specified

PR:		62631 [2]
Submitted by:	trevor [1] [2]
@
text
@a30 1
JREDIR=		${LOCALBASE}/jdk1.3.1/jre
d45 6
d157 9
a165 3
	-${LN} -sf \
		${JREDIR}/plugin/${ARCH}/ns600/libjavaplugin_oji.so \
		${PLUGINSDIR}/libjavaplugin_oji.so
@


1.62
log
@* Fix a bug where Firebird would lock up after typing any text.  This had to
  do with esound being installed, but not being used (e.g. when not running
  under the GNOME Desktop).  What happens now is sound support is disabled by
  default.  If you wish to enable Type Ahead Find sound support, edit your
  prefs.js file, and add:

  user_pref("accessibility.typeaheadfind.enablesound", true);

* Make portlint happy by not including anything after bsd.port.post.mk
* Clean up the pkg-message a bit to reflect reality with respect to Perl

Thanks to casaveli on BSDForums for finding it was esound causing the lock up
as well as testing the patch mentioned above.
@
text
@d1 3
a3 3
# New ports collection makefile for:	mozilla-firebird
# Date created:			May 31, 2003
# Whom:				Joe Marcus Clarke <marcus@@FreeBSD.org>
d8 2
a9 3
PORTNAME=	firebird
PORTVERSION=	0.7
PORTREVISION=	3
d12 2
a13 3
MASTER_SITE_SUBDIR=	firebird/releases/${PORTVERSION}
PKGNAMEPREFIX=	mozilla-
DISTNAME=	MozillaFirebird-source-${PORTVERSION}
d26 1
d28 10
a37 4
USE_X_PREFIX=	yes

ALL_TARGET=	default
USE_ICONV=	yes
d40 1
d43 2
a44 1
HAS_CONFIGURE=	yes
d46 5
a50 6
NO_MTREE=		yes
WRKSRC=			${WRKDIR}/mozilla
LOCAL_SUBDIR=		lib/${PORTNAME}
LOCAL_PREFIX=		${PREFIX}/${LOCAL_SUBDIR}
JREDIR=			${LOCALBASE}/jdk1.3.1/jre
PLUGINSDIR=		${PREFIX}/lib/browser_plugins
a53 7
#.if ${PERL_LEVEL} < 500601
#.undef NO_IGNORE
#BROKEN=	Mozilla Firebird only supports the ports versions of Perl.
#BROKEN+=If you have installed a Perl port, and are getting this message,
#BROKEN+=please make sure you have given the command \'use.perl port\'.
#.endif # ${PERL_LEVEL} < 500601

d78 1
a78 1
EXTRA_SCRIPTS=		firebird.rb
d96 1
a96 1
		-e 's|@@PREFIX@@|${LOCAL_PREFIX}|'	\
d101 1
a101 1
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
d103 1
a103 1
	@@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g' \
d105 2
a106 2
	@@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/nsprpub/config/FreeBSD.mk \
d110 4
a113 1
	@@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
d119 20
a138 2
	${RM} -fr ${LOCAL_PREFIX}
	-${MKDIR} ${PLUGINSDIR}
d143 9
a151 11
.endfor # i in ${EXTRA_SCRIPTS}
	${RM} -f ${PREFIX}/bin/firebird
	${LN} -s ${LOCAL_PREFIX}/bin/MozillaFirebird \
		${PREFIX}/bin/firebird
	${RM} -f ${PREFIX}/bin/MozillaFirebird
	${LN} -s ${LOCAL_PREFIX}/bin/MozillaFirebird \
		${PREFIX}/bin/MozillaFirebird
	${RM} -f ${PREFIX}/bin/firebird-config
	${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \
		${PREFIX}/bin/firebird-config
	-${RM} -f ${PLUGINSDIR}/libjavaplugin_oji.so
a154 22
	${RM} -fr ${LOCAL_PREFIX}/share/idl
	${RM} -fr ${LOCAL_PREFIX}/include

cons-plist:
	-${RM} -f ${PLIST}
	${TOUCH} ${PLIST}
	${ECHO_CMD} bin/firebird >>${PLIST}
	${ECHO_CMD} bin/MozillaFirebird >>${PLIST}
	${ECHO_CMD} bin/firebird-config >>${PLIST}
.for i in ${EXTRA_SCRIPTS}
	${ECHO_CMD} bin/${i} >>${PLIST}
.endfor # i in ${EXTRA_SCRIPTS}
	cd ${PREFIX}; \
	${FIND} ${LOCAL_SUBDIR} ! -type d | ${SORT} >>${PLIST}; \
	${FIND} ${LOCAL_SUBDIR} -type d -empty | ${SORT} \
	  | ${SED} -e "s:^:@@exec ${MKDIR} %D/:" -e "s:$$: || true:" \
	  >> ${PLIST}; \
	${FIND} ${LOCAL_SUBDIR} -type d -empty | ${SORT} -r \
	  | ${SED} -e "s:^:@@unexec ${RMDIR} %D/:" -e "s:$$: || true:" \
	  >> ${PLIST}; \
	${FIND} ${LOCAL_SUBDIR} -type d ! -empty | ${SORT} -r \
		| ${SED} -e "s:^:@@dirrm :" >> ${PLIST}
@


1.61
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d10 1
a10 1
PORTREVISION=	2
a23 1
		iconv.3:${PORTSDIR}/converters/libiconv \
d32 1
d111 4
d120 1
a120 1
install-extra:
a123 2

link-bins:
a132 2

link-java:
d135 2
a136 4
	  ${JREDIR}/plugin/${ARCH}/ns600/libjavaplugin_oji.so \
	  ${PLUGINSDIR}/libjavaplugin_oji.so

cleanup-install:
a159 2
.PHONY: install-extra link-bins link-java cleanup-install cons-plist

a160 10

# <alane>
# Under normal circumstances, you should not put anything after
# the above line. However, this is the only way I can state the
# dependency without trashing the actual code of the generate-plist
# target. This is a limitation of the make(1) program itself.
# </alane>
generate-plist: install-extra link-bins link-java cleanup-install

#EOF
@


1.60
log
@Use the SORT macro defined in bsd.port.mk.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.59
log
@Port to amd64 (note: needs ld-elf.so.1 bugfix to actually work)

I've taken a chance and split the sparc64 and alpha mega-diffs up because
sparc64 patched the result of alpha's patches, and amd64 needed to do the
same again - but it was sorted lexically before alpha/sparc64.  I've
grouped the xptcall patches together since they are standalone and split
up and merged the other infrastructure jumbo-patches.

I also attempted to sync up the nspr vs firebird diffs for sparc64 and
alpha because they disagreed.  HOWEVER... While this port 'depends'
on the nspr port, it doesn't actually *use* it.  It should probably
be removed from the LIB_DEPENDS list.

Note that the amd64 xptcall code came from SuSE via the mozilla bugzilla
database.
@
text
@a54 2
SORT?=/usr/bin/sort

@


1.58
log
@Don't build these ports on amd64.

Approved by:	portmgr (implicit)
@
text
@a45 2
NOT_FOR_ARCHS=		amd64

@


1.57
log
@* Update the extensions list with a modern mozconfig.in
* Add rich text editing (aka midas) support
@
text
@d46 2
@


1.56
log
@Update to 0.7 with patch-config_preprocess.pl updated by obraun.
De-support GTK+ 1.2 (requested by marcus).  Trim COMMENT.
@
text
@d10 1
@


1.55
log
@Mark as IGNORE on -STABLE Alpha.
@
text
@d9 1
a9 2
PORTVERSION=	0.6.1
PORTREVISION=	1
d17 1
a17 1
COMMENT=	Mozilla Firebird is the next generation browser from the mozilla.org project
d28 1
d31 1
a31 1
USE_BZIP2=	yes
d33 1
a36 10
ALL_TARGET=	default

.if defined(WITH_GTK2)
USE_GNOME=	gtk20 libidl
PKGNAMESUFFIX=	-gtk2
PLIST=		${PKGDIR}/pkg-plist.gtk2
.else
USE_GNOME=	gtk12 orbit
PLIST=		${PKGDIR}/pkg-plist.gtk1
.endif
a73 4

.if defined(WITH_GTK2)
CONFIGURE_ENV+=	WITH_GTK2=yes
.endif # defined(WITH_GTK2)
@


1.54
log
@Use ${PTHREAD_LIBS} instead of hardcoded -pthread and -lc_r in a few places.
This should help the KSE and libthr people use these applications (plus it
lets them build on -CURRENT).
@
text
@d95 4
@


1.53
log
@Add back the PKGNAMEPREFIX was the accidentally removed in my previous
commit.
@
text
@d114 7
@


1.52
log
@Change the MASTER_SITE back to the official Mozilla FTP servers.  Note,
people reinstalling this port will have to do a make distclean first, or
simply ignore the MD5 checksum.
@
text
@d14 1
@


1.51
log
@Fix the PLIST link.

PR:		55310
Submitted by:	Morten Rodal <morten@@rodal.no>
Pointy hat to:	me
@
text
@d12 3
a14 6
#MASTER_SITES=	${MASTER_SITE_MOZILLA}
#MASTER_SITE_SUBDIR=	firebird/releases/${PORTVERSION}
MASTER_SITES=	http://pryan.org/firebird/pryan/
PKGNAMEPREFIX=	mozilla-
#DISTNAME=	MozillaFirebird-source-${PORTVERSION}
DISTNAME=	MozillaFirebird-${PORTVERSION}-source-pryan
@


1.50
log
@Fix the GTK+-1.2 plist.  To do this, we create one plist for GTK1 and one for
GTK2.  This is easier to maintain using the cons-plist target.

Reported by:	kris via bento
@
text
@d43 1
a43 1
PLIST=		pkg-plist.gtk2
d46 1
a46 1
PLIST=		pkg-plist.gtk1
@


1.49
log
@Update to 0.6.1.  This is mainly a bug fix release according to the release
notes at http://www.mozilla.org/projects/firebird/release-notes.html,
but it went from being based on Mozilla 1.4b to 1.5a.

Note, the master site may be temporary.  The source tarball at
${MASTER_SITE_MOZILLA} was missing some key bits that prevented compilation.
@
text
@d10 1
d43 1
d46 1
@


1.48
log
@Create a static plist file to fix the package building problem with the
new install mk code.  However, keep Alan's plist generating code around
since it's cool, and it helps maintainers quickly generate a new plist.

PR:		54795
		54799
@
text
@d9 1
a9 1
PORTVERSION=	0.6
d11 3
a13 1
MASTER_SITES=	http://komodo.mozilla.org/pub/firebird/releases/${PORTVERSION}/
d15 2
a16 1
DISTNAME=	MozillaFirebird-${PORTVERSION}-source
d37 1
@


1.47
log
@Try my hand at removing the Perl 5.6.1 dependency.  This port now builds
and seems to work just fine out-of-the-box on -STABLE with the built-in
Perl 5.00503.
@
text
@a58 1
PLIST=${WRKDIR}/plist
a109 4
post-build:
	${RM} -f ${PLIST}
	${TOUCH} ${PLIST}

d142 1
d170 1
a170 1
generate-plist: install-extra link-bins link-java cleanup-install cons-plist
@


1.46
log
@Use ${PERL5} to properly locate perl.

Submitted by:	perky
@
text
@d51 6
a56 6
.if ${PERL_LEVEL} < 500601
.undef NO_IGNORE
BROKEN=	Mozilla Firebird only supports the ports versions of Perl.
BROKEN+=If you have installed a Perl port, and are getting this message,
BROKEN+=please make sure you have given the command \'use.perl port\'.
.endif # ${PERL_LEVEL} < 500601
@


1.45
log
@Add mozilla-firebird after a repo move from phoenix.

Mozilla Firebird is the browser reborn from the ashes of the Phoenix.

* Update to 0.6 [1]
* Add optional GTK+-2 support [2]
* Add [untested] Sparc64 support [3]
* Add [untested] Alpha support [4]
* Do not compile with -O2 by default.  Instead specify -DWITH_OPTIMIZED_CFLAGS
  to get extra optimizations
* Link the Java Plug-in again

Submitted by:	Stijn Hoop <stijn@@win.tue.nl> [1]
		Christopher Nehren <apeiron@@comcast.net> [2] (based on)
		tmm and kris [3]
		Bernd Walter <ticso@@cicely.de> [4]
Minor fixes by:	obraun
@
text
@d104 1
@


1.44
log
@transfer to gnome@@
@
text
@d1 3
a3 5
# ex:ts=8 -*-mode: makefile-*-
#
# New ports collection makefile for:	phoenix
# Date created:			2002/10/21
# Whom:				Alan Eldridge <alane@@FreeBSD.org>
d8 6
a13 6
PORTNAME=		phoenix
PORTVERSION=		0.5
PORTREVISION=		4
CATEGORIES=		www
MASTER_SITES=		${MASTER_SITE_LOCAL} ${BSD_WEBDIR}
MASTER_SITE_SUBDIR=	alane
d15 2
a16 2
MAINTAINER=		gnome@@freebsd.org
COMMENT=	Phoenix is a fast, low-overhead browser from the Mozilla project
a21 1
		IDL.2:${PORTSDIR}/devel/ORBit \
d27 1
a27 1
BSD_WEBDIR=http://people.freebsd.org/~${MASTER_SITE_SUBDIR}/
d29 12
a40 9
USE_X_PREFIX=		yes

USE_BZIP2=		yes
USE_GMAKE=		yes
USE_PERL5=		yes
USE_REINPLACE=		yes
HAS_CONFIGURE=		yes

USE_GNOME=		gtk12 orbit
d47 1
a47 2
MOZVER=			1.3a
PLUGINSDIR=		${LOCAL_PREFIX}/lib/mozilla-${MOZVER}/plugins/
d53 1
a53 1
BROKEN=	Phoenix only supports the ports versions of Perl.
a62 1
WITHOUT_OPTIMIZE=	yes
d66 1
a66 1
.if !defined(WITHOUT_OPTIMIZE)
d68 1
a68 1
.endif # defined(WITH_OPTIMIZE)
d80 4
d89 1
a89 1
EXTRA_SCRIPTS=		phoenix.rb
d106 4
d116 1
d124 7
a130 4
	${RM} -f ${PREFIX}/bin/phoenix
	${LN} -s ${LOCAL_PREFIX}/bin/phoenix \
		${PREFIX}/bin/phoenix
	${RM} -f ${PREFIX}/bin/phoenix-config
d132 1
a132 1
		${PREFIX}/bin/phoenix-config
a133 1
# not used because of undefined symbol errors
d137 1
a137 1
	  ${JREDIR}/plugin/i386/ns600/libjavaplugin_oji.so \
d146 3
a148 2
	${ECHO_CMD} bin/phoenix >>${PLIST}
	${ECHO_CMD} bin/phoenix-config >>${PLIST}
d171 1
a171 1
# target. This is a limitation of the make(1) program itself. 
d173 1
a173 1
generate-plist: install-extra link-bins cleanup-install cons-plist
@


1.43
log
@Remove USE_GNOMENG.
@
text
@d13 1
a13 1
CATEGORIES=		www # pita
d17 1
a17 1
MAINTAINER=		phoenix@@freebsd.org # alane@@fbsd and trevor@@fbsd
@


1.42
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@a39 1
USE_GNOMENG=		yes
@


1.41
log
@Remove the renaming of Xft headers and library from the Xft (Xft2) port.
Remove installing of Xft1 from XFree86-4-libraries, and add dependencies
to the Xft port by all the ports that use it along with whatever patches are
necessary.

Approved by:	portmgr (kris), marcus
@
text
@d18 1
@


1.40
log
@remove ignore setting based on lfp fonts
@
text
@d79 1
a79 1
LIB_DEPENDS+=	Xft2.2:${PORTSDIR}/x11-fonts/Xft
a102 6

# fix for Xft (thanks to marcus@@)
post-patch:
	cd ${WRKSRC}/gfx/src/gtk;				\
	${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g'	\
		nsDrawingSurfaceGTK.cpp	nsFontMetricsXft.h
@


1.39
log
@add missing dependency
@
text
@a81 19
# check for known bad fonts
.if exists(${X11BASE}/lib/X11/fonts/lfpfonts-var/fonts.dir)
BAD_FONTS=yes
.endif # exists(${X11BASE}/lib/X11/fonts/lfpfonts-var/fonts.dir)
.if exists(${X11BASE}/lib/X11/fonts/lfpfonts-fix/fonts.dir)
BAD_FONTS=yes
.endif # exists(${X11BASE}/lib/X11/fonts/lfpfonts-var/fonts.dir)

.if defined(BAD_FONTS) && !defined(WITHOUT_XFT)
.undef NO_IGNORE
BROKEN=	You have X fonts installed [lfpfonts*] that cause breakage unless
BROKEN+=WITHOUT_XFT is set, which turns off AntiAliasing. Please either
BROKEN+=uninstall the fonts or restart the make with \'make -DWITHOUT_XFT\'.
BROKEN+=There may be other third party font packages that also cause this
BROKEN+=breakage. If you find a font port that verifiably causes breakage,
BROKEN+=please let us know by mailing ${MAINTAINER}. Thank you.
BROKEN+=NOTE: The Microsoft webfonts port is known to be safe.
.endif # defined(BAD_FONTS) && !defined(WITHOUT_XFT)

@


1.38
log
@Patch by Greg Rumple & JMC to hopefully fix end-of-download crash. I'll
submit this fix back to the Mozilla team, since it will affect Mozilla 1.3a
as well.

Approved by:	kris before departure (one of these days this update will end)
@
text
@d24 2
a25 1
		iconv.3:${PORTSDIR}/converters/libiconv
@


1.37
log
@Fix really messed up BROKEN= blocks that happened with 0.5.

Approved by:	kris (all port of moving to 0.5)
@
text
@d12 1
a12 1
PORTREVISION=		3
d105 2
d135 5
d148 1
d163 3
d177 1
a177 1
.PHONY: link-bins link-java cleanup-install cons-plist
d187 1
a187 1
generate-plist: link-bins link-java cleanup-install cons-plist
@


1.36
log
@Put back link to java now that fonts have been identified as cause of
crashes or start failures.

Reviewed by:j
Approved by:	kris (last phase of phoenix 0.5 update)
@
text
@d53 3
a55 3
BROKEN=	"Phoenix only supports the ports versions of Perl."
BROKEN+="If you have installed a Perl port, and are getting this message,"
BROKEN+="please make sure you have issued the command 'use.perl port'"
d91 7
a97 8
BROKEN=	"You have X fonts installed (lfpfonts*) that cause breakage unless"
BROKEN+="WITHOUT_XFT is set, which  turns off AntiAliasing. Blease either"
BROKEN+="uninstall the fonts or restart the make with 'make -DWITHOUT_XFT'."
BROKEN+="There may be other third party font packages that also cause this"
BROKEN+="breakage; they will be tested for as they are identified. If you"
BROKEN+="find a font port that verifiably causes this breakage, please"
BROKEN+="let us know by mailing ${MAINTAINER}. Thank you."
BROKEN+="NOTE: The Microsoft webfonts port is known to be safe."
@


1.35
log
@The problem wasn't the patch, it was third party font ports. The patch has
been restored, extra knobs have added, and extensive diagnostics have been
added. PLEASE upgrade to this version.

Approved by:	kris (part of phoenix upgrade)
@
text
@d12 1
a12 1
PORTREVISION=		2
d177 1
a177 1
generate-plist: link-bins cleanup-install cons-plist
@


1.34
log
@Finally, a release Phoenix that works and does not crash all the time.

Approved by:	kris (a long time ago)
@
text
@d12 1
a12 1
PORTREVISION=		1
a23 1
		Xft2.2:${PORTSDIR}/x11-fonts/Xft \
d62 1
d71 29
@


1.33
log
@Backed down to 0.4_10 because 0.5 was borked.
@
text
@d11 2
a12 2
PORTVERSION=		0.4
PORTREVISION=		10
d14 2
a15 2
MASTER_SITES=		${MASTER_SITE_LOCAL} # ${BSD_WEBDIR}
MASTER_SITE_SUBDIR=	trevor
a41 5
CPPFLAGS+=		-I${X11BASE}/include
CFLAGS+=		${PTHREAD_CFLAGS}
LDFLAGS+=		-L${X11BASE}/lib
LIBS+=			${PTHREAD_LIBS}

d47 1
a47 2
MOZVER=			1.2b
#MOZVER=		1.3a
d62 15
d142 7
a148 1
generate-plist: link-bins link-java cleanup-install cons-plist
@


1.32
log
@Update Phoenix to 0.5, the last release named Phoenix. Fixes a lot a bugs,
adds some features, there is at least one crasher I've hit so far but I don't
know if it is anomoly or not yet.

Approved by:	kris
@
text
@d11 2
a12 2
PORTVERSION=		0.5.20021209
PORTREVISION=		0
d14 2
a15 2
MASTER_SITES=		${MASTER_SITE_LOCAL} ${BSD_WEBDIR}
MASTER_SITE_SUBDIR=	alane
d52 2
a53 1
MOZVER=			1.3a
@


1.31
log
@1. Add a link to support the java plugin. Thanks to Khairil Yusof
<kaeru@@pd.jaring.my> for this tip.

2. Build the plist automagically in a post-install target.

Approved by:	kris
@
text
@d1 1
a1 1
# ex:ts=8
d11 2
a12 2
PORTVERSION=		0.4
PORTREVISION=		9
d14 2
a15 2
MASTER_SITES=		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	trevor
a25 1

d29 2
d52 2
a53 1
PLUGINSDIR=		${LOCAL_PREFIX}/lib/mozilla-1.2b/plugins/
d88 1
a88 1
pre-install:
d92 6
a97 3
post-install:
	@@${RM} -f ${PREFIX}/bin/phoenix
	@@${LN} -s ${LOCAL_PREFIX}/bin/phoenix \
d99 2
a100 2
	@@${RM} -f ${PREFIX}/bin/phoenix-config
	@@${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \
d102 2
a103 3
	@@${CAT} ${PKGMESSAGE} 2>/dev/null
	@@${RM} -fr ${LOCAL_PREFIX}/share/idl
	@@${RM} -fr ${LOCAL_PREFIX}/include
d108 6
d120 1
a120 1
	  | ${SED} -e "s:^:@@exec /bin/mkdir -p %D/:" -e "s:$$: || true:" \
d123 1
a123 1
	  | ${SED} -e "s:^:@@unexec /bin/rmdir %D/:" -e "s:$$: || true:" \
d128 2
d131 3
@


1.30
log
@Updated PORTREVISION to 8. Added patch from mozilla-devel to fix -CURRENT
problem with accessing network sites.

Submitted by:	Hajimu UMEMOTO <ume@@mahoroba.org>
Approved by:	kris
@
text
@d12 1
a12 1
PORTREVISION=		8
d48 4
a51 1
LOCAL_PREFIX=		${PREFIX}/lib/${PORTNAME}
d62 3
d86 4
d100 17
a118 1

@


1.29
log
@I forgot this: This port *requires* a ports version of Perl, 5.6.1 or
newer. Among other things, that is why FreshPorts marks it as "broken".
@
text
@d12 1
a12 1
PORTREVISION=		7
a51 19
.if !defined(PERL_LEVEL)
.if !exists(${LOCALBASE}/bin/perl)
PERL_LEVEL=0
.endif # !exists(${LOCALBASE}/bin/perl)
perl_major=${PERL_VERSION:C|^([1-9]+).*|\1|}
_perl_minor=00${PERL_VERSION:C|^([1-9]+)\.([0-9]+).*|\2|}
perl_minor=${_perl_minor:C|^.*(...)|\1|}
.if ${perl_minor} >= 100
perl_minor=${PERL_VERSION:C|^([1-9]+)\.([0-9][0-9][0-9]).*|\2|}
perl_patch=${PERL_VERSION:C|^.*(..)|\1|}
.else # ${perl_minor} < 100
_perl_patch=0${PERL_VERSION:C|^([1-9]+)\.([0-9]+)\.*|0|}
perl_patch=${_perl_patch:C|^.*(..)|\1|}
.endif # ${perl_minor} < 100
PERL_LEVEL=${perl_major}${perl_minor}${perl_patch}
.endif # !defined(PERL_LEVEL)

SITE_PERL?=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}

d54 1
a54 2
BROKEN=	"right now, we can only support the ports versions of Perl."
BROKEN+="We are working on the problem. Sorry for the inconvenience."
a72 1
	@@${CAT} ${PKGMESSAGE} 2>/dev/null; sleep 5
d87 1
a87 1
	@@${CAT} ${PKGMESSAGE} 2>/dev/null; sleep 5
@


1.28
log
@* PORTREVISION ==> 7.
* Allow building under -CURRENT.
* Changes in LDFLAGS and CPPFLAGS passed to configure.
* Removed stale javascript dirs (venkman) from plist.
* Updated mkdistfile to remove more unneeded dirs. Used to make a
  new distfile from a cvs checkout. For maintainers only, really.
* Disable bi-directional text in config.
* Remove dupes from mozconfig.in.

The problem with the martian file selection dialogs is gone. I am not sure of
the cause, but apparently it had to do with either which version of the NSPR
libs phoenix runs with or the link order of libraries. I don't care, as long as
it doesn't do it, 'cause I do not read Martian.

Should be running against its own set of NSPR libs now. (Note: you can't just
use ldd to check this since the startup scripts play all kinds of fun games.)

You are advised to remove $HOME/.phoenix before running the new version.
@
text
@@


1.27
log
@Accidentally forgot a dependency on libiconv.
@
text
@d12 1
a12 1
PORTREVISION=		6
d19 1
a19 2
LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
d41 1
d43 1
a48 2
MAKE_ENV+=		XP_UNIX=1
MAKE_ARGS+=		XP_UNIX=1
d53 3
a70 7
.if ${OSVERSION} > 500038

BROKEN=	"on -CURRENT, can only be used with local files. You can run"
BROKEN+="make with -DNO_IGNORE to override this message"

.endif

a76 1

d85 3
a87 1
	@@${SED} -e 's|@@CFLAGS@@|${CFLAGS}|'		\
d109 1
a109 1
	@@${RM} -fr ${LOCAL_PREFIX}/share
@


1.26
log
@1. PORTREVISION ==> 6.
2. Remove components (4) of javascript debugger from plist.
@
text
@d25 2
a26 1
			Xft2.2:${PORTSDIR}/x11-fonts/Xft
@


1.25
log
@1. Broken for system perl. Sorry but we don't know yet how to make it work.
2. Disable javascript debugger (like we're at a stage where we want to do
	that .... hahaha).
3. Remove dupes from files/mozconfig.in.
4. Whack the share and include dirs in a post-install target (I know it's
	slower that way, but I'm gonna let Trevor work out how to do it
	otherwise, since he so kindly volunteered.)
5. We need an icon for this, people. Any graphics geeks out there?

Thanks to Adam Weinberger for his valuable info about perl versions,
and his continuing research. Thanks to everybody else who's tested, even
if y'all did report the same thing. 8-) Finally, thanks to Warren Zevon,
whose song My ****'s ****ed Up certainly applies to the early stages
of this port.
@
text
@d12 1
a12 1
PORTREVISION=		5
@


1.24
log
@Upped to PORTREVISION 4.
Added pkg-message file.
Put XP_UNIX in MAKE_ENV just to be safe.
Show pkg-message at start and end.
I think it's stabilized now.
@
text
@d12 1
a12 1
PORTREVISION=		4
d17 1
a17 1
MAINTAINER=		phoenix@@geeksrus.net # alane@@fbsd and trevor@@fbsd
d25 1
a25 1
		Xft2.2:${PORTSDIR}/x11-fonts/Xft
d52 1
d64 1
d68 7
d76 6
a81 2
RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
d84 2
a85 6
.if ${OSVERSION} > 500038
BROKEN=	"on -CURRENT, can only be used with local files."
BROKEN+="Make with -DNO_IGNORE to override this message."
.endif

pre-extract:
d87 1
d89 1
a89 1
post-extract:
d112 2
@


1.23
log
@OK, I just need to step back and take a deep breath.

Changed -DXP_UNIX to XP_UNIX=1 in MAKE_ARGS. Why can't the damned makes
agree on what they want? #$##@@#!
@
text
@d12 1
a12 1
PORTREVISION=		3
d47 1
d72 2
a73 1
BROKEN=	"on -CURRENT, can only be used with local files"
d76 3
d80 1
a80 1
	${SED} -e 's|@@CFLAGS@@|${CFLAGS}|'		\
d86 1
d95 2
a96 2
	${RM} -f ${PREFIX}/bin/phoenix
	${LN} -s ${LOCAL_PREFIX}/bin/phoenix \
d98 2
a99 2
	${RM} -f ${PREFIX}/bin/phoenix-config
	${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \
d101 1
@


1.22
log
@Changed MAKE_FLAGS to MAKE_ARGS. Stupid mistake. I was in a hurry and not
in the best of moods ... sorry.
@
text
@d47 1
a47 1
MAKE_ARGS+=		-DXP_UNIX
@


1.21
log
@This is a TEST version - if it works I'll force a Makefile commit
stating otherwise. I'm trying to get the perl version and File::Spec(imen)
problems ironed out.

Please try this with whatever version of perl you are using and report
back to phoenix@@geeksrus.net. Thank you. Don't forget to tell us if you
are doing "use.perl port" or "use.perl system" if you have one of the
ports.

-- AlanE, who's ready to propose a virtual category called "pita".
@
text
@d47 1
a47 1
MAKE_FLAGS+=		-DXP_UNIX
@


1.20
log
@1. Bump PORTREVISION because of plist changes.
2. Fix plist to catch the missing files/dirs. It should now deinstall
   cleanly (it does here, anyway).
2a.The dirs that were created with @@exec /bin/mkdir are now removed using
   @@unexec /bin/rmdir blah/blah || true.
3. Added CONFIG_SH=/bin/sh to mozconfig.in so that we'd all use the same
   shell for configuration.

Note: you can use Perl < 5.8, but you need File::Spec for whatever perl
you've got /usr/bin/perl pointing to (or /usr/local/bin/perl, if there is
no /usr/bin/perl [-CURRENT?].

If there were PRs on this, I've forgotten which ones and will close them
out separately. I can do a forced commit on Makefile to relate the PRs,
if any, to the changes.
@
text
@d12 2
a13 2
PORTREVISION=		2
CATEGORIES=		www
a42 3
.if defined(OPTIMIZE)
CFLAGS+=		-O2
.endif # defined(OPTIMIZE)
d47 1
d51 12
d65 1
a65 4
PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}

.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
d68 1
a68 1
.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
@


1.19
log
@Fixed a stoopid mistake I made by not using -f with ${RM}. Caught, gutted,
And filleted by Douglas Berry  <doug@@cnd.dundas.on.ca>, who then served it
with a delightful lemon and basil butter, garnished with lark's vomit.

Thanks, Doug!

Submitted by:	Douglas Barry <doug@@cnd.dundas.on.ca>
@
text
@d12 1
a12 1
PORTREVISION=		1
@


1.18
log
@Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realize
mail's case insensitive and will try to type that. Sorry folks, purely a
cosmetic change here, nothing to see, move along, move along....
@
text
@d82 1
a82 1
	${RM} ${PREFIX}/bin/phoenix
d85 1
a85 1
	${RM} ${PREFIX}/bin/phoenix-config
@


1.17
log
@1. PORTREVISION -> 1.
2. Incorporated my uncommited mods with Trevor's changes.
3. Remade pkg-plist accordingly.
4. Use /usr/bin/perl if present, then /usr/local/bin/perl.
5. Add File::Spec to BUILD_DEPENDS if perl < 5.8.0.
@
text
@d5 1
a5 1
# Whom:				Alan Eldridge <AlanE@@FreeBSD.org>
@


1.16
log
@Changed MAINTAINER to my FreeBSD address.
@
text
@d12 1
d34 1
d36 1
a36 2
#USE_AUTOCONF_VER=	213
GNU_CONFIGURE=		yes
d39 1
a39 1
USE_GNOME=		gtk12 ORBit
d59 1
a60 1
RUN_DEPENDS=	${BUILD_DEPENDS}
d82 1
d85 1
@


1.15
log
@We don't need all those mtree directories.
@
text
@d5 1
a5 1
# Whom:				Alan Eldridge <ports@@geeksrus.net>
d22 4
a25 2
		freetype.9:${PORTSDIR}/print/freetype2
#Xft2.2:${PORTSDIR}/x11-fonts/Xft
d27 1
a27 2
		freetype-config:${PORTSDIR}/print/freetype2 \
		perl5.8.0:${PORTSDIR}/lang/perl5.8
d29 1
a29 1
PREFIX=		${X11BASE}/lib/${PORTNAME}
d33 1
d36 4
d42 4
d48 1
d52 10
a65 7
.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0"
.undef NO_IGNORE
BROKEN=	This port requires Perl 5.8.0 because of File::Spec issues. \
	Make sure to run 'use.perl port' after installing it or you \
	will still get this message.
.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0"

d71 1
d74 6
d81 4
a84 2
	${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix
	${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config
@


1.14
log
@Add dependency on GTK+ 1.2.X.  Tidy whitespace (portlint -t).
@
text
@d36 1
@


1.13
log
@This is broken when OSVERSION = 500039, but works on 4.7-PRERELEASE/i386.
@
text
@d18 2
a19 1
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
a23 1

d41 1
a41 1
BROKEN= "on -CURRENT, can only be used with local files"
@


1.12
log
@Update to 0.4.
@
text
@d40 4
@


1.11
log
@Fix typo in BUILD_DEPENDS
@
text
@d11 1
a11 2
PORTVERSION=		0.3
PORTREVISION=		2
@


1.10
log
@1. Change MAINTAINER to phoenix@@geeksrus, which is an alias to both
   alane@@ and trevor@@.
2. Expand the BROKEN message to include instruction to run 'use.perl port'.
3. .undef NO_IGNORE.
@
text
@d27 1
a27 1
		perl5.8.0:${PORTSDIR}/lang/perl5.7
@


1.9
log
@Moved a comment to the left edge. ##@@#@@$!~!@@$$ make(1).
@
text
@d17 1
a17 1
MAINTAINER=		alane@@freebsd.org # and trevor@@freebsd.org
d26 2
a27 1
		freetype-config:${PORTSDIR}/print/freetype2
d42 4
a45 1
BROKEN=	This port requires Perl 5.8.0 because of File::Spec issues.
@


1.8
log
@1. Put back the Perl 5.8.0 requirement. I am *NOT* gonna fight over File::Spec
versioning with this port.
@
text
@d23 1
a23 1
		#Xft2.2:${PORTSDIR}/x11-fonts/Xft
@


1.7
log
@Backout <sigh/> the Xft font lib usage since it doesn't compile.
@
text
@d40 4
@


1.6
log
@Removed perl 5.8 requirement per comments on cvs list. I hope Trevor
was wrong when he said it didn't work without it. Bumped PORTREVISION
as this is a major change.
@
text
@d22 2
a23 2
		freetype.9:${PORTSDIR}/print/freetype2 \
		Xft2.2:${PORTSDIR}/x11-fonts/Xft
@


1.5
log
@1. Added Xft2 to lib dependencies. If moz-devel can require it, we can too.
2. Changed .error to BROKEN= to keep other stuff from barfing. Sorry about
   that. Of course, I didn't see any of it here. (suggested by marcus@@).
@
text
@d12 1
a12 1
PORTREVISION=		1
d26 1
a26 2
		freetype-config:${PORTSDIR}/print/freetype2 \
		perl5.8.0:${PORTSDIR}/lang/perl5.8
a38 4

.if !defined(PERL_VER) || ${PERL_VER} != 5.8.0
BROKEN=	This port requires Perl 5.8.0.
.endif
@


1.4
log
@1. Respect CFLAGS.
2. Set appropriate compile/link options for threading.
@
text
@d22 2
a23 1
		freetype.9:${PORTSDIR}/print/freetype2
d42 1
a42 1
.error This port requires Perl 5.8.0.
@


1.3
log
@1. Expanded configure/make options in files/mozconfig.in.
	* Fixed problem with reliably finding perl 5.8.0.
	* Made build faster.
	* Shut up most of the compiler warnings (turned off --pedantic).
	* Strip the binaries.
	* Saved 2 meg on size of binary package (16M -> 14M).
2. Moved install to ${X11BASE}/lib/phoenix to keep it out of the way
   of mozilla, since it uses the same namespace for dirs/files.
3. Link bin/phoenix and bin/phoenix.config into install tree's bin dir.

TO DO: make installation smaller. make distfile smaller. test,test,test.
@
text
@d34 2
a35 1

d45 3
a47 1
	${SED} -e 's|@@X11BASE@@|${X11BASE}|'		\
@


1.2
log
@First working version of port. Needs testing and cleanup, probably move
over to /usr/X11R6 (or not), but it's a start. And it's *fast*.
@
text
@d12 1
a12 1
PORTREVISION=		0
d17 6
a22 1
MAINTAINER=	alane@@freebsd.org # will change to trevor@@ soon
d28 1
a28 4
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		mng.1:${PORTSDIR}/graphics/libmng \
		freetype.9:${PORTSDIR}/print/freetype2
d39 4
d47 4
@


1.1
log
@Phoenix is a fast, minimal browser from the Mozilla project. This port
is a work in progress for the next few days.
@
text
@d11 1
a11 1
PORTVERSION=		0.3.20021021
d15 1
a15 1
MASTER_SITE_SUBDIR=	alane
d19 8
a26 6
.if !defined(RING_OF_FIRE)
.undef NO_IGNORE
BORKED=		This is a work in progress.
BROKEN=		${BORKED}
FORBIDDEN=	${BORKED}
.endif # !defined(RING_OF_FIRE)
d30 1
a30 1
USE_AUTOCONF_VER=	213
d33 2
d36 6
@

