summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-08-20 14:02:17 +0000
committerrh <rh@pkgsrc.org>2000-08-20 14:02:17 +0000
commitc78f054de5133fb5b63cd64b798251079fd1cfef (patch)
tree34ddceb4aec75a854f084163fdeff01489806f40 /www
parent468ff758c11ad6d37823c59f320e7f5633ae766b (diff)
downloadpkgsrc-c78f054de5133fb5b63cd64b798251079fd1cfef.tar.gz
Initial import of plugger-3.2, a netscape plugin-wrapper for popular file
types and players.
Diffstat (limited to 'www')
-rw-r--r--www/ns-plugger/Makefile40
-rw-r--r--www/ns-plugger/files/md53
-rw-r--r--www/ns-plugger/files/patch-sum3
-rw-r--r--www/ns-plugger/patches/patch-aa38
-rw-r--r--www/ns-plugger/pkg/COMMENT1
-rw-r--r--www/ns-plugger/pkg/DESCR9
-rw-r--r--www/ns-plugger/pkg/MESSAGE28
-rw-r--r--www/ns-plugger/pkg/PLIST7
8 files changed, 129 insertions, 0 deletions
diff --git a/www/ns-plugger/Makefile b/www/ns-plugger/Makefile
new file mode 100644
index 00000000000..74dcd868739
--- /dev/null
+++ b/www/ns-plugger/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+#
+
+DISTNAME= plugger-3.2-linux-x86-glibc
+PKGNAME= ${DISTNAME:C/-linux-x86-glibc//}
+WRKSRC= ${WRKDIR}/${PKGNAME}
+CATEGORIES= www
+MASTER_SITES= http://fredrik.hubbe.net/plugger/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://fredrik.hubbe.net/plugger.html
+
+DEPENDS+= {navigator,communicator}-*:../../www/navigator
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+NS_VERS= ${NSNAME:C/.*-//}
+BINNAME= ${NSNAME:C/-.*//}
+MOZILLA_HOME= ${PREFIX}/lib/netscape/${NSNAME}
+NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
+
+PLIST_SUBST+= NS_VERS=${NS_VERS} BINNAME=${BINNAME}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} plugger.so ${NS_PLUGINS_DIR} && \
+ ${INSTALL_DATA} pluggerrc ${MOZILLA_HOME} && \
+ ${INSTALL_DATA} plugger.7 ${PREFIX}/man/man7 && \
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/plugger && \
+ ${INSTALL_DATA} README ${PREFIX}/share/doc/plugger && \
+ ${INSTALL_DATA} COPYING ${PREFIX}/share/doc/plugger && \
+
+.include "../../mk/bsd.pkg.mk"
+
+NSNAME!= ( ${PKG_INFO} 2>/dev/null communicator || \
+ ${PKG_INFO} 2>/dev/null navigator ) | \
+ ${HEAD} -n 1 | ${CUT} -d: -f1 | ${CUT} -d' ' -f 3
diff --git a/www/ns-plugger/files/md5 b/www/ns-plugger/files/md5
new file mode 100644
index 00000000000..0091a8eea90
--- /dev/null
+++ b/www/ns-plugger/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+
+MD5 (plugger-3.2-linux-x86-glibc.tar.gz) = 6a1457df52172af0b4a614ca9b6a9edf
diff --git a/www/ns-plugger/files/patch-sum b/www/ns-plugger/files/patch-sum
new file mode 100644
index 00000000000..2d177708d7f
--- /dev/null
+++ b/www/ns-plugger/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+
+MD5 (patch-aa) = b0402c8de263a3bec13370881989c9aa
diff --git a/www/ns-plugger/patches/patch-aa b/www/ns-plugger/patches/patch-aa
new file mode 100644
index 00000000000..4fe9dce3819
--- /dev/null
+++ b/www/ns-plugger/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+
+--- pluggerrc.orig Wed Nov 10 02:42:29 1999
++++ pluggerrc
+@@ -27,6 +27,7 @@
+
+ audio/midi: midi,mid: MIDI audio file
+ audio/x-midi: midi,mid: MIDI audio file
++ many: midiplay $file
+ many: timidity -s 44100 -a -idqqqqqqq $file
+ : playmidi $file
+
+@@ -48,6 +49,7 @@
+ audio/x-mpeg: mpa,abs,mpega: MPEG audio
+ stream, preload: splay -t 200 -M
+ stream, preload: mpg123 -q -b 128 -
++ many: gqmpeg --playlist_add_play $file
+ many: splay -t 200 $file
+ many: amp -b 200 -q $file
+ many: mpg123 -q -b 128 $file
+@@ -68,7 +70,9 @@
+
+ audio/wav:wav:Microsoft wave file
+ audio/x-wav:wav:Microsoft wave file
++ stream, preload: audioplay
+ stream, preload: splay -W
++ many: audioplay $file
+ many: wavplay -q $file
+ stream, preload: bplay 1>/dev/null 2>/dev/null
+ : bplay 1>/dev/null 2>/dev/null
+@@ -84,6 +88,7 @@
+ image/x-sun-raster: rs: SUN raster image
+ exits: xloadimage -quiet -windowid $window $file
+ exits: display -window $window -backdrop $file
++ many: xv $file
+
+ audio/mpeg-url: m3u: MPEG music resource locator
+ audio/x-mpeg-url: m3u: MPEG music resource locator
diff --git a/www/ns-plugger/pkg/COMMENT b/www/ns-plugger/pkg/COMMENT
new file mode 100644
index 00000000000..bca81fe11c6
--- /dev/null
+++ b/www/ns-plugger/pkg/COMMENT
@@ -0,0 +1 @@
+streaming multimedia plugin for Netscape
diff --git a/www/ns-plugger/pkg/DESCR b/www/ns-plugger/pkg/DESCR
new file mode 100644
index 00000000000..961598b0b44
--- /dev/null
+++ b/www/ns-plugger/pkg/DESCR
@@ -0,0 +1,9 @@
+ Tired of getting teased by Windows users because your Netscape isn't as
+|<()()|_ as theirs? Well, your problems are almost solved. Plugger is a
+multimedia plugin for Unix Netscape 3.0 or later that handles Quicktime, MPEG,
+MP2, AVI, SGI-movie, Tiff, DL, IFF-anim, MIDI, Soundtracker, AU, WAV and
+Commodore 64 audio files. And now, with Plugger 3.2, MPEG audio and video can
+be played streaming.
+
+ No more waiting! Plugger is a very small plugin, because plugger uses
+external programs to show/play the different formats.
diff --git a/www/ns-plugger/pkg/MESSAGE b/www/ns-plugger/pkg/MESSAGE
new file mode 100644
index 00000000000..16a859e40a9
--- /dev/null
+++ b/www/ns-plugger/pkg/MESSAGE
@@ -0,0 +1,28 @@
+$NetBSD: MESSAGE,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+
+==========================================================================
+ Plugger has now been installed on your system.
+
+ This package is only a plugin wrapper around common multimedia
+ utilities. If you want to use plugger to display a certain file type
+ at least one of the utilities listed for that particular file type has
+ to be present:
+
+ file type utilities
+ --------- ---------
+ MPEG video mtv, xanim
+ Quicktime xanim
+ midi midiplay, timidity
+ mod mikmod, nspmod
+ MPEG Layer 3 splay, amp, mpg123, maplay, gqmpeg
+ PNG, TIFF ImageMagick, xv
+
+ The plugger package does not automatically depend on these utilities,
+ but all of them are available as packages. You will find them in the
+ package categories audio and graphics.
+
+ For information on adding more file types and applications, type
+ `man plugger'. To use a different (or no) plugin for a specific file
+ type, use the Navigator/Applications preferences of your Netscape
+ browser.
+==========================================================================
diff --git a/www/ns-plugger/pkg/PLIST b/www/ns-plugger/pkg/PLIST
new file mode 100644
index 00000000000..a0678f1b53b
--- /dev/null
+++ b/www/ns-plugger/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/20 14:02:17 rh Exp $
+lib/netscape/plugins/plugger.so
+lib/netscape/${BINNAME}-${NS_VERS}/pluggerrc
+man/man7/plugger.7
+share/doc/plugger/README
+share/doc/plugger/COPYING
+@dirrm share/doc/plugger