# -*- 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 83623 2011-09-07 22:31:31Z ryandesign@macports.org $ PortSystem 1.0 name isightcapture version 1.1 revision 2 set version2 [strsed ${version} {g/[.]/_/}] categories sysutils graphics platforms macosx use_parallel_build no maintainers ryandesign license freeware supported_archs i386 ppc configure.universal_archs i386 ppc homepage http://web.archive.org/web/20100212064359/http://www.intergalactic.de/pages/iSight.html master_sites distname ${name}${version2} use_dmg yes description a command-line utility to capture a frame from an \ iSight camera long_description iSightCapture captures a single frame from an \ attached iSight camera and saves it to a file. It \ works even when no graphical user is logged in, \ unlike many other applications. iSightCapture has \ only been tested with Mac OS X Tiger and iSight. checksums md5 b0adf800e285ca0bc46f20d2450d45fa \ sha1 038cc8852641c4ca10f4960eb30d508a0e9b99c1 \ rmd160 fcbfc6bf0dd08d3b8a4a268378a57b54a5bfd82e use_configure no build { if {![variant_isset universal]} { system -W ${worksrcpath} "lipo -extract ${configure.build_arch} ${name} -output ${name}" } } destroot { xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} ${name}.rtf ${destroot}${prefix}/share/doc/${name} } variant universal {} livecheck.type none notes "iSightCapture is no longer supported by its developer." if {${os.major} >= 9} { notes-append "Consider using ImageSnap instead." }