head	1.18;
access;
symbols
	RELEASE_5_4_0:1.15
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.6
	old_RELEASE_5_1_0:1.5
	old_RELEASE_4_8_0:1.3
	old_RELEASE_5_0_0:1.1;
locks; strict;
comment	@# @;


1.18
date	2005.05.27.20.04.16;	author pav;	state dead;
branches;
next	1.17;

1.17
date	2005.05.21.17.04.57;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2005.05.19.12.21.15;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2005.03.26.19.37.32;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2005.03.11.10.20.00;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2005.03.11.10.12.08;	author edwin;	state dead;
branches;
next	1.12;

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

1.11
date	2004.12.31.18.24.07;	author netchild;	state Exp;
branches;
next	1.10;

1.10
date	2004.06.23.21.47.12;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.22.12.18.41;	author trevor;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.19.03.51.14;	author trevor;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.19.01.25.17;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.03.10.06.38;	author trevor;	state Exp;
branches;
next	1.5;

1.5
date	2003.04.11.06.38.45;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2003.03.31.06.34.36;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2003.02.21.14.01.19;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2003.01.03.07.33.43;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2002.10.11.22.14.00;	author trevor;	state Exp;
branches;
next	;


desc
@@


1.18
log
@- Remove linux-mozillafirebird and it's language spinoffs. This port is
  outdated (it's ascendant is called linux-firefox) and contains several
  unpatched security vulnerabilities.

Requested by:	maintainer
Discussed by:	kris' portmgr hat
@
text
@# New ports collection makefile for:	linux-mozillafirebird
# Date created:				2003-06-03
# Whom:					trevor
#
# $FreeBSD: ports/www/linux-mozillafirebird/Makefile,v 1.17 2005/05/21 17:04:57 pav Exp $
#

PORTNAME=	mozillafirebird
PORTVERSION=	0.7
PORTREVISION=	1
CATEGORIES?=	www linux
MASTER_SITES=	${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR?=	firebird/releases/${PORTVERSION}
PKGNAMEPREFIX?=	linux-
DISTNAME?=	MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu

MAINTAINER=	voisine@@yahoo.com
COMMENT?=	Web browser branched from Mozilla

RUN_DEPENDS?=	\
	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk

NO_BUILD=	yes
NO_FILTER_SHLIBS=yes
ONLY_FOR_ARCHS=	i386
FIREBIRD_NAME=	${PKGNAMEPREFIX}${PORTNAME}
PLIST_SUB=	FIREBIRD_NAME=${FIREBIRD_NAME}
DESCR=		${.CURDIR}/pkg-descr
MD5_FILE=	${.CURDIR}/distinfo
PKGMESSAGE=	${WRKDIR}/pkg-message
PREFIX?=	${X11BASE}
WRKSRC=		${WRKDIR}/MozillaFirebird

do-patch:
	${ECHO_CMD} "#!/bin/sh"		> ${WRKDIR}/linkfarm
	${ECHO_CMD} \
	"# Run this after installing Beonex, Mozilla or Netscape plugins." \
		>>${WRKDIR}/linkfarm
	${ECHO_CMD} "cd ${PREFIX}/lib/${FIREBIRD_NAME}/plugins" \
		>>${WRKDIR}/linkfarm
.for ii in lib/linux-beonex/plugins lib/netscape-linux/plugins lib/flash \
	lib/linux-mozilla/plugins lib/linux-netscape*/plugins \
	lib/linux-flashplugin6 \
linux-blackdown-jdk1.3.1/jre/plugin/i386/mozilla \
linux-blackdown-jdk1.4.1/jre/plugin/i386/mozilla
		${ECHO_CMD} -n "${FIND} ${LOCALBASE}/${ii}/*" \
			>>${WRKDIR}/linkfarm
		${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \
			>>${WRKDIR}/linkfarm
.endfor

do-install:
	${MKDIR} ${PREFIX}/lib/${FIREBIRD_NAME}
	${CHMOD} 755 ${PREFIX}/lib/${FIREBIRD_NAME}
	cd ${WRKSRC} && ${FIND} * | \
		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \
		${PREFIX}/lib/${FIREBIRD_NAME}
	${LN} -sf ${PREFIX}/lib/${FIREBIRD_NAME}/MozillaFirebird \
		${PREFIX}/bin/${FIREBIRD_NAME}
	${INSTALL_SCRIPT} ${WRKDIR}/linkfarm \
		${PREFIX}/lib/${FIREBIRD_NAME}

NEW_LIBSTDCXX=	${LINUXBASE}/usr/lib/libstdc++-libc6.2-2.so.3
OLD_LIBSTDCXX=	libstdc++-libc6.1-1.so.2

.include <bsd.port.pre.mk>

post-install:
.if !exists(${NEW_LIBSTDCXX})
	${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}
	${ECHO_CMD} "@@exec if [ ! -e ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
	${ECHO_CMD} "@@unexec if [ -L ${NEW_LIBSTDCXX} ]; then ${RM} -f ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
.endif
	@@${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
	@@${ECHO_CMD} \*\* Mozilla or Netscape, run\
		> ${PKGMESSAGE}
	@@${ECHO_CMD} \*\* ${PREFIX}/lib/${FIREBIRD_NAME}/linkfarm as root \
		>> ${PKGMESSAGE}
	@@${ECHO_CMD} \*\* to make them available to ${FIREBIRD_NAME}. \
		>> ${PKGMESSAGE}
	@@- ${SH} ${PREFIX}/lib/${FIREBIRD_NAME}/linkfarm || true
	@@ ${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.17
log
@- Fix plist for slave ports

Reported by:	krismail
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Unbreak: switch to static plist, fix symlinking

PR:		ports/81234
Submitted by:	Nicholas Kirby <nkirby@@dagr.net>
@
text
@d27 1
@


1.15
log
@BROKEN: Incorrect pkg-plist

Approved by:    portmgr (self)
@
text
@a22 2
BROKEN=		Incorrect pkg-plist

a29 1
PLIST=		${WRKDIR}/pkg-plist
a50 14
pre-install:
	${ECHO_CMD} bin/${FIREBIRD_NAME} > ${PLIST}
	${ECHO_CMD} \
		"@@unexec ${FIND} ${PREFIX}/lib/${FIREBIRD_NAME}/plugins \
		-type l -exec ${RM} {} \;" >> ${PLIST}
	cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \
		${SED} -e 's:^:lib/${FIREBIRD_NAME}/:' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's:^:@@dirrm lib/${FIREBIRD_NAME}/:' >> ${PLIST}
	${ECHO_CMD} lib/${FIREBIRD_NAME}/linkfarm >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/${FIREBIRD_NAME} >> ${PLIST}
	${ECHO_CMD} "@@exec ${PREFIX}/lib/${FIREBIRD_NAME}/linkfarm" \
		>> ${PLIST}

d65 2
d68 2
a69 3
	if [ ! -e ${NEW_LIBSTDCXX} ]; then \
		${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; \
	fi
d72 1
d83 1
a83 1
.include <bsd.port.mk>
@


1.14
log
@Don't remove ports which others are depending on.
I was actually aware of it, but forgot about it. See ports/75326
for more info.
@
text
@d23 2
@


1.13
log
@new port: www/linux-firefox (replaces linux-mozillafirebird)

    Firefox is a Web, FTP and gopher browser branched from Mozilla.
    It does not include an HTML editor, e-mail user agent, IRC
    client, or news reader.

    This is a pre-compiled Linux/i386 version, able to run plugins
    from that platform.  This port is compatible with the Flash
    plugin from ports/www/linux-flashplugin6/ and with the Java
    plugin from ports/java/linux-blackdown-jdk14/.

    WWW:  http://mozilla.org/projects/firefox/

PR:		ports/75326
Submitted by:	Aaron Voisine <voisine@@gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/linux-mozillafirebird/Makefile,v 1.12 2005/03/01 21:51:48 trevor Exp $
@


1.12
log
@Respect the user's USE_LINUX setting.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@@,
   my color would be "linuxolator@@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@@, x11@@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
@
text
@a30 1
USE_LINUX=	yes
@


1.10
log
@Establish a correct master-slave relationship between
www/linux-mozillafirebird and the ports that inherit most of their
information (except, e.g., distinfo) from it.

These changes should be transparent to installs (tested and verified
locally).

While here, update two cases of stale distfile info.  (MD5s
verified versus mozilla.org.)

PR:		ports/67701
Approved by:	maintainer timeout (2 weeks)
@
text
@d10 1
d32 1
a32 2
USE_XLIB=	yes
USE_X_PREFIX=	yes
d82 1
a82 1
	if [ ! -f ${NEW_LIBSTDCXX} ]; then \
d85 1
a85 1
	${ECHO_CMD} "@@exec if [ ! -f ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
@


1.9
log
@Use the CPIO macro defined in bsd.port.mk.
@
text
@d26 2
@


1.8
log
@Enable slave ports.
@
text
@d69 1
a69 1
		cpio -pdm -L -R ${LIBOWN}:${LIBGRP} \
@


1.7
log
@Update to 0.7.

Approved by:	Aaron Voisine (maintainer)
@
text
@d10 1
a10 1
CATEGORIES=	www linux
d12 3
a14 3
MASTER_SITE_SUBDIR=	firebird/releases/${PORTVERSION}
PKGNAMEPREFIX=	linux-
DISTNAME=	MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu
d17 1
a17 1
COMMENT=	Web browser branched from Mozilla
d19 1
a19 1
RUN_DEPENDS=	\
d25 1
d38 1
a38 1
	${ECHO_CMD} "cd ${PREFIX}/lib/linux-mozillafirebird/plugins" \
d52 1
a52 1
	${ECHO_CMD} bin/linux-mozillafirebird > ${PLIST}
d54 1
a54 1
		"@@unexec ${FIND} ${PREFIX}/lib/linux-mozillafirebird/plugins \
d57 1
a57 1
		${SED} -e 's:^:lib/linux-mozillafirebird/:' >> ${PLIST} \
d59 4
a62 4
		${SED} -e 's:^:@@dirrm lib/linux-mozillafirebird/:' >> ${PLIST}
	${ECHO_CMD} lib/linux-mozillafirebird/linkfarm >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/linux-mozillafirebird >> ${PLIST}
	${ECHO_CMD} "@@exec ${PREFIX}/lib/linux-mozillafirebird/linkfarm" \
d66 2
a67 2
	${MKDIR} ${PREFIX}/lib/linux-mozillafirebird
	${CHMOD} 755 ${PREFIX}/lib/linux-mozillafirebird
d70 3
a72 3
		${PREFIX}/lib/linux-mozillafirebird
	${LN} -sf ${PREFIX}/lib/linux-mozillafirebird/MozillaFirebird \
		${PREFIX}/bin/linux-mozillafirebird
d74 1
a74 1
		${PREFIX}/lib/linux-mozillafirebird
d88 1
a88 1
	@@${ECHO_CMD} \*\* ${PREFIX}/lib/linux-mozillafirebird/linkfarm as root \
d90 1
a90 1
	@@${ECHO_CMD} \*\* to make them available to linux-mozillafirebird. \
d92 1
a92 1
	@@- ${SH} ${PREFIX}/lib/linux-mozillafirebird/linkfarm || true
@


1.6
log
@Phoenix 0.5 begat Mozilla Firebird 0.6.

PR:	52834
Approved by:	Aaron Voisine (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.6
@


1.5
log
@Create a symlink libstdc++-libc6.1-1.so.2 -> libstdc++-libc6.2-2.so.3
so this binary actually dynamically links and works.
@
text
@d1 2
a2 2
# New ports collection makefile for:	linux-phoenix
# Date created:				2002-10-10
d8 2
a9 3
PORTNAME=	phoenix
PORTVERSION=	0.5
PORTREVISION=	1
d12 1
a12 1
MASTER_SITE_SUBDIR=	phoenix/releases/${PORTVERSION}
d14 1
a14 1
DISTNAME=	phoenix-${PORTVERSION}-i686-pc-linux-gnu
d30 1
a30 1
WRKSRC=		${WRKDIR}/phoenix
d37 1
a37 1
	${ECHO_CMD} "cd ${PREFIX}/lib/linux-phoenix/plugins" \
d39 6
a44 3
.for ii in linux-beonex/plugins netscape-linux/plugins flash \
	linux-mozilla/plugins linux-netscape*/plugins
		${ECHO_CMD} -n "${FIND} ${LOCALBASE}/lib/${ii}/*" \
d51 3
a53 2
	${ECHO_CMD} bin/linux-phoenix > ${PLIST}
	${ECHO_CMD} "@@unexec ${FIND} ${PREFIX}/lib/linux-phoenix/plugins \
d56 1
a56 1
		${SED} -e 's:^:lib/linux-phoenix/:' >> ${PLIST} \
d58 5
a62 4
		${SED} -e 's:^:@@dirrm lib/linux-phoenix/:' >> ${PLIST}
	${ECHO_CMD} lib/linux-phoenix/linkfarm >> ${PLIST}
	${ECHO_CMD} @@dirrm lib/linux-phoenix >> ${PLIST}
	${ECHO_CMD} "@@exec ${PREFIX}/lib/linux-phoenix/linkfarm" >> ${PLIST}
d65 2
a66 2
	${MKDIR} ${PREFIX}/lib/linux-phoenix
	${CHMOD} 755 ${PREFIX}/lib/linux-phoenix
d68 6
a73 4
		cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-phoenix
	${LN} -sf ${PREFIX}/lib/linux-phoenix/phoenix \
		${PREFIX}/bin/linux-phoenix
	${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-phoenix
d87 3
a89 2
	@@${ECHO_CMD} \*\* ${PREFIX}/lib/linux-beonex/linkfarm >> ${PKGMESSAGE}
	@@${ECHO_CMD} \*\* as root to make them available to linux-phoenix. \
d91 1
a91 1
	@@- ${SH} ${PREFIX}/lib/linux-phoenix/linkfarm || true
@


1.4
log
@Update to 0.5.

PR:		ports/48075
Submitted by:	Aaron Voisine <voisine@@yahoo.com> (MAINTAINER)
@
text
@d10 1
d65 1
a65 1
	${LN} -s ${PREFIX}/lib/linux-phoenix/phoenix \
d69 3
d73 5
@


1.3
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.3
d16 1
a16 1
MAINTAINER=	voisine@@bytemobile.com
@


1.2
log
@upgrade to 0.3

PR:		44133
Submitted by:	maintainer
@
text
@d17 1
@


1.1
log
@new Linux/i386 binary port of the Phoenix browser

Aaron Voisine submitted a port of this, but I like my version better
because it has a script to scavenge plugins, and because it saves
space by generating its packing list.  I've given the maintainership
to Mr. Voisine.

PR:  43936 and 43937
@
text
@d9 1
a9 1
PORTVERSION=	0.2
@

