www/108268: Suggestion for additional options to linux-firefox port

Dirk Gouders dirk.gouders at fh-gelsenkirchen.de
Tue Jan 23 17:20:18 UTC 2007


>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 at 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 at 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:


More information about the freebsd-www mailing list