head	1.9;
access;
symbols
	old_RELEASE_6_0_0:1.8
	old_RELEASE_5_4_0:1.7
	old_RELEASE_4_11_0:1.6
	old_RELEASE_5_3_0:1.6
	old_RELEASE_4_10_0:1.6
	old_old_RELEASE_5_2_1:1.5
	old_old_RELEASE_5_2_0:1.5
	old_old_firebird_0_6_1:1.5
	old_old_RELEASE_4_9_0:1.5
	old_old_old_RELEASE_5_1_0:1.4
	old_old_old_RELEASE_4_8_0:1.4
	old_old_old_RELEASE_5_0_0:1.4;
locks; strict;
comment	@# @;


1.9
date	2005.11.05.06.54.48;	author marcus;	state dead;
branches;
next	1.8;

1.8
date	2005.08.28.07.59.05;	author mezz;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.10.00.43.22;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.11.07.16.17;	author marcus;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.02.18.30.59;	author marcus;	state Exp;
branches;
next	1.4;

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

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

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

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


desc
@@


1.9
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
@#!/bin/sh
# -*-shell-script-*-
#
# mkdistfile -- maintainer's utility to make a firefox distfile
#
# Copyright (c) 2002, Alan Eldridge
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions 
# are met:
# 
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 
# * Neither the name of the copyright owner nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# 
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# $FreeBSD: ports/www/firefox-devel/files/mkdistfile,v 1.8 2005/08/28 07:59:05 mezz Exp $
#
# 2002/10/21 alane@@geeksrus.net
#

