[83622] trunk/dports/sysutils

ryandesign at macports.org ryandesign at macports.org
Wed Sep 7 15:29:15 PDT 2011


Revision: 83622
          http://trac.macports.org/changeset/83622
Author:   ryandesign at macports.org
Date:     2011-09-07 15:29:13 -0700 (Wed, 07 Sep 2011)
Log Message:
-----------
ImageSnap: new port, version 0.2.5

Added Paths:
-----------
    trunk/dports/sysutils/ImageSnap/
    trunk/dports/sysutils/ImageSnap/Portfile

Added: trunk/dports/sysutils/ImageSnap/Portfile
===================================================================
--- trunk/dports/sysutils/ImageSnap/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/ImageSnap/Portfile	2011-09-07 22:29:13 UTC (rev 83622)
@@ -0,0 +1,47 @@
+# -*- 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
+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}


Property changes on: trunk/dports/sysutils/ImageSnap/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110907/99c4aef1/attachment.html>


More information about the macports-changes mailing list