DESCR

GPhotoFS is a filesystem client based on libgphoto2 that exposes
supported cameras as filesystems; while some cameras implement the
USB Mass Storage class and already appear as filesystems (making
this program redundant), many use the Picture Transfer Protocol (PTP)
or some other custom protocol. But as long as the camera is supported
by libgphoto2, it can be mounted as a filesystem using this program.

Makefile

# $NetBSD: Makefile,v 1.4 2009/12/15 21:42:05 joerg Exp $
#

DISTNAME= gphotofs-0.4.0
PKGREVISION= 1
PKGNAME= fuse-${DISTNAME}
CATEGORIES= filesystems
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gphoto.sourceforge.net/proj/gphotofs/
COMMENT= FUSE filesystem for accessing digital cameras

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config

INSTALLATION_DIRS= share/doc/${PKGBASE}

post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}

.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libgphoto2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/02 19:43:40 sborrill Exp $
bin/gphotofs
share/doc/fuse-gphotofs/README

distinfo

$NetBSD: distinfo,v 1.2 2008/04/29 09:39:17 sborrill Exp $

SHA1 (gphotofs-0.4.0.tar.bz2) = b580af6059b514185cd98b3961701023c18e7430
RMD160 (gphotofs-0.4.0.tar.bz2) = 1b752284297fcbb74e252ae988682a8486399b1b
Size (gphotofs-0.4.0.tar.bz2) = 267708 bytes
SHA1 (patch-aa) = ab598c3c3dd5d1ca568d3a7a433ac8f508c8a25f
SHA1 (patch-ab) = 9e36861c26ddbac5bc69a2559a20758408f5d0d7