Date: Wed, 25 Feb 2004 08:51:27 -0800 (PST) From: Gaspar Chilingarov <nm@web.am> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/63357: [patch] www/linux-mozillafirefox port created (mozillafirebird is deprecated) Message-ID: <200402251651.i1PGpRqT097315@www.freebsd.org> Resent-Message-ID: <200402251700.i1PH0TWf023042@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63357 >Category: ports >Synopsis: [patch] www/linux-mozillafirefox port created (mozillafirebird is deprecated) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 09:00:29 PST 2004 >Closed-Date: >Last-Modified: >Originator: Gaspar Chilingarov >Release: -CURRENT >Organization: Netter Ltd. >Environment: -currect build at 20 Feb 2004 >Description: Here is an update for Mozilla Firefox package - linux prebuild version, which allows you to use flash plugin and etc in linux compatibility mode. GTK is required. >How-To-Repeat: n/a >Fix: Here is a shar archive of the port . Portlint complains about COMMENT=? ... it may need to be changed --cut line-- # 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: # # linux-firefox/Makefile # linux-firefox/distinfo # linux-firefox/pkg-descr # echo x - linux-firefox/Makefile sed 's/^X//' >linux-firefox/Makefile << 'END-of-linux-firefox/Makefile' X# New ports collection makefile for: linux-mozillafirefox X# Date created: 2003-06-03 X# Whom: trevor X# X# $FreeBSD$ X# X XPORTNAME= mozillafirefox XPORTVERSION= 0.8 XCATEGORIES?= www linux XMASTER_SITES= ${MASTER_SITE_MOZILLA} XMASTER_SITE_SUBDIR?= firefox/releases/${PORTVERSION} XPKGNAMEPREFIX?= linux- XDISTNAME?= firefox-${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 XFIREFOX_NAME= ${PKGNAMEPREFIX}${PORTNAME} XPKGMESSAGE= ${WRKDIR}/pkg-message XPLIST= ${WRKDIR}/pkg-plist XUSE_LINUX= yes XUSE_XLIB= yes XUSE_X_PREFIX= yes XWRKSRC= ${WRKDIR}/firefox 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/${FIREFOX_NAME}/plugins" \ X >>${WRKDIR}/linkfarm X.for ii in lib/linux-beonex/plugins lib/netscape-linux/plugins lib/flash \ X lib/linux-mozilla/plugins lib/linux-netscape*/plugins \ X lib/linux-flashplugin6 \ Xlinux-blackdown-jdk1.3.1/jre/plugin/i386/mozilla \ Xlinux-blackdown-jdk1.4.1/jre/plugin/i386/mozilla X ${ECHO_CMD} -n "${FIND} ${LOCALBASE}/${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/${FIREFOX_NAME} > ${PLIST} X ${ECHO_CMD} \ X "@unexec ${FIND} ${PREFIX}/lib/${FIREFOX_NAME}/plugins \ X -type l -exec ${RM} {} \;" >> ${PLIST} X cd ${WRKSRC} && ${FIND} -s * -type f -o -type l | \ X ${SED} -e 's:^:lib/${FIREFOX_NAME}/:' >> ${PLIST} \ X && ${FIND} -d * -type d | \ X ${SED} -e 's:^:@dirrm lib/${FIREFOX_NAME}/:' >> ${PLIST} X ${ECHO_CMD} lib/${FIREFOX_NAME}/linkfarm >> ${PLIST} X ${ECHO_CMD} @dirrm lib/${FIREFOX_NAME} >> ${PLIST} X ${ECHO_CMD} "@exec ${PREFIX}/lib/${FIREFOX_NAME}/linkfarm" \ X >> ${PLIST} X Xdo-install: X ${MKDIR} ${PREFIX}/lib/${FIREFOX_NAME} X ${CHMOD} 755 ${PREFIX}/lib/${FIREFOX_NAME} X cd ${WRKSRC} && ${FIND} * | \ X ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \ X ${PREFIX}/lib/${FIREFOX_NAME} X ${LN} -sf ${PREFIX}/lib/${FIREFOX_NAME}/firefox \ X ${PREFIX}/bin/${FIREFOX_NAME} X ${INSTALL_SCRIPT} ${WRKDIR}/linkfarm \ X ${PREFIX}/lib/${FIREFOX_NAME} 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/${FIREFOX_NAME}/linkfarm as root \ X >> ${PKGMESSAGE} X @${ECHO_CMD} \*\* to make them available to ${FIREFOX_NAME}. \ X >> ${PKGMESSAGE} X @- ${SH} ${PREFIX}/lib/${FIREFOX_NAME}/linkfarm || true X @ ${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-linux-firefox/Makefile echo x - linux-firefox/distinfo sed 's/^X//' >linux-firefox/distinfo << 'END-of-linux-firefox/distinfo' XMD5 (firefox-0.8-i686-pc-linux-gnu.tar.gz) = 6fdd9e1eb3d065dd9fe7b38136978a33 XSIZE (firefox-0.8-i686-pc-linux-gnu.tar.gz) = 9189879 END-of-linux-firefox/distinfo echo x - linux-firefox/pkg-descr sed 's/^X//' >linux-firefox/pkg-descr << 'END-of-linux-firefox/pkg-descr' XMozilla Firefox is a Web, FTP and gopher browser branched from Mozilla. It Xdoes not include 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 plugin from Xports/www/linux-flashplugin6/ and with the Java plugin from Xports/java/linux-blackdown-jdk14/. X XWWW: http://www.mozilla.org/products/firefox/ END-of-linux-firefox/pkg-descr exit --cut line-- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402251651.i1PGpRqT097315>