Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 01:52:05 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13533: New port: hppsmtools
Message-ID:  <199909012352.BAA78046@totem.freenix.no>

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

>Number:         13533
>Category:       ports
>Synopsis:       New port: hppsmtools
>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 Sep  1 17:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

	

>Description:

hppsmtools is a program for communicating with the HP PhotoSmart
C5340A and Konica Q-EZ digital cameras. You can retrive, have an
index of, delete and shoot pictures.

=> Works fine with my HP C5340A cam, and seems to be the only tool
available for it that I can run in FreeBSD.

>How-To-Repeat:

	

>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:
#
#	hppsmtools
#	hppsmtools/files
#	hppsmtools/files/md5
#	hppsmtools/Makefile
#	hppsmtools/pkg
#	hppsmtools/pkg/PLIST
#	hppsmtools/pkg/COMMENT
#	hppsmtools/pkg/DESCR
#	hppsmtools/patches
#	hppsmtools/patches/patch-aa
#
echo c - hppsmtools
mkdir -p hppsmtools > /dev/null 2>&1
echo c - hppsmtools/files
mkdir -p hppsmtools/files > /dev/null 2>&1
echo x - hppsmtools/files/md5
sed 's/^X//' >hppsmtools/files/md5 << 'END-of-hppsmtools/files/md5'
XMD5 (hppsmtools-0.3.tar.gz) = 55a5a81016c7f8f1f257dd34322d6936
END-of-hppsmtools/files/md5
echo x - hppsmtools/Makefile
sed 's/^X//' >hppsmtools/Makefile << 'END-of-hppsmtools/Makefile'
X# New ports collection makefile for: 	hppsmtools
X# Version required:	0.3
X# Date created:		2 September 1999
X# Whom:			Anders Nordby <anders@fix.no>
X#
X# $Id$
X#
X
XDISTNAME=	hppsmtools-0.3
XCATEGORIES=	graphics
XMASTER_SITES=	http://unimut.fsk.uni-heidelberg.de/unimut/photosmart/ \
X		http://www.freenix.no/~anders/ \
X		ftp://totem.fix.no/pub/mirrors/misc/
X
XMAINTAINER=	anders@fix.no
X
XALL_TARGET=
X
Xdo-install:
X	@${RM} -f ${PREFIX}/bin/psmget ${PREFIX}/bin/psmdir
X	@${RM} -f ${PREFIX}/bin/psmdel ${PREFIX}/bin/psmsho
X	@${INSTALL_PROGRAM} ${WRKSRC}/psmget ${PREFIX}/bin/
X	@${LN} ${PREFIX}/bin/psmget ${PREFIX}/bin/psmdir
X	@${LN} ${PREFIX}/bin/psmget ${PREFIX}/bin/psmdel
X	@${LN} ${PREFIX}/bin/psmget ${PREFIX}/bin/psmsho
X	@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/hppsmtools
X	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hppsmtools/
X
X.include <bsd.port.mk>
END-of-hppsmtools/Makefile
echo c - hppsmtools/pkg
mkdir -p hppsmtools/pkg > /dev/null 2>&1
echo x - hppsmtools/pkg/PLIST
sed 's/^X//' >hppsmtools/pkg/PLIST << 'END-of-hppsmtools/pkg/PLIST'
Xbin/psmget
Xbin/psmdir
Xbin/psmdel
Xbin/psmsho
Xshare/doc/hppsmtools/README
X@dirrm share/doc/hppsmtools
END-of-hppsmtools/pkg/PLIST
echo x - hppsmtools/pkg/COMMENT
sed 's/^X//' >hppsmtools/pkg/COMMENT << 'END-of-hppsmtools/pkg/COMMENT'
XTool for HP PhotoSmart C5340A & Konica Q-Konica Q-EZ digital cameras.
END-of-hppsmtools/pkg/COMMENT
echo x - hppsmtools/pkg/DESCR
sed 's/^X//' >hppsmtools/pkg/DESCR << 'END-of-hppsmtools/pkg/DESCR'
Xhppsmtools is a program for communicating with the HP PhotoSmart
XC5340A and Konica Q-EZ digital cameras. You can retrive, have an
Xindex of, delete and shoot pictures.
X
XAuthor: msdemlei@tucana.ari.uni-heidelberg.de
XWWW: http://unimut.fsk.uni-heidelberg.de/unimut/photosmart/
END-of-hppsmtools/pkg/DESCR
echo c - hppsmtools/patches
mkdir -p hppsmtools/patches > /dev/null 2>&1
echo x - hppsmtools/patches/patch-aa
sed 's/^X//' >hppsmtools/patches/patch-aa << 'END-of-hppsmtools/patches/patch-aa'
X*** psmget.c.orig	Wed Sep  1 23:04:53 1999
X--- psmget.c	Wed Sep  1 23:06:41 1999
X***************
X*** 13,23 ****
X  #include <sys/poll.h>
X  #include <sys/ioctl.h>
X  
X- #ifdef PSM_GLIBC
X  #include <errno.h>
X- #include <termbits.h>
X  #include <termios.h>
X- #endif
X  
X  typedef unsigned char uchar;
X  
X--- 13,20 ----
END-of-hppsmtools/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




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