source: trunk/dports/sysutils/isightcapture/Portfile

Last change on this file was 83623, checked in by ryandesign@…, 6 years ago

isightcapture: add notes saying the port is obsolete, and referring compatible users to ImageSnap

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 83623 2011-09-07 22:31:31Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    isightcapture
7version                 1.1
8revision                2
9set version2            [strsed ${version} {g/[.]/_/}]
10categories              sysutils graphics
11platforms               macosx
12use_parallel_build      no
13maintainers             ryandesign
14license                 freeware
15supported_archs         i386 ppc
16configure.universal_archs i386 ppc
17
18homepage                http://web.archive.org/web/20100212064359/http://www.intergalactic.de/pages/iSight.html
19master_sites
20
21distname                ${name}${version2}
22use_dmg                 yes
23
24description             a command-line utility to capture a frame from an \
25                        iSight camera
26
27long_description        iSightCapture captures a single frame from an \
28                        attached iSight camera and saves it to a file. It \
29                        works even when no graphical user is logged in, \
30                        unlike many other applications. iSightCapture has \
31                        only been tested with Mac OS X Tiger and iSight.
32
33checksums               md5     b0adf800e285ca0bc46f20d2450d45fa \
34                        sha1    038cc8852641c4ca10f4960eb30d508a0e9b99c1 \
35                        rmd160  fcbfc6bf0dd08d3b8a4a268378a57b54a5bfd82e
36
37use_configure           no
38
39build {
40    if {![variant_isset universal]} {
41        system -W ${worksrcpath} "lipo -extract ${configure.build_arch} ${name} -output ${name}"
42    }
43}
44
45destroot {
46    xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
47    xinstall -d ${destroot}${prefix}/share/doc/${name}
48    xinstall -m 644 -W ${worksrcpath} ${name}.rtf ${destroot}${prefix}/share/doc/${name}
49}
50
51variant universal {}
52
53livecheck.type          none
54
55notes "iSightCapture is no longer supported by its developer."
56
57if {${os.major} >= 9} {
58    notes-append "Consider using ImageSnap instead."
59}
Note: See TracBrowser for help on using the repository browser.