From owner-freebsd-ports Fri Feb 12 09:40:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11215 for freebsd-ports-outgoing; Fri, 12 Feb 1999 09:40:08 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11160 for ; Fri, 12 Feb 1999 09:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id JAA73756; Fri, 12 Feb 1999 09:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from harmony.williams.edu (harmony.williams.edu [137.165.4.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10605 for ; Fri, 12 Feb 1999 09:34:10 -0800 (PST) (envelope-from sachs@cs.williams.edu) Received: from bull.cs.williams.edu by williams.edu (PMDF V5.1-10 #24595) with ESMTP id <0F7100N85Y4U99@williams.edu> for FreeBSD-gnats-submit@freebsd.org; Fri, 12 Feb 1999 12:34:06 -0500 (EST) Received: from hamburger.cs.williams.edu (hamburger [137.165.8.59]) by bull.cs.williams.edu (8.9.0/8.9.0) with ESMTP id MAA26283 for ; Fri, 12 Feb 1999 12:34:01 -0500 (EST) Received: (from sachs@localhost) by hamburger.cs.williams.edu (8.8.8/8.8.8) id MAA14606; Fri, 12 Feb 1999 12:35:41 -0500 Message-Id: <199902121735.MAA14606@hamburger.cs.williams.edu> Date: Fri, 12 Feb 1999 12:35:41 -0500 (EST) From: Jay Sachs Reply-To: sachs@cs.williams.edu To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/10049: new port: plugger Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10049 >Category: ports >Synopsis: new port: plugger >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 12 09:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Jay Sachs >Release: FreeBSD 2.2.8-STABLE i386 >Organization: Williams College CS dept >Environment: FreeBSD 2.2-stable + >Description: new port: plugger, a small multimedia front-end plugin for Netscape that uses external programs as content viewers Caveats: I set RUN_DEPENDS to netscape45-navigator, though it conceivably should depend on any of the netscapes (3 & up I think). Also, it seems inelegant that to specify multiple distfiles, all sites are checked. It would be nice if the port mechanism allowed one to associate sites w/ distfiles. This came up because I didn't see a reason to bundle the Netscape plugin SDK into its own port. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # plugger # plugger/pkg # plugger/pkg/COMMENT # plugger/pkg/DESCR # plugger/pkg/PLIST # plugger/pkg/MESSAGE # plugger/Makefile,v # plugger/files # plugger/files/md5 # plugger/Makefile # plugger/patches # plugger/patches/patch-aa # echo c - plugger mkdir -p plugger > /dev/null 2>&1 echo c - plugger/pkg mkdir -p plugger/pkg > /dev/null 2>&1 echo x - plugger/pkg/COMMENT sed 's/^X//' >plugger/pkg/COMMENT << 'END-of-plugger/pkg/COMMENT' XA multimedia front-end plugin for Netscape END-of-plugger/pkg/COMMENT echo x - plugger/pkg/DESCR sed 's/^X//' >plugger/pkg/DESCR << 'END-of-plugger/pkg/DESCR' XPlugger is a multimedia plugin for Unix Netscape 3.0 or later that Xhandles Quicktime, MPEG, MP2, AVI, SGI-movie, Tiff, DL, IFF-anim, XMIDI, Soundtracker, AU, WAV and Commodore 64 audio files. And now, Xwith Plugger 3.0, MPEG audio and video can be played streaming. X XPlugger is a very small plugin, because plugger uses external programs Xto show/play the different formats. X X(from the Plugger homepage at http://www.hubbe.net/~hubbe/plugger.html) X X-Jay X sachs@cs.williams.edu END-of-plugger/pkg/DESCR echo x - plugger/pkg/PLIST sed 's/^X//' >plugger/pkg/PLIST << 'END-of-plugger/pkg/PLIST' Xlib/netscape/plugins/plugger.so Xetc/pluggerrc.sample X END-of-plugger/pkg/PLIST echo x - plugger/pkg/MESSAGE sed 's/^X//' >plugger/pkg/MESSAGE << 'END-of-plugger/pkg/MESSAGE' X X************************************************** X************************************************** XNOTE: X XBe sure to create a /usr/local/etc/pluggerrc file; use X/usr/local/etc/pluggerrc.sample as a starting point. XIt should work fine as is. X XAlso note that you will need the various external viewers X(splay, xanim, etc) in order to view embedded web content. X X************************************************** X************************************************** X END-of-plugger/pkg/MESSAGE echo x - plugger/Makefile,v sed 's/^X//' >plugger/Makefile,v << 'END-of-plugger/Makefile,v' Xhead 1.1; Xaccess; Xsymbols; Xlocks X sachs:1.1; strict; Xcomment @# @; X X X1.1 Xdate 99.02.11.21.18.14; author sachs; state Exp; Xbranches; Xnext ; X X Xdesc X@Makefile for plugger-3.0 port. X@ X X X1.1 Xlog X@Initial revision X@ Xtext X@@ END-of-plugger/Makefile,v echo c - plugger/files mkdir -p plugger/files > /dev/null 2>&1 echo x - plugger/files/md5 sed 's/^X//' >plugger/files/md5 << 'END-of-plugger/files/md5' XMD5 (plugger-3.0.tar.gz) = 98f073487375d398b1cd0b657fcfce63 XMD5 (unix-sdk-3.0b5.tar.Z) = 1e43785d5697c60937e8d6236e7d7d7e END-of-plugger/files/md5 echo x - plugger/Makefile sed 's/^X//' >plugger/Makefile << 'END-of-plugger/Makefile' X# New ports collection makefile for: plugger X# Version required: ... X# Date created: 11 Februrary 1999 X# Whom: sachs X# X# $Id$ X# X XDISTNAME= plugger-3.0 XCATEGORIES= www XMASTER_SITES= http://www.hubbe.net/~hubbe/plugger/ \ X ftp://ftp.netscape.com/pub/sdk/plugin/unix/ XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} unix-sdk-3.0b5.tar.Z X XMAINTAINER= sachs@cs.williams.edu X XRUN_DEPENDS= ${PREFIX}/lib/netscape/plugins:${PORTSDIR}/www/netscape45-navigator X XMAN7= plugger.7 XMANCOMPRESSED= no X Xpost-install: X @cat ${PKGMESSAGE} X X.include END-of-plugger/Makefile echo c - plugger/patches mkdir -p plugger/patches > /dev/null 2>&1 echo x - plugger/patches/patch-aa sed 's/^X//' >plugger/patches/patch-aa << 'END-of-plugger/patches/patch-aa' X--- Makefile.orig Thu Jan 7 00:43:26 1999 X+++ Makefile Fri Feb 12 12:17:21 1999 X@@ -1,8 +1,8 @@ X # Where is your Plugin Source Development Kit from Netscape? X-SDK=/home/hubbe/src/PluginSDK30b5 X+SDK=../PluginSDK30b5 X X # Where is your Xwindows located? X-X11=/usr/X11/ X+X11=/usr/X11R6/ X X # Linux X CC=gcc -fpic X@@ -39,7 +39,9 @@ X BIN_FILES=plugger.so X X DEFINES=$(STREAM) -DVERSION=\"$(VERSION)\" # -DDEBUG # -DPLUGIN_TRACE X-CFLAGS=-O -I$(SDK)/include -I$(X11)/include -DXP_UNIX $(DEFINES) X+CFLAGS+= -I$(SDK)/include -I$(X11)/include -DXP_UNIX $(DEFINES) X+ X+all: plugger.so X X plugger.so: plugger.o common.o X $(LD) -o plugger.so plugger.o common.o X@@ -62,7 +64,7 @@ X X install: plugger.so X cp plugger.so /usr/local/lib/netscape/plugins/ X- if [ ! -f /etc/pluggerrc ]; then cp pluggerrc /etc/ ; fi X+ if [ ! -f /usr/local/etc/pluggerrc.sample ]; then cp pluggerrc /usr/local/etc/pluggerrc.sample ; fi X cp plugger.7 /usr/local/man/man7/ X X plugger-$(VERSION).tar.gz: $(BASE_FILES) $(SOURCE_FILES) END-of-plugger/patches/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message