Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 17:18:15 GMT
From:      Dirk Gouders<dirk.gouders@fh-gelsenkirchen.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   www/108268: Suggestion for additional options to linux-firefox port
Message-ID:  <200701231718.l0NHIFUB091650@www.freebsd.org>
Resent-Message-ID: <200701231720.l0NHKIfe087381@freefall.freebsd.org>

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

>Number:         108268
>Category:       www
>Synopsis:       Suggestion for additional options to linux-firefox port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 23 17:20:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Gouders
>Release:        FreeBSD 5.5-STABLE
>Organization:
FH Gelsenkirchen, Abt. Bocholt
>Environment:
FreeBSD sora.hank.home 5.5-STABLE FreeBSD 5.5-STABLE #4: Tue Oct  3 17:17:54 CEST 2006     root@sora.hank.home:/usr/src/sys/i386/compile/SORA  i386

>Description:
I would like to suggest to add the options to also install the flash and
java plugins when installing linux-firefox.
>How-To-Repeat:

>Fix:
Here is a modified Makefile that enables these options:

# New ports collection makefile for:	linux-firefox
# Date created:				2004-09-17
# Whom:					voisine
#
# $FreeBSD: ports/www/linux-firefox/Makefile,v 1.33 2006/12/21 15:14:11 sat Exp $
#

PORTNAME=	firefox
PORTVERSION=	2.0.0.1
CATEGORIES=	www
MASTER_SITE_SUBDIR?=	firefox/releases/${PORTVERSION}/linux-i686/en-US

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	Web browser based on the browser portion of Mozilla

.include "${.CURDIR}/../linux-seamonkey/Makefile.common"

OPTIONS=	FLASH		"Enable Flash Plugin"		off \
		JAVA		"Enable Java Plugin"		off

.include <bsd.port.pre.mk>

.if defined(WITH_JAVA)
USE_JAVA=	YES
JAVA_VERSION=	1.4
JAVA_OS=	linux
JAVA_VENDOR=	blackdown
.endif

.if defined(WITH_FLASH)
RUN_DEPENDS+=		${LOCALBASE}/lib/npapi/linux-flashplugin/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin7
.endif

post-install:
.if defined(WITH_JAVA)
	@ln -s ${JAVA_HOME}/jre/plugin/i386/mozilla/libjavaplugin_oji.so \
		${LOCALBASE}/lib/linux-firefox/plugins/
.endif

.include <bsd.port.post.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



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