Skip site navigation (1)Skip section navigation (2)
Date:      19 Oct 2000 03:43:28 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22104: Port of software to pull data from the red-tailed pussy.
Message-ID:  <20001019034328.33707.qmail@guru.mired.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 20:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>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?20001019034328.33707.qmail>