Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jul 2003 16:24:40 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        ports@geekpunk.net
Cc:        freebsd-ports@freebsd.org
Subject:   suggest add WITH_* defines in www/linux-flashplugin6
Message-ID:  <oprr2a3euo8ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
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.



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