head	1.168;
access;
symbols
	RELEASE_7_2_0:1.166
	RELEASE_7_1_0:1.163
	RELEASE_6_4_0:1.163
	RELEASE_5_EOL:1.161
	RELEASE_7_0_0:1.160
	RELEASE_6_3_0:1.160
	PRE_XORG_7:1.156
	RELEASE_6_2_0:1.152
	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.168
date	2009.07.14.22.10.36;	author miwi;	state dead;
branches;
next	1.167;

1.167
date	2009.05.04.19.23.43;	author miwi;	state Exp;
branches;
next	1.166;

1.166
date	2009.04.12.19.27.12;	author miwi;	state Exp;
branches;
next	1.165;

1.165
date	2009.04.04.11.46.59;	author marius;	state Exp;
branches;
next	1.164;

1.164
date	2009.01.10.02.45.41;	author mezz;	state Exp;
branches;
next	1.163;

1.163
date	2008.07.25.14.34.48;	author pav;	state Exp;
branches;
next	1.162;

1.162
date	2008.06.06.14.06.53;	author edwin;	state Exp;
branches;
next	1.161;

1.161
date	2008.01.21.22.19.51;	author marius;	state Exp;
branches;
next	1.160;

1.160
date	2007.11.18.15.49.49;	author marcus;	state Exp;
branches;
next	1.159;

1.159
date	2007.10.07.05.45.03;	author linimon;	state Exp;
branches;
next	1.158;

1.158
date	2007.09.08.00.44.25;	author linimon;	state Exp;
branches;
next	1.157;

1.157
date	2007.05.19.20.24.49;	author flz;	state Exp;
branches;
next	1.156;

1.156
date	2007.04.23.23.35.41;	author ahze;	state Exp;
branches;
next	1.155;

1.155
date	2007.04.22.01.34.46;	author kris;	state Exp;
branches;
next	1.154;

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

1.153
date	2006.11.01.13.25.56;	author ahze;	state dead;
branches;
next	1.152;

1.152
date	2006.10.14.08.53.31;	author marcus;	state Exp;
branches;
next	1.151;

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

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

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

1.148
date	2006.05.30.03.46.46;	author ahze;	state Exp;
branches;
next	1.147;

1.147
date	2006.05.07.01.47.00;	author obrien;	state Exp;
branches;
next	1.146;

1.146
date	2006.05.07.01.45.18;	author obrien;	state Exp;
branches;
next	1.145;

1.145
date	2006.05.01.22.55.53;	author jylefort;	state Exp;
branches;
next	1.144;

1.144
date	2006.04.04.17.23.32;	author pav;	state Exp;
branches;
next	1.143;

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

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

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

1.140
date	2005.11.29.22.55.39;	author ahze;	state dead;
branches;
next	1.139;

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

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

1.137
date	2005.11.08.16.49.30;	author ahze;	state Exp;
branches;
next	1.136;

1.136
date	2005.11.05.06.54.48;	author marcus;	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.168
log
@- Remove www/firefox-devel, please use www/firefox3 or www/firefox35
@
text
@# New ports collection makefile for:	phoenix
# Date created:			2002/10/21
# Whom:				Alan Eldridge <alane@@FreeBSD.org>
#
# $FreeBSD: ports/www/firefox-devel/Makefile,v 1.167 2009/05/04 19:23:43 miwi Exp $
#   $MCom: ports-stable/www/firefox-devel/Makefile,v 1.7 2008/08/07 04:42:35 mezz Exp $

PORTNAME=	firefox
DISTVERSION=	3.0.a2
PORTREVISION=	6
PORTEPOCH=	1
CATEGORIES=	www ipv6
MASTER_SITES=	${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/granparadiso/alpha2/source/
#MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source
DISTNAME=	granparadiso-alpha2-source
#DISTNAME=	${PORTNAME}-${DISTVERSION}-source

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

BUILD_DEPENDS=	nss>=3.11.2:${PORTSDIR}/security/nss

MOZILLA_NAME=	Firefox-${MOZILLA_SUFX}
MOZILLA_SUFX=	-devel
MOZILLA=	${PORTNAME}${MOZILLA_SUFX}
MOZ_OPTIONS=	--program-transform-name='s/firefox/${MOZILLA}/'
#MOZ_TOOLKIT=	cairo-gtk2

NO_LATEST_LINK=	yes

WANT_GNOME=	yes
ALL_TARGET=	default
CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
EXTRA_CFLAGS=	-O2
HAS_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
WANT_PERL=	yes

FIREFOX_ICON=		${MOZILLA}.xpm
FIREFOX_ICON_SRC=	${PREFIX}/lib/firefox-devel/chrome/icons/default/default.xpm
MOZ_PKGCONFIG_FILES=	${MOZILLA}-js ${MOZILLA}-xpcom ${MOZILLA}-plugin
MOZ_OPTIONS=	--enable-application=browser \
		--enable-system-cairo	\
		--enable-official-branding \
		--enable-canvas	\
		--with-system-nss

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} != "i386"
IGNORE=		Generic (unsupported) xpcom code was removed and will need to be \
		written or updated for !i386.
