# $Id: Portfile 54147 2009-07-21 23:52:48Z brett@macports.org $

PortSystem      1.0

name            libptp2
version         1.1.10
revision        1
categories      devel
maintainers     nomaintainer
description     libptp2 is a library used to communicate with PTP devices like digital cameras.
long_description \
                libptp2 is a library used to communicate with PTP devices like still \
                imaging cameras or MP3 players (KODAK mc3). You can download files \
                or tweak camera properties using ptpcam program bundled with libptp2.
platforms       darwin
homepage        http://libptp.sourceforge.net/
master_sites    sourceforge:libptp
checksums       md5 5a0e2965d1077c316d6ae6a8cef96238 \
                sha1 b671b029c869b330780f4ebb0cb91d0a850946a1 \
                rmd160 f29a1422e096e3376e141a72c2f916abc0446843
depends_lib     port:libusb-compat

destroot.target install-strip
post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO \
                ${destroot}${prefix}/share/doc/${name}
}
