Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 04:41:06 -0700 (PDT)
From:      dburr@POBoxes.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6553: NEW PORT: misc/sma (Scour Media Agent, multimedia filesearcher)
Message-ID:  <199805081141.EAA10292@colossus.dyn.ml.org>

next in thread | raw e-mail | index | archive | help

>Number:         6553
>Category:       ports
>Synopsis:       NEW PORT: misc/sma (Scour Media Agent, multimedia filesearcher)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May  8 04:50:00 PDT 1998
>Last-Modified:
>Originator:     Donald Burr
>Organization:
Computer Help
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

Built and tested under 2.2.6-RELEASE.

>Description:

This is a port of the Scour Media Agent (SMA) software for UNIX.

The Scour Media Agent (SMA) is a program that is used in conjunction with
the Scour search service (http://www.scour.net/).  This is a new kind of
search service that specializes in searching for multimedia filetypes
(video, animation, audio, etc.).  They search 6 different protocols and have
the most comprehensive webcrawlers of any search engine presently in
existence.  The database contains everything from links to streaming video
lectures on Microbiology (coming soon) to the latest music video from the
Spice Girls.

They specialize even further by separating media files into their respective
types (.avi, .mpg, .mov, .viv, .ram, .mp3, etc.)  So, going beyond just
being able to search for video files, you can specify all the way down to
the file type.

This free service started out as a dorm room project by a couple of Computer
Science students at UCLA.

Check it out at http://www.scour.net/.

[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]

>How-To-Repeat:
>Fix:
	
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1.4).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1998-05-08 04:36 PDT by <dburr@control.colossus.dyn.ml.org>.
# Source directory was `/usr/ports/misc'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     49 -rw-r--r-- sma/files/md5
#     34 -rw-r--r-- sma/pkg/COMMENT
#    973 -rw-r--r-- sma/pkg/DESCR
#      8 -rw-r--r-- sma/pkg/PLIST
#   1091 -rw-r--r-- sma/pkg/MESSAGE
#    689 -rw-r--r-- sma/Makefile
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
# ============= sma/files/md5 ==============
if test ! -d 'sma'; then
  echo 'x - creating directory sma'
  mkdir 'sma'
fi
if test ! -d 'sma/files'; then
  echo 'x - creating directory sma/files'
  mkdir 'sma/files'
fi
if test -f 'sma/files/md5' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/files/md5 (file already exists)'
else
  echo 'x - extracting sma/files/md5 (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/files/md5' &&
MD5 (SMA2.pl) = 679a976fb113ea1ac75f617e5a740582
SHAR_EOF
  $shar_touch -am 0508041898 'sma/files/md5' &&
  chmod 0644 'sma/files/md5' ||
  echo 'restore of sma/files/md5 failed'
  shar_count="`wc -c < 'sma/files/md5'`"
  test 49 -eq "$shar_count" ||
    echo "sma/files/md5: original size 49, current size $shar_count"
fi
# ============= sma/pkg/COMMENT ==============
if test ! -d 'sma/pkg'; then
  echo 'x - creating directory sma/pkg'
  mkdir 'sma/pkg'
fi
if test -f 'sma/pkg/COMMENT' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/pkg/COMMENT (file already exists)'
else
  echo 'x - extracting sma/pkg/COMMENT (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/pkg/COMMENT' &&
Scour Media Agent client for UNIX
SHAR_EOF
  $shar_touch -am 0508040898 'sma/pkg/COMMENT' &&
  chmod 0644 'sma/pkg/COMMENT' ||
  echo 'restore of sma/pkg/COMMENT failed'
  shar_count="`wc -c < 'sma/pkg/COMMENT'`"
  test 34 -eq "$shar_count" ||
    echo "sma/pkg/COMMENT: original size 34, current size $shar_count"
fi
# ============= sma/pkg/DESCR ==============
if test -f 'sma/pkg/DESCR' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/pkg/DESCR (file already exists)'
else
  echo 'x - extracting sma/pkg/DESCR (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/pkg/DESCR' &&
