[79358] trunk/dports/graphics/twain-sane/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jun 10 22:55:07 PDT 2011


Revision: 79358
          http://trac.macports.org/changeset/79358
Author:   ryandesign at macports.org
Date:     2011-06-10 22:55:07 -0700 (Fri, 10 Jun 2011)
Log Message:
-----------
twain-sane: whitespace / formatting changes, add modeline

Modified Paths:
--------------
    trunk/dports/graphics/twain-sane/Portfile

Modified: trunk/dports/graphics/twain-sane/Portfile
===================================================================
--- trunk/dports/graphics/twain-sane/Portfile	2011-06-11 05:29:45 UTC (rev 79357)
+++ trunk/dports/graphics/twain-sane/Portfile	2011-06-11 05:55:07 UTC (rev 79358)
@@ -1,52 +1,55 @@
+# -*- 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            twain-sane
-version         2.5
-revision        1
-categories      graphics
-maintainers     nomaintainer
-description     TWAIN datasource for SANE
-homepage        http://www.ellert.se/twain-sane/
+PortSystem              1.0
+PortGroup               xcode 1.0
 
-long_description \
-                                This is a TWAIN datasource for Mac OS X that aquires images \
-                                using the SANE backend libraries. The SANE backend libraries \
-                                provide access to a large range of scanners connected through \
-                                SCSI or USB. For a complete list see the documentation on the \
-                                SANE project homepage. It works with my HP SCSI scanner, and \
-                                many people have reported success with a large number of \
-                                different scanners. The feedback from users have helped the \
-                                SANE developers to fix problems with various backends, so with \
-                                each release of the SANE backends more of the Mac OS X specific \
-                                problems have been solved.
+name                    twain-sane
+version                 2.5
+revision                1
+categories              graphics
+maintainers             nomaintainer
+supported_archs         i386 ppc
+
+description             TWAIN datasource for SANE
+
+long_description        This is a TWAIN datasource for Mac OS X that aquires images \
+                        using the SANE backend libraries. The SANE backend libraries \
+                        provide access to a large range of scanners connected through \
+                        SCSI or USB. For a complete list see the documentation on the \
+                        SANE project homepage. It works with my HP SCSI scanner, and \
+                        many people have reported success with a large number of \
+                        different scanners. The feedback from users have helped the \
+                        SANE developers to fix problems with various backends, so with \
+                        each release of the SANE backends more of the Mac OS X specific \
+                        problems have been solved.
+
 distname                TWAIN-SANE-Interface-${version}
-master_sites    http://www.ellert.se/PKGS/${distname}/src/
+homepage                http://www.ellert.se/twain-sane/
+master_sites            http://www.ellert.se/PKGS/${distname}/src/
 
-checksums       md5     e304b16596b52f663ab4818d0517e93e \
-                sha1    b27b611790e4fe5526423dd5d4d969a82b756715 \
-                rmd160  142d3ff548680816a9dec816ada2bf473a042cf3
+checksums               md5     e304b16596b52f663ab4818d0517e93e \
+                        sha1    b27b611790e4fe5526423dd5d4d969a82b756715 \
+                        rmd160  142d3ff548680816a9dec816ada2bf473a042cf3
 
-supported_archs i386 ppc
+depends_lib             lib:libiconv:libiconv \
+                        lib:libintl:gettext \
+                        lib:libusb-compat:libusb-compat \
+                        lib:libsane:sane-backends
 
-depends_lib     lib:libiconv:libiconv \
-                                lib:libintl:gettext \
-                                lib:libusb-compat:libusb-compat \
-                                lib:libsane:sane-backends
+xcode.project           SANE.ds.xcodeproj
+xcode.destroot.path     /Library/Image Capture/TWAIN Data Sources
+xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \
+                        HEADER_SEARCH_PATHS=${prefix}/include
+xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \
+                        HEADER_SEARCH_PATHS=${prefix}/include
 
+build.dir               ${worksrcpath}/src
+
 pre-build {
-        # Generate Info.plist
-        system "cd ${worksrcpath}/src && ./Info.sh > Info.plist"
+    # Generate Info.plist
+    system "cd ${worksrcpath}/src && ./Info.sh > Info.plist"
 }
 
-xcode.project                   SANE.ds.xcodeproj
-xcode.destroot.path             /Library/Image Capture/TWAIN Data Sources
-xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \
-                                                HEADER_SEARCH_PATHS=${prefix}/include
-xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \
-                                                HEADER_SEARCH_PATHS=${prefix}/include
-build.dir "${worksrcpath}/src"
-
-livecheck.type  regex
-livecheck.regex {<td><a href="../PKGS/TWAIN-SANE-Interface-(.*)/src/TWAIN-SANE-Interface-\1.tar.gz"><img src="../gz.png"></a></td>}
+livecheck.type          regex
+livecheck.regex         {<td><a href="../PKGS/TWAIN-SANE-Interface-(.*)/src/TWAIN-SANE-Interface-\1.tar.gz"><img src="../gz.png"></a></td>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110610/f51ab873/attachment-0001.html>


More information about the macports-changes mailing list