source: trunk/dports/sysutils/ImageSnap/Portfile

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

ImageSnap: new port, version 0.2.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 83622 2011-09-07 22:29:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                ImageSnap
8version             0.2.5
9categories          sysutils graphics
10maintainers         ryandesign
11license             public-domain
12
13description         command-line tool to capture images from iSight or \
14                    other video source
15
16long_description    ${name} is a command-line tool that lets you capture \
17                    still images from an iSight or other video source.
18
19homepage            http://iharder.sourceforge.net/current/macosx/imagesnap/
20master_sites        sourceforge:project/iharder/imagesnap
21
22distname            ${name}-v${version}
23extract.suffix      .tgz
24
25checksums           rmd160  8455b057ce5f27130547524c3a7fb812f54d766e \
26                    sha256  2516edd6e8fe35c075f0a6517b9fb8ba9af296f8f29b9e349566b9ba6f729615
27
28pre-fetch {
29    if {${os.major} < 9} {
30        ui_error "${name} requires Mac OS X 10.5 or greater. Try isightcapture instead."
31        return -code error "incompatible Mac OS X version"
32    }
33}
34
35post-extract {
36    delete ${worksrcpath}/imagesnap
37}
38
39xcode.destroot.path ${prefix}/bin
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    xinstall -d ${docdir}
44    xinstall -m 644 -W ${worksrcpath} ReadMeOrDont.rtf ${docdir}
45}
46
47livecheck.regex     /${name}-v(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.