The Scour Media Agent (SMA) is a program that is used in conjunction with
the Scour search service (http://www.scour.net/).  This is a new kind of
search service that specializes in searching for multimedia filetypes
(video, animation, audio, etc.).  They search 6 different protocols and have
the most comprehensive webcrawlers of any search engine presently in
existence.  The database contains everything from links to streaming video
lectures on Microbiology (coming soon) to the latest music video from the
Spice Girls.
X
They specialize even further by separating media files into their respective
types (.avi, .mpg, .mov, .viv, .ram, .mp3, etc.)  So, going beyond just
being able to search for video files, you can specify all the way down to
the file type.
X
This free service started out as a dorm room project by a couple of Computer
Science students at UCLA.
X
Check it out at http://www.scour.net/.
X
[ This port is maintained by Donald Burr <dburr@POBoxes.com>. ]
SHAR_EOF
  $shar_touch -am 0508043098 'sma/pkg/DESCR' &&
  chmod 0644 'sma/pkg/DESCR' ||
  echo 'restore of sma/pkg/DESCR failed'
  shar_count="`wc -c < 'sma/pkg/DESCR'`"
  test 973 -eq "$shar_count" ||
    echo "sma/pkg/DESCR: original size 973, current size $shar_count"
fi
# ============= sma/pkg/PLIST ==============
if test -f 'sma/pkg/PLIST' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/pkg/PLIST (file already exists)'
else
  echo 'x - extracting sma/pkg/PLIST (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/pkg/PLIST' &&
bin/sma
SHAR_EOF
  $shar_touch -am 0508041698 'sma/pkg/PLIST' &&
  chmod 0644 'sma/pkg/PLIST' ||
  echo 'restore of sma/pkg/PLIST failed'
  shar_count="`wc -c < 'sma/pkg/PLIST'`"
  test 8 -eq "$shar_count" ||
    echo "sma/pkg/PLIST: original size 8, current size $shar_count"
fi
# ============= sma/pkg/MESSAGE ==============
if test -f 'sma/pkg/MESSAGE' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/pkg/MESSAGE (file already exists)'
else
  echo 'x - extracting sma/pkg/MESSAGE (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/pkg/MESSAGE' &&
Scour is now successfully installed.
X
You can use it either as a standalone program or as a browser plug-in.
X
Standalone: 
===========
When you find a file you want to look at on the Scour site, click on it
to download it.  Netscape will pop up a "save as" dialog to ask you where
to save a file called "smadlc".  Save it anywhere, then from a command line
type "sma /path/to/smadlc" (example: if you saved it as /tmp/smadlc, type
"sma /tmp/smadlc")
X
Netscape plug-in:
=================
In the Preferences dialog, click through to the "Navigator/Applications"
hierarchy.  Click the "New" button and fill out the dialog as follows:
X
Description: Scour Media Agent
MIMEType: application/x-scour-directive
Suffixes: sma
Handled by: Check "Application", and in the box, enter "sma %s"
X
Lynx plug-in:
=============
Add the following line to the lynx.cfg file:
VIEWER:application/x-scour-directive:sma %s
X
You will also need to install programs for whichever media type(s) you wish
to be able to view.  Look around in the /usr/ports hierarchy.
X
Now go on over to http://www.scour.net/ and use it!
SHAR_EOF
  $shar_touch -am 0508043698 'sma/pkg/MESSAGE' &&
  chmod 0644 'sma/pkg/MESSAGE' ||
  echo 'restore of sma/pkg/MESSAGE failed'
  shar_count="`wc -c < 'sma/pkg/MESSAGE'`"
  test 1091 -eq "$shar_count" ||
    echo "sma/pkg/MESSAGE: original size 1091, current size $shar_count"
fi
# ============= sma/Makefile ==============
if test -f 'sma/Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping sma/Makefile (file already exists)'
else
  echo 'x - extracting sma/Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sma/Makefile' &&
# New ports collection makefile for:    sma
# Version required:     0.9.7
# Date created:         8 May 1998
# Whom:                 Donald Burr <dburr@POBoxes.com>
#
# $Id$
#
X
DISTNAME=	SMA2
PKGNAME=	sma-0.9.7
CATEGORIES=	misc
MASTER_SITES=	http://www.scour.net/sma/
EXTRACT_SUFX=	.pl
X
MAINTAINER=	dburr@POBoxes.com
X
RUN_DEPENDS=	smbclient:${PORTSDIR}/net/samba
X
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
X
USE_PERL5=	yes
X
do-extract:
X	@${MKDIR} ${WRKDIR}
X
pre-configure:
X	@${SED} -e '1,1s:/usr/bin/perl:!/usr/local/bin/perl5.00404:' \
X		${DISTDIR}/SMA2.pl > ${WRKDIR}/sma
X
do-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/sma ${PREFIX}/bin
X
post-install:
X	@${CAT} ${PKGDIR}/MESSAGE
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 0508042198 'sma/Makefile' &&
  chmod 0644 'sma/Makefile' ||
  echo 'restore of sma/Makefile failed'
  shar_count="`wc -c < 'sma/Makefile'`"
  test 689 -eq "$shar_count" ||
    echo "sma/Makefile: original size 689, current size $shar_count"
fi
exit 0
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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