New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79358


Ignore:
Timestamp:
06/10/11 22:55:07 (4 years ago)
Author:
ryandesign@…
Message:

twain-sane: whitespace / formatting changes, add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/twain-sane/Portfile

    r75750 r79358  
     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 
    12# $Id$ 
    23 
    3 PortSystem 1.0 
    4 PortGroup xcode 1.0 
    5 name            twain-sane 
    6 version         2.5 
    7 revision        1 
    8 categories      graphics 
    9 maintainers     nomaintainer 
    10 description     TWAIN datasource for SANE 
    11 homepage        http://www.ellert.se/twain-sane/ 
     4PortSystem              1.0 
     5PortGroup               xcode 1.0 
    126 
    13 long_description \ 
    14                                 This is a TWAIN datasource for Mac OS X that aquires images \ 
    15                                 using the SANE backend libraries. The SANE backend libraries \ 
    16                                 provide access to a large range of scanners connected through \ 
    17                                 SCSI or USB. For a complete list see the documentation on the \ 
    18                                 SANE project homepage. It works with my HP SCSI scanner, and \ 
    19                                 many people have reported success with a large number of \ 
    20                                 different scanners. The feedback from users have helped the \ 
    21                                 SANE developers to fix problems with various backends, so with \ 
    22                                 each release of the SANE backends more of the Mac OS X specific \ 
    23                                 problems have been solved. 
     7name                    twain-sane 
     8version                 2.5 
     9revision                1 
     10categories              graphics 
     11maintainers             nomaintainer 
     12supported_archs         i386 ppc 
     13 
     14description             TWAIN datasource for SANE 
     15 
     16long_description        This is a TWAIN datasource for Mac OS X that aquires images \ 
     17                        using the SANE backend libraries. The SANE backend libraries \ 
     18                        provide access to a large range of scanners connected through \ 
     19                        SCSI or USB. For a complete list see the documentation on the \ 
     20                        SANE project homepage. It works with my HP SCSI scanner, and \ 
     21                        many people have reported success with a large number of \ 
     22                        different scanners. The feedback from users have helped the \ 
     23                        SANE developers to fix problems with various backends, so with \ 
     24                        each release of the SANE backends more of the Mac OS X specific \ 
     25                        problems have been solved. 
     26 
    2427distname                TWAIN-SANE-Interface-${version} 
    25 master_sites    http://www.ellert.se/PKGS/${distname}/src/ 
     28homepage                http://www.ellert.se/twain-sane/ 
     29master_sites            http://www.ellert.se/PKGS/${distname}/src/ 
    2630 
    27 checksums       md5     e304b16596b52f663ab4818d0517e93e \ 
    28                 sha1    b27b611790e4fe5526423dd5d4d969a82b756715 \ 
    29                 rmd160  142d3ff548680816a9dec816ada2bf473a042cf3 
     31checksums               md5     e304b16596b52f663ab4818d0517e93e \ 
     32                        sha1    b27b611790e4fe5526423dd5d4d969a82b756715 \ 
     33                        rmd160  142d3ff548680816a9dec816ada2bf473a042cf3 
    3034 
    31 supported_archs i386 ppc 
     35depends_lib             lib:libiconv:libiconv \ 
     36                        lib:libintl:gettext \ 
     37                        lib:libusb-compat:libusb-compat \ 
     38                        lib:libsane:sane-backends 
    3239 
    33 depends_lib     lib:libiconv:libiconv \ 
    34                                 lib:libintl:gettext \ 
    35                                 lib:libusb-compat:libusb-compat \ 
    36                                 lib:libsane:sane-backends 
     40xcode.project           SANE.ds.xcodeproj 
     41xcode.destroot.path     /Library/Image Capture/TWAIN Data Sources 
     42xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \ 
     43                        HEADER_SEARCH_PATHS=${prefix}/include 
     44xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \ 
     45                        HEADER_SEARCH_PATHS=${prefix}/include 
     46 
     47build.dir               ${worksrcpath}/src 
    3748 
    3849pre-build { 
    39         # Generate Info.plist 
    40         system "cd ${worksrcpath}/src && ./Info.sh > Info.plist" 
     50    # Generate Info.plist 
     51    system "cd ${worksrcpath}/src && ./Info.sh > Info.plist" 
    4152} 
    4253 
    43 xcode.project                   SANE.ds.xcodeproj 
    44 xcode.destroot.path             /Library/Image Capture/TWAIN Data Sources 
    45 xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \ 
    46                                                 HEADER_SEARCH_PATHS=${prefix}/include 
    47 xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \ 
    48                                                 HEADER_SEARCH_PATHS=${prefix}/include 
    49 build.dir "${worksrcpath}/src" 
    50  
    51 livecheck.type  regex 
    52 livecheck.regex {<td><a href="../PKGS/TWAIN-SANE-Interface-(.*)/src/TWAIN-SANE-Interface-\1.tar.gz"><img src="../gz.png"></a></td>} 
     54livecheck.type          regex 
     55livecheck.regex         {<td><a href="../PKGS/TWAIN-SANE-Interface-(.*)/src/TWAIN-SANE-Interface-\1.tar.gz"><img src="../gz.png"></a></td>} 
Note: See TracChangeset for help on using the changeset viewer.