source: trunk/dports/graphics/sane-backends/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            sane-backends
6version         1.0.19
7revision        3
8categories      graphics
9maintainers     hamazone.de:hama
10description     Backends for scanner access
11homepage        http://www.sane-project.org/
12platforms       darwin
13
14long_description These are the backends for the Scanner Access Now Easy \
15                 project. They allow you to access various scanners either \
16                 locally or remote using saned.
17
18master_sites    http://alioth.debian.org/frs/download.php/2318/ \
19                http://gd.tuwien.ac.at/hci/sane/${distname}/ \
20                ftp://ftp.sane-project.org/pub/sane/${distname}/ \
21                ftp://ftp.sane-project.org/pub/sane/old-versions/${distname}/
22
23checksums       md5    8c0936272dcfd4e98c51512699f1c06f \
24                sha1   3ff8eefa8f32e72dcdbaa4bf20fe125df90144d5 \
25                rmd160 1aaf304cbfeb3d6c95f6081d04225441a87b6644
26
27depends_lib     port:jpeg \
28                port:libusb \
29                port:tiff \
30                port:zlib
31
32patchfiles      patch-configure.diff
33
34configure.cppflags-append -no-cpp-precomp -fno-common
35configure.args  --mandir=${prefix}/share/man \
36                --with-docdir=${prefix}/share/doc/${name} \
37                --enable-local-backends --enable-libusb \
38                --without-gphoto2
39
40pre-destroot {
41               xinstall -d -o root -g admin -m 775 ${destroot}${prefix}/var/lock
42}
43
44destroot.keepdirs ${destroot}${prefix}/var/lock
45
46variant disable_localbackends conflicts enable_pnmbackend with_gphoto2 description "turn off compilation of all backends but net" {
47    depends_lib-delete      port:libusb
48    configure.args-delete   --enable-local-backends --enable-libusb
49    configure.args-append   --disable-local-backends --disable-libusb
50}
51
52variant enable_pnmbackend conflicts disable_localbackends description "enable the pnm backend for testing frontends (possible security risk, see PROBLEMS file)" {
53    configure.args-append   --enable-pnm-backend
54}
55
56variant with_gphoto2 conflicts disable_localbackends description "include the gphoto2 backend" {
57    depends_lib-append      port:libexif \
58                            port:libgphoto2 \
59                            port:pkgconfig
60    configure.args-delete   --without-gphoto2
61    configure.args-append   --with-gphoto2
62}
Note: See TracBrowser for help on using the repository browser.