diff --git a/www/plugger/Makefile b/www/plugger/Makefile new file mode 100644 index 000000000000..96ef05d27b5a --- /dev/null +++ b/www/plugger/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: plugger +# Version required: 3.0 +# Date created: 11 Februrary 1999 +# Whom: Jay Sachs +# +# $Id$ +# + +DISTNAME= plugger-3.0 +CATEGORIES= www +MASTER_SITES= http://www.hubbe.net/~hubbe/plugger/ \ + ftp://ftp.netscape.com/pub/sdk/plugin/unix/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} unix-sdk-3.0b5.tar.Z + +MAINTAINER= sachs@cs.williams.edu + +RUN_DEPENDS= ${LOCALBASE}/lib/netscape/plugins:${PORTSDIR}/www/netscape46-navigator + +MAN7= plugger.7 +MANCOMPRESSED= no + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old + ${SED} \ + -e 's#/usr/local/#${PREFIX}/#' \ + -e 's#/usr/X11/#${X11BASE}/#' \ + -e 's#/etc/pluggerrc#${PREFIX}/etc/pluggerrc.sample#' \ + -e 's# /etc/ # ${PREFIX}/etc/pluggerrc.sample #' \ + ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile + +post-install: + @${CAT} ${PKGMESSAGE} | ${SED} -e 's:/usr/local:${PREFIX}:' + +.include diff --git a/www/plugger/distinfo b/www/plugger/distinfo new file mode 100644 index 000000000000..fb29d7504798 --- /dev/null +++ b/www/plugger/distinfo @@ -0,0 +1,2 @@ +MD5 (plugger-3.0.tar.gz) = 98f073487375d398b1cd0b657fcfce63 +MD5 (unix-sdk-3.0b5.tar.Z) = 1e43785d5697c60937e8d6236e7d7d7e diff --git a/www/plugger/files/patch-aa b/www/plugger/files/patch-aa new file mode 100644 index 000000000000..66c434a2b337 --- /dev/null +++ b/www/plugger/files/patch-aa @@ -0,0 +1,18 @@ +--- Makefile.orig Mon Feb 15 10:14:46 1999 ++++ Makefile Mon Feb 15 10:14:24 1999 +@@ -1,5 +1,5 @@ + # Where is your Plugin Source Development Kit from Netscape? +-SDK=/home/hubbe/src/PluginSDK30b5 ++SDK=../PluginSDK30b5 + + # Where is your Xwindows located? + X11=/usr/X11/ +@@ -40,6 +40,8 @@ + + DEFINES=$(STREAM) -DVERSION=\"$(VERSION)\" # -DDEBUG # -DPLUGIN_TRACE + CFLAGS=-O -I$(SDK)/include -I$(X11)/include -DXP_UNIX $(DEFINES) ++ ++all: $(BIN_FILES) + + plugger.so: plugger.o common.o + $(LD) -o plugger.so plugger.o common.o diff --git a/www/plugger/pkg-comment b/www/plugger/pkg-comment new file mode 100644 index 000000000000..ff5be02996f9 --- /dev/null +++ b/www/plugger/pkg-comment @@ -0,0 +1 @@ +A multimedia front-end plugin for Netscape diff --git a/www/plugger/pkg-descr b/www/plugger/pkg-descr new file mode 100644 index 000000000000..3d533f913857 --- /dev/null +++ b/www/plugger/pkg-descr @@ -0,0 +1,12 @@ +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.0, MPEG audio and video can be played streaming. + +Plugger is a very small plugin, because plugger uses external programs +to show/play the different formats. + +WWW: http://www.hubbe.net/~hubbe/plugger.html + +-Jay + sachs@cs.williams.edu diff --git a/www/plugger/pkg-message b/www/plugger/pkg-message new file mode 100644 index 000000000000..7bdbc63dcdf5 --- /dev/null +++ b/www/plugger/pkg-message @@ -0,0 +1,15 @@ + +************************************************** +************************************************** +NOTE: + +Be sure to create a /usr/local/etc/pluggerrc file; use +/usr/local/etc/pluggerrc.sample as a starting point. +It should work fine as is. + +Also note that you will need the various external viewers +(splay, xanim, etc) in order to view embedded web content. + +************************************************** +************************************************** + diff --git a/www/plugger/pkg-plist b/www/plugger/pkg-plist new file mode 100644 index 000000000000..ab96b13a8922 --- /dev/null +++ b/www/plugger/pkg-plist @@ -0,0 +1,3 @@ +lib/netscape/plugins/plugger.so +etc/pluggerrc.sample +