source: trunk/dports/graphics/twain-sane/Portfile

Last change on this file was 133337, checked in by larryv@…, 3 years ago

twain-sane: Update to 3.4 (#42522)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 133337 2015-02-26 17:09:46Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               xcode 1.0
6
7name                    twain-sane
8version                 3.4
9categories              graphics
10license                 GPL-2+
11maintainers             nomaintainer
12supported_archs         i386 ppc
13
14#
15# does not build universal on 64 bit platforms
16#
17
18if {${os.major} > 9} {
19    universal_variant no
20}
21
22description             TWAIN datasource for SANE
23
24long_description        This is a TWAIN datasource for Mac OS X that aquires images \
25                        using the SANE backend libraries. The SANE backend libraries \
26                        provide access to a large range of scanners connected through \
27                        SCSI or USB. For a complete list see the documentation on the \
28                        SANE project homepage. It works with my HP SCSI scanner, and \
29                        many people have reported success with a large number of \
30                        different scanners. The feedback from users have helped the \
31                        SANE developers to fix problems with various backends, so with \
32                        each release of the SANE backends more of the Mac OS X specific \
33                        problems have been solved.
34
35distname                TWAIN-SANE-Interface-${version}
36homepage                http://www.ellert.se/twain-sane/
37master_sites            http://www.ellert.se/PKGS/${distname}/src/
38
39checksums               rmd160 09ca5065e2150dc6da3a11e9512d490dc511b548 \
40                        sha256 71ae3472acdd3f7b0a7d517e2106c9eb18d643ffd687ee13f35d50b07c42dca7
41
42depends_lib             port:libiconv \
43                        port:gettext \
44                        port:libusb-compat \
45                        port:sane-backends
46
47xcode.project           SANE.ds.xcodeproj
48xcode.destroot.path     /Library/Image Capture/TWAIN Data Sources
49xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \
50                        HEADER_SEARCH_PATHS=${prefix}/include
51xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \
52                        HEADER_SEARCH_PATHS=${prefix}/include
53
54build.dir               ${worksrcpath}/src
55
56pre-build {
57    # Generate Info.plist
58    system -W ${build.dir} {./Info.sh > Info.plist}
59}
60
61destroot.violate_mtree  yes
62
63livecheck.type          regex
64livecheck.regex         TWAIN-SANE-Interface-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.