# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gphoto2 version 2.5.2 categories graphics platforms darwin maintainers nomaintainer license LGPL-2.1+ description command line interface to libgphoto2. long_description gphoto2 is the command line interface to libgphoto2. It \ allows almost everything that libgphoto2 can do. homepage http://www.gphoto.org/proj/gphoto2/ master_sites sourceforge:project/gphoto/gphoto/${version} use_bzip2 yes checksums rmd160 b269600cea3d53f7081d4dc18f37b11954e8e644 \ sha256 8eb9928f3872fea13d22c556a5bc2aea70caf23b287604cb3eef7ad759988899 depends_build path:bin/pkg-config:pkgconfig depends_lib port:gettext \ port:jpeg \ port:libexif \ port:libgphoto2 \ port:libiconv \ port:libusb-compat \ port:popt \ port:readline configure.cflags-append -I${prefix}/include configure.env POPT_CFLAGS="-I${prefix}/include" \ POPT_LIBS="-L${prefix}/lib -lpopt" configure.args --without-cdk --without-aalib destroot.target install-strip post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog INSTALL NEWS README \ TODO ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url http://sourceforge.net/projects/gphoto/files/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"