.endif

GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}

MOZ_OPTIONS+=	--disable-svg
#.if ${OSVERSION} >= 600000
# Needs MOZ_TOOLKIT=cairo-gtk2
#MOZ_OPTIONS+=	--enable-svg --enable-svg-renderer=cairo
#.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:
	${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
		${WRKSRC}/storage/build/Makefile.in
	@@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
		${WRKSRC}/security/manager/ssl/src/Makefile.in
.for ii in modules/libpref/src/init extensions/sroaming/resources/content/prefs
	@@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
		/dom.disable_window_open_feature.toolbar/s/false/true/' \
		${WRKSRC}/${ii}/all.js
.endfor

port-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)

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}/share/pixmaps/${FIREFOX_ICON}

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


1.167
log
@- Give Maintainership up to the Gecko Gang (gecko@@)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.166
log
@Take maintainership. The first of two steps is to take all
Gecko Stuff from the Gnome team. I'd like to say thanks a lot for
all the work in the past years.
@
text
@d19 1
a19 1
MAINTAINER=	miwi@@FreeBSD.org
@


1.165
log
@Resurrect www/mozilla/Makefile.common rev. 1.30 and associated changes,
which got lost with the switch to bsd.gecko.mk:
Work around the miscompilation/mislinkage problem of the sCanonicalVTable
hacks in the XPCOM string code on sparc64 by omitting the code in question
and bump PORTREVISIONs accordingly.

Approved by:	marcus
@
text
@d19 1
a19 1
MAINTAINER=	gnome@@FreeBSD.org
@


1.164
log
@Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how
you use it) at the same time. I have written a complete document and even show
how it works in the www/firefox/Makefile.webplugins so be sure to read in
there. If there is anything that isn't clear in the document, please feel free
to ask and I will try my best to improvement it.

FYI: GNOME 2.24 depends on this, so it's coming.

BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified.

Approved by:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.163
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@d6 1
a6 1
#   $MCom: ports/www/firefox-devel/Makefile,v 1.36 2007/02/24 21:00:46 mezz Exp $
d10 1
a10 1
PORTREVISION=	3
a97 11
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

@


1.162
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@a38 1
USE_GCC=	3.4+
@


1.161
log
@Work around the miscompilation/mislinkage problem of the sCanonicalVTable
hacks in the XPCOM string code on sparc64 by omitting the code in question
and bump PORTREVISIONs accordingly.

Approved by:	marcus
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.160
log
@Add NO_LATEST_LINK to avoid overwriting to www/firefox link.

