From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 20 19:10:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2874E16A4CE for ; Mon, 20 Dec 2004 19:10:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D5F43D48 for ; Mon, 20 Dec 2004 19:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKJANpY016199 for ; Mon, 20 Dec 2004 19:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBKJANpj016197; Mon, 20 Dec 2004 19:10:23 GMT (envelope-from gnats) Resent-Date: Mon, 20 Dec 2004 19:10:23 GMT Resent-Message-Id: <200412201910.iBKJANpj016197@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aaron Voisine Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C2716A4CE for ; Mon, 20 Dec 2004 19:02:17 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F8C443D2D for ; Mon, 20 Dec 2004 19:02:16 +0000 (GMT) (envelope-from voisine@voisine.org) Received: from mail.voisine.org (voisine.org[67.170.228.181]) by comcast.net (rwcrmhc12) with ESMTP id <20041220190212014003996ue>; Mon, 20 Dec 2004 19:02:16 +0000 Received: by mail.voisine.org (Postfix, from userid 501) id DCA17A4167; Mon, 20 Dec 2004 11:02:07 -0800 (PST) Message-Id: <20041220190207.DCA17A4167@mail.voisine.org> Date: Mon, 20 Dec 2004 11:02:07 -0800 (PST) From: Aaron Voisine To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75326: new port: www/linux-firefox (replaces linux-mozillafirebird) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aaron Voisine List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 19:10:24 -0000 >Number: 75326 >Category: ports >Synopsis: new port: www/linux-firefox (replaces linux-mozillafirebird) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 20 19:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Aaron Voisine >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD morpheus.voisine.org 4.10-STABLE FreeBSD 4.10-STABLE #3: Wed May 26 23:52:40 PDT 2004 voisine@morpheus.voisine.org:/usr/src/sys/compile/MYKERNEL i386 >Description: new port: www/linux-firefox (replaces linux-mozillafirebird) >How-To-Repeat: n/a >Fix: # 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: # # /usr/ports/www/linux-firefox # /usr/ports/www/linux-firefox/Makefile # /usr/ports/www/linux-firefox/distinfo # /usr/ports/www/linux-firefox/pkg-descr # echo c - /usr/ports/www/linux-firefox mkdir -p /usr/ports/www/linux-firefox > /dev/null 2>&1 echo x - /usr/ports/www/linux-firefox/Makefile sed 's/^X//' >/usr/ports/www/linux-firefox/Makefile << 'END-of-/usr/ports/www/linux-firefox/Makefile' X# New ports collection makefile for: linux-firefox X# Date created: 2004-09-17 X# Whom: voisine X# X# $FreeBSD: ports/www/linux-firefox/Makefile,v 1.0 2004/09/17 16:26:12 voisineExp $ X# X XPORTNAME= firefox XPORTVERSION= 1.0 XCATEGORIES?= www linux XMASTER_SITES= ${MASTER_SITE_MOZILLA} XMASTER_SITE_SUBDIR?=firefox/releases/${PORTVERSION}/linux-i686/en-US XPKGNAMEPREFIX?=linux- XDISTNAME?= firefox-${PORTVERSION} X XMAINTAINER= voisine@gmail.com XCOMMENT= Web browser branched from Mozilla X XRUN_DEPENDS?= \ X${LINUXBASE}/usr/lib/libstdc++.so.5:${PORTSDIR}/emulators/linux_base-8 \ X${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \ X${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \ X${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango\ X${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ X${LINUXBASE}${X11BASE}/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ X${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig X XNO_BUILD= yes XNO_FILTER_SHLIBS=yes XONLY_FOR_ARCHS=i386 XFIREFOX_NAME= ${PKGNAMEPREFIX}${PORTNAME} XDESCR= ${.CURDIR}/pkg-descr XMD5_FILE= ${.CURDIR}/distinfo 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 \ X lib/linux-beonex/plugins \ X lib/netscape-linux/plugins \ X lib/flash \ X lib/linux-mozilla/plugins \ X lib/linux-netscape*/plugins \ X lib/linux-flashplugin6 \ X linux-blackdown-jdk1.3.1/jre/plugin/i386/mozilla \ X linux-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} lib/${FIREFOX_NAME}/${FIREFOX_NAME}-bin >> ${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 ${LN} -sf ${PREFIX}/lib/${FIREFOX_NAME}/firefox-bin \ X ${PREFIX}/lib/${FIREFOX_NAME}/${FIREFOX_NAME}-bin X ${INSTALL_SCRIPT} ${WRKDIR}/linkfarm \ X ${PREFIX}/lib/${FIREFOX_NAME} X Xpost-install: 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 END-of-/usr/ports/www/linux-firefox/Makefile echo x - /usr/ports/www/linux-firefox/distinfo sed 's/^X//' >/usr/ports/www/linux-firefox/distinfo << 'END-of-/usr/ports/www/linux-firefox/distinfo' X$FreeBSD: ports/www/linux-mozillafirebird/distinfo,v 1.6 2004/03/31 03:12:13 trevor Exp $ XMD5 (firefox-1.0.tar.gz) = 961fc684c55cb95d23bc465d5346de32 XSIZE (firefox-1.0.tar.gz) = 8223869 END-of-/usr/ports/www/linux-firefox/distinfo echo x - /usr/ports/www/linux-firefox/pkg-descr sed 's/^X//' >/usr/ports/www/linux-firefox/pkg-descr << 'END-of-/usr/ports/www/linux-firefox/pkg-descr' XFirefox 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 plugin from Xports/www/linux-flashplugin6/ and with the Java plugin from Xports/java/linux-blackdown-jdk14/. X XWWW: http://mozilla.org/projects/firefox/ END-of-/usr/ports/www/linux-firefox/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: