Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2003 14:57:13 +0500
From:      Gaspar Chilingarov <nm@web.am>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:    Re: ports/54499: [NEW PORT] for MozillaFirebird browser(was Phoenix)
Message-ID:  <200307161457.13584.nm@web.am>
In-Reply-To: <200307151120.h6FBKHL0095250@freefall.freebsd.org>
References:  <200307151120.h6FBKHL0095250@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-00=_5FSF/m3i33FS5lb
Content-Type: text/plain;
  charset="koi8-r"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

sorry, but i've not attached shar archive for this port
here it is

--Boundary-00=_5FSF/m3i33FS5lb
Content-Type: text/plain;
  charset="koi8-r";
  name="linux-firebird.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="linux-firebird.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	linux-firebird
X# Date created:				2003-06-20
X#
X# $FreeBSD$
X#
X
XPORTNAME= firebird
XPORTVERSION=	0.6
X#PORTREVISION=	1
XCATEGORIES=	www linux
XMASTER_SITES=	${MASTER_SITE_MOZILLA}
XMASTER_SITE_SUBDIR=	firebird/releases/${PORTVERSION}
XPKGNAMEPREFIX=	linux-
XDISTNAME=	MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu
X
XMAINTAINER=	voisine@yahoo.com
XCOMMENT=	Web browser branched from Mozilla
X
XRUN_DEPENDS=	\
X	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
X
XNO_BUILD=	yes
XNO_FILTER_SHLIBS=yes
XONLY_FOR_ARCHS=	i386
XPKGMESSAGE=	${WRKDIR}/pkg-message
XPLIST=		${WRKDIR}/pkg-plist
XUSE_LINUX=	yes
XUSE_XLIB=	yes
XUSE_X_PREFIX=	yes
XWRKSRC=		${WRKDIR}/MozillaFirebird
X
Xdo-patch:
X	${ECHO_CMD} "#!/bin/sh"		> ${WRKDIR}/linkfarm
X	${ECHO_CMD} \
X	"# Run this after installing Beonex, Mozilla or Netscape plugins." \
X		>>${WRKDIR}/linkfarm
X	${ECHO_CMD} "cd ${PREFIX}/lib/linux-firebird/plugins" \
X		>>${WRKDIR}/linkfarm
X.for ii in linux-beonex/plugins netscape-linux/plugins flash \
X	linux-mozilla/plugins linux-netscape*/plugins
X		${ECHO_CMD} -n "${FIND} ${LOCALBASE}/lib/${ii}/*" \
X			>>${WRKDIR}/linkfarm
X		${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \
X			>>${WRKDIR}/linkfarm
X.endfor
X
Xpre-install:
X	${ECHO_CMD} bin/linux-firebird > ${PLIST}
X	${ECHO_CMD} "@unexec ${FIND} ${PREFIX}/lib/linux-firebird/plugins \
X		-type l -exec ${RM} {} \;" >> ${PLIST}
X	cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \
X		${SED} -e 's:^:lib/linux-firebird/:' >> ${PLIST} \
X		&& ${FIND} -d * -type d | \
X		${SED} -e 's:^:@dirrm lib/linux-firebird/:' >> ${PLIST}
X	${ECHO_CMD} lib/linux-firebird/linkfarm >> ${PLIST}
X	${ECHO_CMD} @dirrm lib/linux-firebird >> ${PLIST}
X	${ECHO_CMD} "@exec ${PREFIX}/lib/linux-firebird/linkfarm" >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/linux-firebird
X	${CHMOD} 755 ${PREFIX}/lib/linux-firebird
X	cd ${WRKSRC} && ${FIND} * | \
X		cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-firebird
X	${LN} -sf ${PREFIX}/lib/linux-firebird/MozillaFirebird \
X		${PREFIX}/bin/linux-firebird
X	${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-firebird
X
XNEW_LIBSTDCXX=	${LINUXBASE}/usr/lib/libstdc++-libc6.2-2.so.3
XOLD_LIBSTDCXX=	libstdc++-libc6.1-1.so.2
X
Xpost-install:
X	if [ ! -f ${NEW_LIBSTDCXX} ]; then \
X		${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; \
X	fi
X	${ECHO_CMD} "@exec if [ ! -f ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
X	${ECHO_CMD} "@unexec if [ -L ${NEW_LIBSTDCXX} ]; then ${RM} -f ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
X	@${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
X	@${ECHO_CMD} \*\* Mozilla or Netscape, run\
X		> ${PKGMESSAGE}
X	@${ECHO_CMD} \*\* ${PREFIX}/lib/linux-beonex/linkfarm >> ${PKGMESSAGE}
X	@${ECHO_CMD} \*\* as root to make them available to linux-firebird. \
X		>> ${PKGMESSAGE}
X	@- ${SH} ${PREFIX}/lib/linux-firebird/linkfarm || true
X	@ ${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (MozillaFirebird-0.6-i686-pc-linux-gnu.tar.gz) = 52376f4f0b088256f75a87920de0e4c4
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XPhoenix is a Web, FTP and gopher browser branched from Mozilla.  It does not
Xinclude an HTML editor, e-mail user agent, IRC client, or news reader.
X
XThis is a pre-compiled Linux/i386 version, able to run plugins from that
Xplatform.  This port is compatible with the Flash plugins from the
Xwww/linux-flashplugin and www/netscape7 ports.
X
XWWW: http://mozilla.org/projects/firebird/
END-of-pkg-descr
exit


--Boundary-00=_5FSF/m3i33FS5lb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307161457.13584.nm>