# -*- 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: Portfile 83622 2011-09-07 22:29:13Z ryandesign@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name ImageSnap version 0.2.5 categories sysutils graphics maintainers ryandesign license public-domain description command-line tool to capture images from iSight or \ other video source long_description ${name} is a command-line tool that lets you capture \ still images from an iSight or other video source. homepage http://iharder.sourceforge.net/current/macosx/imagesnap/ master_sites sourceforge:project/iharder/imagesnap distname ${name}-v${version} extract.suffix .tgz checksums rmd160 8455b057ce5f27130547524c3a7fb812f54d766e \ sha256 2516edd6e8fe35c075f0a6517b9fb8ba9af296f8f29b9e349566b9ba6f729615 pre-fetch { if {${os.major} < 9} { ui_error "${name} requires Mac OS X 10.5 or greater. Try isightcapture instead." return -code error "incompatible Mac OS X version" } } post-extract { delete ${worksrcpath}/imagesnap } xcode.destroot.path ${prefix}/bin post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} ReadMeOrDont.rtf ${docdir} } livecheck.regex /${name}-v(\[0-9.\]+)${extract.suffix}