Approved by:	portmgr (implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.159
log
@Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally.  To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.

Hat:		portmgr
@
text
@d30 2
@


1.158
log
@Remove support for antique perl.

Hat:	portmgr
@
text
@d38 1
@


1.157
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@a68 4
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-config_make-jars.pl
.endif

@


1.156
log
@s/BROKEN/IGNORE/ on !i386 until xpcom code is updated or written for !i386
@
text
@d10 1
a92 1
	${ECHO_CMD} "@@dirrmtry share/pixmaps" >> ${PLIST}
@


1.155
log
@BROKEN on !i386: Does not compile
@
text
@d56 2
a57 1
BROKEN=		Does not compile on !i386
@


1.154
log
@Readd firefox-devel at version 3.0.a2
@
text
@d55 4
@


1.153
log
@- Remove firefox-devel now that Firefox 2.0 is stable
@
text
@d5 2
a6 2
# $FreeBSD: ports/www/firefox-devel/Makefile,v 1.152 2006/10/14 08:53:31 marcus Exp $
#   $MCom: ports/www/firefox-devel/Makefile,v 1.30 2006/10/08 22:01:05 ahze Exp $
d9 1
a9 1
DISTVERSION=	2.0rc2
d11 6
a16 4
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source
DISTNAME=	${PORTNAME}-${DISTVERSION}-source
d23 2
a24 1
LATEST_LINK=	firefox2
a25 2
MOZILLA_NAME=	Firefox${MOZILLA_SUFX}
MOZILLA_SUFX=	-devel
d27 1
a36 3
LIBS=		-Wl,-Bsymbolic -lc
GECKO_PLIST_PRE_FILES=	lib/${MOZILLA}/chrome/icons/default/default.xpm
GECKO_PLIST_PRE_DIRS=	lib/${MOZILLA}/chrome/icons/default lib/${MOZILLA}/chrome/icons
d39 2
a40 1
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/icons/default.xpm
d55 1
a55 3
.if ${OSVERSION} < 500000
BROKEN=	does not build
.endif
d57 5
a61 3
.if ${OSVERSION} >= 600000
MOZ_OPTIONS+=	--enable-svg --enable-svg-renderer=cairo
.endif
d73 2
d77 1
a77 2
.for ii in modules/libpref/src/init extensions/sroaming/resources/content/prefs \
	embedding/minimo
d83 1
a83 1
pre-install:
a109 1
	${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default.xpm
@


1.152
log
@Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.151
log
@- Update to 2.0rc2
@
text
@a26 1
USE_X_PREFIX=	yes
d86 1
@


1.150
log
@- Use MOZILLA_EXTENDED
@
text
@d6 1
a6 2
#   $MCom: ports/www/firefox-devel/Makefile,v 1.26 2006/03/29 18:31:20 ahze Exp $
#
d9 1
a9 2
DISTVERSION=	2.0a3
PORTREVISION=	1
d12 3
a14 4
MASTER_SITES=	MOZILLA_EXTENDED
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/bonecho/alpha3/source
#DISTNAME=	${PORTNAME}-${DISTVERSION}-source
DISTNAME=	bonecho-alpha3-source
d19 2
d31 1
d36 1
a36 1

d112 1
a112 6
.include "${.CURDIR}/../mozilla/Makefile.common"
test:
	@@${REINPLACE_CMD} -e 's|${MOZILLA}-bin|${MOZILLA:S/${MOZILLA_SUFX}//}|; \
		s|progbase=`basename "$progname"`|${MOZILLA:S/${MOZILLA_SUFX}//}|' \
		${FAKEDIR}/bin/${MOZILLA} \
		${FAKEDIR}/bin/${MOZILLA}-config
@


1.149
log
@- Fix the "Requires" lines in firefox-devel pkgconfig files
@
text
@d14 1
a14 1
MASTER_SITES=	${MASTER_SITE_MOZILLA}
@


1.148
log
@- Update to 2.0a3
- Fix .desktop file so it actually starts firefox-devel instead of firefox
  also change Firefox to Firefox-devel in comments

Release notes:	http://www.mozilla.org/projects/bonecho/releases/2.0a3.html
@
text
@d11 1
@


1.147
log
@Revert revision 1.144.  I guess ftp-master hasn't been updated since that
commit.  Revision 1.46 only costs an inode and may be useful to users.
@
text
@d10 1
a10 2
DISTVERSION=	2.0a1
PORTREVISION=	3
d14 1
a14 1
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/bonecho/alpha1/source
d16 1
a16 1
DISTNAME=	bonecho-alpha1-source
d23 1
d68 2
a69 1
	@@${SED} -e 's|@@FIREFOX_ICON@@|${FIREFOX_ICON}|' \
@


1.146
log
@Fix 'portupdate -PP' and make 'pkg_add -r firefox' do what is most expected.
@
text
@a35 2
NO_LATEST_LINK=	yes

@


1.145
log
@Use sane fonts by default.
@
text
@d22 1
@


1.144
log
@- Set no latest link
@
text
@d11 1
a11 1
PORTREVISION=	2
@


1.143
log
@- Mark BROKEN on 4.x

Reported by:	kris via pointyhat
@
text
@d35 2
@


1.142
log
@- Fix firefox-devel pkgconfig files so we depend on firefox-devel-xpcom.pc
  instead of firefox.pc
- Bump PORTREVISION
@
text
@d54 2
a55 2
.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
IGNORE=	core dumps on alpha during post-build
@


1.141
log
@- Readd firefox-devel at version 2.0a1
- Add support for USE_GECKO=firefox-devel
- Fix pkg-deinstall to not remove MOZDIR/extensions
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.140
log
@- Remove firefox-devel since firefox 1.5 is stable now
@
text
@d5 2
a6 2
# $FreeBSD: ports/www/firefox-devel/Makefile,v 1.139 2005/11/18 03:35:16 ahze Exp $
#   $MCom: ports/www/firefox-devel/Makefile,v 1.23 2005/11/02 23:41:52 marcus Exp $
d10 2
a11 1
DISTVERSION=	1.5rc3
d15 3
a17 3
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source/
PKGNAMESUFFIX=	${FF_SUFX}
DISTNAME=	${PORTNAME}-${DISTVERSION}-source
d22 3
a24 7
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		Xft.2:${PORTSDIR}/x11-fonts/libXft \
		nspr4:${PORTSDIR}/devel/nspr \
		nss3:${PORTSDIR}/security/nss
BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS=	Xvfb:${X_VFBSERVER_PORT}
d26 2
a29 2
FAKEDIR=	${WRKDIR}/fake
USE_REINPLACE=	yes
a30 2
PLIST=		${WRKDIR}/plist
PLUGINSDIR=	${PREFIX}/lib/browser_plugins
a32 4
USE_GNOME=	gtk20 libidl desktopfileutils
USE_ICONV=	yes
USE_PERL5_BUILD=yes
USE_X_PREFIX=	yes
d34 17
a50 42
WRKSRC=		${WRKDIR}/mozilla
PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
KRB5_HOME?=	/usr

EXTRACT_AFTER_ARGS=	| ${TAR} -xf - --exclude */CVS/* \
			--exclude */macbuild/*\
			--exclude */package/* \
			--exclude .cvsignore \
			--exclude makefile.win \
			--exclude MANIFEST

FIREFOX=	${PORTNAME}
FF_SUFX=	-devel
FF=		${FIREFOX}${FF_SUFX}
FF_VER=		1.5
#FF_VER=	${PORTVERSION}

FIREFOX_ICON=		${FF}.xpm
FIREFOX_ICON_SRC=	${PREFIX}/lib/${FF}/icons/default.xpm

PKGCONFIG_FILES=firefox-gtkmozembed firefox-js firefox-xpcom \
		firefox-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/${FF}/defaults/pref/firefox.js
SCRIPTS_DIR=		${FAKEDIR}/lib/${FF}
MOZ_PIS_SCRIPTS=	S50cleanhome
MOZ_PIS_DIR=		${SCRIPTS_DIR}/init.d
CPPFLAGS+=	-I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS+=	-L${X11BASE}/lib
LIBS+=		${PTHREAD_LIBS}

OPTIONS=	DEBUG "Build a debugging image" off \
		LOGGING "Enable additional log messages" off \
		OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
		SMB "Enable smb:// URI support using gnomevfs" off \
		NEWTAB "Open external links in a new tab" on
a53 21
.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(WITH_SMB)
USE_GNOME+=	gnomevfs2
CONFIGURE_ENV+=	WITH_SMB=yes
.endif # defined(WITH_SMB)

d58 4
a65 5
pre-extract::
	@@${ECHO_MSG}
	@@${ECHO_MSG} "Extracting source (this takes a while) ..."
	@@${ECHO_MSG}

a66 10
	@@${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
d68 1
a68 1
		<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${FF}.desktop
d71 2
a72 29
	@@${REINPLACE_CMD} -e 's|%%FIREFOX%%|${FF}|' \
		${WRKSRC}/config/autoconf.mk.in
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FF}|g ; \
		s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FF}|g' \
		< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
.for ii in ${MOZ_PIS_SCRIPTS}
	@@${SED} -e 's|%%MOZILLA%%|${FF}|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 \
		${WRKSRC}/nsprpub/configure
	@@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/nsprpub/config/config.mk \
		${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
a79 6
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

d81 2
a82 7
	@@${RM} -rf ${FAKEDIR} ${PLIST}
	@@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
		Makefile ${MAKE_ARGS} ${INSTALL_TARGET}
	@@${MKDIR} ${SCRIPTS_DIR}
	@@${MKDIR} ${MOZ_PIS_DIR}
	@@${RM} -rf ${FAKEDIR}/lib/${FF}/extensions
	${ECHO_CMD} 'share/applications/${FF}.desktop' >> ${PLIST}
a83 11
	${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g; \
		s|${FIREFOX}|${FF}|; \
		s|-devel||; \
		s|$${progbase}-bin|${FIREFOX}-bin|' \
		${FAKEDIR}/bin/firefox \
		${FAKEDIR}/bin/firefox-config
	${ECHO_CMD} bin/${FF} >> ${PLIST}
	${ECHO_CMD} bin/${FF}-config >> ${PLIST}
.for ii in ${MOZ_PIS_SCRIPTS}
	${INSTALL_SCRIPT} ${WRKDIR}/moz_pis_${ii} ${MOZ_PIS_DIR}/${ii}
.endfor
a89 28
	cd ${FAKEDIR}/lib/${FF} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|lib/${FF}/|' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm lib/${FF}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/${FF} >> ${PLIST}
	for pcfile in ${PKGCONFIG_FILES}; do \
		${REINPLACE_CMD} -e 's|${FF}|${FF}|g; \
			s|${FAKEDIR}|${PREFIX}|' \
			${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc ; \
		${ECHO_CMD} libdata/pkgconfig/$${pcfile}${FF_SUFX}.pc >> ${PLIST} ; \
	done
	cd ${FAKEDIR}/include/${FF} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|include/${FF}/|' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm include/${FF}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm include/${FF} >> ${PLIST}
	${ECHO_CMD} lib/browser_plugins/.${FF}.keep >> ${PLIST}
	${ECHO_CMD} "@@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
	${ECHO_CMD} "@@unexec ${RMDIR} %D/share/applications 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/${FIREFOX}-${FF_VER} \
		&& ${FIND} -s * -type f -o -type l | \
		${SED} -e 's:^:share/idl/${FF}/:' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's:^:@@dirrm share/idl/${FF}/:' >> ${PLIST}
		${ECHO_CMD} "@@dirrm share/idl/${FF}" >> ${PLIST}
		${ECHO_CMD} "@@unexec ${RMDIR} %D/share/idl 2>/dev/null || true" >> ${PLIST}
a91 6
	${MKDIR} ${PREFIX}/lib/${FF}
	${CHMOD} 755 ${PREFIX}/lib/${FF}
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox ${PREFIX}/bin/${FF}
	${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox-config ${PREFIX}/bin/${FF}-config
	${MKDIR} ${PREFIX}/lib/browser_plugins
	${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${FF}.keep
a100 14
	for pcfile in ${PKGCONFIG_FILES}; do \
		${INSTALL_DATA} ${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc \
			${PREFIX}/libdata/pkgconfig/$${pcfile}${FF_SUFX}.pc ; \
	done
	-${RM} -fr ${PREFIX}/include/${FF}
	${MKDIR} ${PREFIX}/include/${FF}
	${CHMOD} 755 ${PREFIX}/include/${FF}
	cd ${FAKEDIR}/include/${FF} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${FF}
	cd ${FAKEDIR}/lib/${FF} && ${FIND} . | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${FF}
	${MKDIR} ${PREFIX}/share/idl/${FF}
	cd ${FAKEDIR}/share/idl/${FIREFOX}-${FF_VER} && ${FIND} . | \
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${FF}
a102 3
.if !defined(PACKAGE_BUILDING)
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
d104 3
a106 3
	${INSTALL_DATA} ${WRKDIR}/${FF}.desktop ${PREFIX}/share/applications/
	${MKDIR} ${PREFIX}/lib/${FF}/chrome/icons/default
	${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/lib/${FF}/chrome/icons/default/default.xpm
a107 1
	@@-update-desktop-database
d109 6
@


1.139
log
@- Update to 1.5rc3
- Use system nss/nspr/libm [1]

Obtained from:	www/firefox [1]
Release notes:	http://www.mozilla.org/products/firefox/releases/1.5.html
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.138
log
@- Update to 1.5rc2
@
text
@d10 1
a10 1
DISTVERSION=	1.5rc2
d23 3
a25 1
		Xft.2:${PORTSDIR}/x11-fonts/libXft
d65 1
a65 1
		firefox-nspr firefox-nss firefox-plugin
@


1.137
log
@- Fix firefox-devel so it registers chrome with out having to manually
  run as root
@
text
@d10 1
a10 1
DISTVERSION=	1.5rc1
@


1.136
log
@Add firefox-devel after a repocopy from ports/www/firefox.  Firefox-devel
represents work in progress towards Firefox 1.5.  See
http://www.mozilla.org/products/firefox/releases/1.5.html for more details.

Most of this work was done by ahze and mnag.
@
text
@d25 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 3
a16 2
MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${PORTVERSION}/source
DISTNAME=	${PORTNAME}-${PORTVERSION}-source
d21 3
a23 4
LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg	\
		nspr4:${PORTSDIR}/devel/nspr	\
		png:${PORTSDIR}/graphics/png	\
		nss3:${PORTSDIR}/security/nss
d35 1
a35 1
USE_GNOME=	gtk20 libidl gnomehier desktopfileutils
d39 1
a46 1
			--exclude */nsprpub/*\
a47 7
			--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	\
d52 5
a56 1
PORTNAME_ICON=	${PREFIX}/lib/${PORTNAME}/chrome/icons/default/default.xpm
d58 5
a62 2
PKGCONFIG_FILES=${PORTNAME}-gtkmozembed ${PORTNAME}-js ${PORTNAME}-xpcom \
		${PORTNAME}-plugin
d68 8
a75 4
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
a79 1
		XFT "Enable support for anti-aliased fonts" on \
a81 1
#		CJK "Enable CJK font family support" off
a84 9
# 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

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

a105 7
CPPFLAGS+=		-I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS+=		${PTHREAD_CFLAGS}
LDFLAGS+=		-L${X11BASE}/lib
LIBS+=			${PTHREAD_LIBS}

EXTRA_SCRIPTS=		${PORTNAME}.rb

d130 2
a131 2
	@@${SED} -e 's|@@PORTNAME_ICON@@|${PORTNAME_ICON}|' \
		<${FILESDIR}/${PORTNAME}.desktop.in >${WRKDIR}/${PORTNAME}.desktop
d134 3
a136 5
	@@${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 ; \
d140 1
a140 1
	@@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${PORTNAME}|g' \
a141 6
.for ii in ${EXTRA_SCRIPTS}
	@@${SED} -e 's|%%MOZILLA%%|${PORTNAME}|g ; \
		s|%%PREFIX%%|${PREFIX}|g ; \
		s|%%X11BASE%%|${X11BASE}|g' \
		< ${FILESDIR}/${ii} > ${WRKDIR}/${ii}
.endfor
d143 1
a143 1
	@@${SED} -e 's|%%MOZILLA%%|${PORTNAME}|g ; \
d152 2
a153 1
		${WRKSRC}/configure
d155 1
d163 6
a168 6
	@@${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/'
d182 3
a184 1
	${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
d186 7
a192 8
		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}
d202 2
a203 2
	cd ${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|lib/${PORTNAME}/|' >> ${PLIST} \
d205 2
a206 2
		${SED} -e 's|^|@@dirrm lib/${PORTNAME}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/${PORTNAME} >> ${PLIST}
d208 2
a209 3
		${REINPLACE_CMD} -e 's|${PORTNAME}-${PORTVERSION}|${PORTNAME}|g; \
			s|${FAKEDIR}|${PREFIX}|g ; \
			s|${PORTNAME}-nspr = ${PORTVERSION}|nspr >= 4.6.0|g' \
d211 1
a211 1
		${ECHO_CMD} libdata/pkgconfig/$${pcfile}.pc >> ${PLIST} ; \
d213 2
a214 2
	cd ${FAKEDIR}/include/${PORTNAME}-${PORTVERSION} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's|^|include/${PORTNAME}/|' >> ${PLIST} \
d216 3
a218 3
		${SED} -e 's|^|@@dirrm include/${PORTNAME}/|' >> ${PLIST}
	${ECHO_CMD} @@dirrm include/${PORTNAME} >> ${PLIST}
	${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
d220 1
d223 1
a223 1
	cd ${FAKEDIR}/share/idl/${PORTNAME}-${PORTVERSION} \
d225 1
a225 1
		${SED} -e 's:^:share/idl/${PORTNAME}/:' >> ${PLIST} \
d227 2
a228 2
		${SED} -e 's:^:@@dirrm share/idl/${PORTNAME}/:' >> ${PLIST}
		${ECHO_CMD} "@@dirrm share/idl/${PORTNAME}" >> ${PLIST}
d232 6
a237 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
d249 1
a249 1
			${PREFIX}/libdata/pkgconfig/$${pcfile}.pc ; \
d251 10
a260 10
	-${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}
d266 5
a270 7
.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
@


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
@