ORIGDIR=$(/bin/pwd); export ORIGDIR
APPNAME=${0##*/};APPNAME=${APPNAME#-}; export APPNAME
test -z "$TMPDIR" && TMPDIR=/tmp; export TMPDIR
test -z "$HOSTNAME" && HOSTNAME=$(hostname); export HOSTNAME
warn() { echo "[$APPNAME:$$]" "****" "$@@";}
status() { echo "[$APPNAME:$$]" "===>" "$@@";}
error() { echo "[$APPNAME:$$]" "ERROR:" "$@@";}
die() { echo "[$APPNAME:$$]" "FATAL:" "$@@"; exit 1;}
unset echo_n; test "X`echo -n`" = "X-n" \
    && echo_n() { echo "$@@\c"; } || echo_n() { echo -n "$@@"; }
status_n() { echo_n "[$APPNAME:$$]" "===>" "$@@";}
log() { local cmd=$1;shift;echo_n $(date "+%Y%m%d.%T") "";$cmd "$@@";}
qexpr() { expr "$@@" >/dev/null 2>&1;}
qw() { echo \""$@@"\"; }
listfiles() { ls -1 ${1:+"$@@"} 2>/dev/null; }
whichre() { local n=$#; local s="$1"; shift; while test $# -ge 1; do 
	qexpr "$s" : "$1"&& echo $(($n - $#)) && return 0; shift; done; 
    	echo 0; return 1;}
matchre() { test $(whichre "$@@") -gt 0; }
streq() { local s="$1"; shift; while test $# -ge 1; do 
	test "X$s" = "X$1" && return 0; shift; done; return 1;}
strupper() {
    echo "$@@"|tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
}
strlower() {
    echo "$@@"|tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
}
chdir() { cd "$1" || die cd $(qw $1) failed; }
absdir() { chdir "$1" && pwd; }
abspath() { local p=''; case "$1" in /*);; *)p="$(pwd)/";; esac; echo "$p$1"; }
tmpfile() { mktemp -t .$APPNAME ${1:+"$@@"}; }
############################################################
# show usage and exit
############################################################
usage() {
    cat <<EOF
Usage:	$APPNAME [options] [--] rev[.yyyymmdd]
Options:
	-h,--help	Show this help.
	-V,--version	Show version number.
	-v,--verbose	Produce more verbose output.
	-x,--debug	Turn on shell command tracing.
	--		Stop option processing.
EOF
    exit $1
}
############################################################
# show version and exit
############################################################
VERSION='$Revision: 1.1 $'
VERSION=${VERSION#* }; VERSION=${VERSION% *}
version() { echo "$APPNAME $VERSION" \
    "Copyright (c) 2002 Alan Eldridge"; exit $1;}
############################################################
# set default vars here
############################################################
DEBUG=0
VERBOSE=0; VFLG=''
DATETIME=$(date +%Y%m%d.%H%M)
DATE=${DATETIME%.*}
TIME=${DATETIME#*.}
############################################################
# do command line options
############################################################
while test $# -gt 0; do
    n=1; case "$1" in
	-h|--help) usage 0;;
	-V|--version) version 0;;
	-v|--verbose) VERBOSE=1;VFLG='-v';;
	-x|--debug) set -x;DEBUG=1;;
	--) shift; break;; -*) usage 1;; *) break;;
	esac; shift $n
done

############################################################
# main(): script execution begins here
############################################################

test $# -eq 1 || usage 1

REV=$1
test ${REV##*.} = today && REV=${REV%.*}.$DATE

status "pruning tree..."
exfile=$(tmpfile)
cat >>$exfile <<'EOF'
^.*/CVS($|/)
^.*/macbuild($|/)
^.*/package($|/)
^.*/.cvsignore($|/)
^.*/windows($|/)
^.*/activex($|/)
^.*/os2($|/)
^.*/solaris($|/)
^.*/gc($|/)
^mozilla/apache($|/)
^mozilla/calendar($|/)
^mozilla/cck($|/)
^mozilla/chimera($|/)
^mozilla/ef($|/)
^mozilla/embed.mak($|/)
^mozilla/embed.mk($|/)
^mozilla/gconfig($|/)
^mozilla/gfx2($|/)
^mozilla/grendel($|/)
^mozilla/java($|/)
^mozilla/js2($|/)
^mozilla/mail($|/)
^mozilla/mailnews($|/)
^mozilla/mozilla($|/)
^mozilla/mozilla.kdevprj($|/)
^mozilla/mozilla.lsm($|/)
^mozilla/msgsdk($|/)
^mozilla/mstone($|/)
^mozilla/nglayout.mac($|/)
^mozilla/nunet($|/)
^mozilla/other-licenses($|/)
^mozilla/privacy($|/)
^mozilla/silentdl($|/)
^mozilla/timer($|/)
^mozilla/trex.mak($|/)
^mozilla/trex.mk($|/)
^mozilla/webtools($|/)
EOF
test -d mozilla || die "No mozilla dir here."
find mozilla 2>/dev/null | egrep -f $exfile | xargs rm -fr
rm -f $exfile
status "making firefox-$REV.tar.bz2 ..."
tar -cjpf firefox-$REV.tar.bz2 mozilla
status "done."
#EOF
@


1.8
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
@d36 1
a36 1
# $FreeBSD$
@


1.7
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
@@


1.6
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
@@


1.5
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
@d4 1
a4 1
# mkdistfile -- maintainer's utility to make a firebird distfile
d36 1
a36 1
# $FreeBSD: ports/www/phoenix/files/mkdistfile,v 1.4 2002/12/10 08:57:05 alane Exp $
d168 2
a169 2
status "making firebird-$REV.tar.bz2 ..."
tar -cjpf firebird-$REV.tar.bz2 mozilla
@


1.4
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
@d4 1
a4 1
# mkdistfile -- maintainer's utility to make a phoenix distfile
d36 1
a36 1
# $FreeBSD: ports/www/phoenix/files/mkdistfile,v 1.3 2002/11/23 21:24:16 alane Exp $
d90 1
a90 1
VERSION='$Revision$'
d168 2
a169 2
status "making phoenix-$REV.tar.bz2 ..."
tar -cjpf phoenix-$REV.tar.bz2 mozilla
@


1.3
log
@Update maintainer utility for making distfiles from cvs checkouts. No
significance to users of this port, unless you are making your own distfiles.
@
text
@d36 1
a36 1
# $FreeBSD: ports/www/phoenix/files/mkdistfile,v 1.2 2002/11/10 18:05:10 alane Exp $
d122 1
a122 1
test ${REV#*.} = today && REV=${REV%.*}.$DATE
d124 1
d127 37
a163 45
*/CVS
*/CVS/*
*/macbuild
*/macbuild/*
*/package
*/package/*
*/.cvsignore
*/windows
*/windows/*
*/activex
*/activex/*
*/os2
*/os2/*
*/solaris
*/solaris/*
*/gc
*/gc/*
mozilla/apache
mozilla/calendar
mozilla/cck
mozilla/chimera
mozilla/ef
mozilla/embed.mak
mozilla/embed.mk
mozilla/gconfig
mozilla/gfx2
mozilla/grendel
mozilla/java
mozilla/js2
mozilla/mail
mozilla/mailnews
mozilla/mozilla
mozilla/mozilla.kdevprj
mozilla/mozilla.lsm
mozilla/msgsdk
mozilla/mstone
mozilla/nglayout.mac
mozilla/nunet
mozilla/other-licenses
mozilla/privacy
mozilla/silentdl
mozilla/timer
mozilla/trex.mak
mozilla/trex.mk
mozilla/webtools
d165 2
a166 1
tar -cjp -X $exfile -f phoenix-$REV.tar.bz2 mozilla
d168 3
@


1.2
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
@d36 1
a36 1
# $FreeBSD: ports/www/phoenix/files/mkdistfile,v 1.1 2002/10/21 18:37:12 alane Exp $
d135 2
d141 2
@


1.1
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
@d36 1
a36 1
# $FreeBSD$
d133 6
@

