summaryrefslogtreecommitdiff
path: root/www/opera-plugins
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-04-14 13:05:18 +0000
committertron <tron@pkgsrc.org>2002-04-14 13:05:18 +0000
commit627ab06c8b63c021edfbec47632a5d48572ed68d (patch)
treec03fd63ce3da12960d2aca2756a15fb8b16ba7fb /www/opera-plugins
parent104fd9209b65030cb37b743a5e0714ad913ffaf9 (diff)
downloadpkgsrc-627ab06c8b63c021edfbec47632a5d48572ed68d.tar.gz
Import new "opera-plugins" package:
Plugins for the Opera browser
Diffstat (limited to 'www/opera-plugins')
-rw-r--r--www/opera-plugins/DESCR3
-rw-r--r--www/opera-plugins/Makefile41
2 files changed, 44 insertions, 0 deletions
diff --git a/www/opera-plugins/DESCR b/www/opera-plugins/DESCR
new file mode 100644
index 00000000000..c5f210b2536
--- /dev/null
+++ b/www/opera-plugins/DESCR
@@ -0,0 +1,3 @@
+Opera 6.x supports loading Netscape 4.x plugins via a plugin wrapper.
+This package utilizies this feature to provide plugins for Opera.
+So far only the Shockwave Flash Plugin is known to work.
diff --git a/www/opera-plugins/Makefile b/www/opera-plugins/Makefile
new file mode 100644
index 00000000000..6fd51247555
--- /dev/null
+++ b/www/opera-plugins/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/14 13:05:18 tron Exp $
+
+DISTNAME= opera-plugins-1.0
+CATEGORIES= www
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.opera.com/
+COMMENT= Plugins for the Opera browser
+
+DEPENDS+= opera>=5.999.1:../opera6
+DEPENDS+= ns-flash>=5.0.47:../../graphics/ns-flash
+DEPENDS+= suse_openmotif>=7.3:../../emulators/suse_openmotif
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= YES
+NO_BUILD= YES
+PLIST_SRC= ${WRKDIR}/PLIST
+
+EMULSUBDIR= emul/linux
+EMULDIR= ${PREFIX}/${EMULSUBDIR}
+
+PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins
+# The FlashPlayer plugin is the only one I got completely working so far.
+# Sun's Java Plugin fails, Acrobat and RealPlayer are not recognized by
+# name. If you get more plugins working add them (including dependences)
+# and bump the version number.
+PLUGINS= libflashplayer.so
+
+do-install:
+ ${RM} -f ${PLIST_SRC}
+ ${TOUCH} ${PLIST_SRC}
+ for FILE in ${PLUGINS}; do \
+ ${LN} -fs ${PLUGIN_DIR}/$$FILE \
+ ${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
+ ${ECHO} ${EMULSUBDIR}/usr/lib/opera/plugins/$$FILE \
+ >>${PLIST_SRC}; \
+ done
+
+.include "../../emulators/suse_linux/Makefile.application"