From owner-freebsd-ports@FreeBSD.ORG Wed Jul 9 14:24:44 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A0F37B401 for ; Wed, 9 Jul 2003 14:24:44 -0700 (PDT) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id E699943F3F for ; Wed, 9 Jul 2003 14:24:43 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.37.247]) by lakemtao07.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030709212441.ZOCH26675.lakemtao07.cox.net@mezz.mezzweb.com>; Wed, 9 Jul 2003 17:24:41 -0400 Date: Wed, 09 Jul 2003 16:24:40 -0500 To: ports@geekpunk.net Content-Type: text/plain; charset=utf-8; format=flowed From: Jeremy Messenger MIME-Version: 1.0 Message-ID: User-Agent: Opera7.11/Linux M2 build 406 cc: freebsd-ports@freebsd.org Subject: suggest add WITH_* defines in www/linux-flashplugin6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 21:24:45 -0000 Hello Brandon, I think, it's good idea to add WITH_* defines in the www/linux-flashplugin6 to allow different browsers user to choice which browsers they use. Current, it's only for linux-mozilla and this plugin works very well with linux-opera as well. Perhaps, something automatic that can detivce what browser they use and install it? Something like this: Manual: ========================== +.if defined(WITH_MOZILLA) # or WITH_LINUXMOZILLA? PLUGINSDIR= lib/linux-mozilla/plugins +.endif + +.if defined(WITH_OPERA) # or WITH_LINUXOPERA? +USE_X_PREFIX= yes +PLUGINSDIR= share/opera/plugins +.endif + LIBFILES= libflashplayer.so flashplayer.xpt PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" ========================== OR Automatic: ========================== +.if exists(${LOCALBASE}/lib/linux-mozilla/plugins) PLUGINSDIR= lib/linux-mozilla/plugins +.endif + +.if exists(${X11BASE}/share/opera/plugins) +USE_X_PREFIX= yes +PLUGINSDIR= share/opera/plugins +.endif + LIBFILES= libflashplayer.so flashplayer.xpt PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" ========================== Note: I know that I didn't add PLIST_SUB; it's just some examples. Whatever what/how method you think it's best.. If you are busy, please let me know and I am willing to create the patch, then send it to PR. Cheers, Mezz -- bsdforums.org 's moderator, mezz.