From mwm@mired.org  Wed Oct 18 20:43:35 2000
Return-Path: <mwm@mired.org>
Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77])
	by hub.freebsd.org (Postfix) with SMTP id B2D2037B4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Oct 2000 20:43:29 -0700 (PDT)
Received: (qmail 33708 invoked by uid 100); 19 Oct 2000 03:43:28 -0000
Message-Id: <20001019034328.33707.qmail@guru.mired.org>
Date: 19 Oct 2000 03:43:28 -0000
From: mwm@mired.org
Reply-To: mwm@mired.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Port of software to pull data from the red-tailed pussy.
X-Send-Pr-Version: 3.2

>Number:         22104
>Category:       ports
>Synopsis:       Port of software to pull data from the red-tailed pussy.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 20:50:01 PDT 2000
>Closed-Date:    Sat Apr 7 12:37:26 PDT 2001
>Last-Modified:  Sat Apr 07 12:38:13 PDT 2001
>Originator:     Mike Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Meyer consulting
>Environment:

	The distribution site (www.mired.org) is in the midst of an
	changing DNS servers. Hence the two distribution sites. Same machine,
	but one is has changing DNS, and the other is temporary :-(.


>Description:

	This is software to read :Cue:Cat(TM) scans, decode them, and launch
	programs on the resulting barcodes, upcs, or ISBNs.

>How-To-Repeat:

	Try using it now.

>Fix:

	Install the attached port:

# 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:
#
#	cuecat
#	cuecat/Makefile
#	cuecat/pkg-comment
#	cuecat/pkg-descr
#	cuecat/pkg-plist
#	cuecat/distinfo
#
echo c - cuecat
mkdir -p cuecat > /dev/null 2>&1
echo x - cuecat/Makefile
sed 's/^X//' >cuecat/Makefile << 'END-of-cuecat/Makefile'
X# New ports collection makefile for: cuecat
X# Date created:		18 October 2000
X# Whom:			mwm@mired.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=      cuecat
XPORTVERSION=   1.0
XCATEGORIES=    misc devel python
XMASTER_SITES=  http://www.mired.org/downloads/ \
X	       http://mwm.tzo.com/downloads/
X
XMAINTAINER=    mwm@mired.org
X
XMAN1=          cuecat.1
XUSE_PYTHON=    yes
XWRKSRC=	       ${WRKDIR}/cuecat
X
Xdo-patch:
X	@${MV} ${WRKSRC}/cuecat.py ${WRKSRC}/cuecat.py-orig
X	@${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/cuecat.py-orig >${WRKSRC}/cuecat.py
X	@${MV} ${WRKSRC}/barcode.py ${WRKSRC}/barcode.py-orig
X	@${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/barcode.py-orig >${WRKSRC}/barcode.py
X
Xdo-build:
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/cuecat.py ${PYTHON_SITELIBDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/barcode.py ${PYTHON_SITELIBDIR}
X	python -O -c "import barcode, cuecat"
X	${LN} -sf ${PYTHON_SITELIBDIR}/cuecat.py ${PREFIX}/bin/cuecat
X	${INSTALL_MAN} ${WRKSRC}/cuecat.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-cuecat/Makefile
echo x - cuecat/pkg-comment
sed 's/^X//' >cuecat/pkg-comment << 'END-of-cuecat/pkg-comment'
XTools for decoding and using the output of a :Cue:Cat(TM) wand scanner
END-of-cuecat/pkg-comment
echo x - cuecat/pkg-descr
sed 's/^X//' >cuecat/pkg-descr << 'END-of-cuecat/pkg-descr'
XThe cuecat script repeatedly reads scan codes from a :Cue:Cat scanner
Xvia standard input, decodes and processes the scanned value, then
Xprompts with Scan! for another scan code. It exists when it reads an
XEOF on standard input.
X
XIt can be used print a decoded version of the scan code, or launch
Xcommands the barcodes, ISBNs or UPCs scanned in.
END-of-cuecat/pkg-descr
echo x - cuecat/pkg-plist
sed 's/^X//' >cuecat/pkg-plist << 'END-of-cuecat/pkg-plist'
Xbin/cuecat
Xlib/%%PYTHON_VERSION%%/site-packages/cuecat.py
Xlib/%%PYTHON_VERSION%%/site-packages/barcode.py
END-of-cuecat/pkg-plist
echo x - cuecat/distinfo
sed 's/^X//' >cuecat/distinfo << 'END-of-cuecat/distinfo'
XMD5 (cuecat-1.0.tar.gz) = 474e3a58394a47575d45424955e74165
END-of-cuecat/distinfo
exit




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Sat Apr 7 12:37:26 PDT 2001 
State-Changed-Why:  
Committed, thanks.  Next time please make your PRs appear more 
attractive on the cover.  :) 

This would have been committed ages ago if it appeared to be 
as easy to test as it was for me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22104 
>Unformatted:
