Ticket #25330: Portfile-sane-backends.diff

File Portfile-sane-backends.diff, 10.7 KB (added by aguynamedryan+macports@…, 14 years ago)

update to sane-backends 1.0.21 and add 75 variants to specify subset of backends to build

  • Portfile

    old new  
    33PortSystem                  1.0
    44
    55name                        sane-backends
    6 version                     1.0.20
    7 revision                    3
     6version                     1.0.21
     7revision                    0
    88categories                  graphics
    99platforms                   darwin
    10 maintainers                 nomaintainer
     10maintainers                 gmail.com:aguynamedryan+sane
    1111homepage                    http://www.sane-project.org/
    1212
    1313description                 Backends for scanner access
     
    1919master_sites                ftp://ftp.sane-project.org/pub/sane/${distname}/ \
    2020                            ftp://ftp.sane-project.org/pub/sane/old-versions/${distname}/
    2121
    22 checksums                   md5     a0cfdfdebca2feb4f2ba5d3418b15a42 \
    23                             sha1    3b4d2ecde8be404bb44269771cf5dc6e4c10b086 \
    24                             rmd160  b80c0a15a75b3bce07060d65aecdcaf7860c323b
     22checksums                   md5     be586a23633949cf2ecf0c9c6d769130 \
     23                            sha1    4a2789ea9dae1ece090d016abd14b0f2450d9bdb \
     24                            rmd160  000ae42ffd6484c54389a9468bdde1dcfc758dde
    2525
    2626depends_lib                 port:jpeg \
    2727                            port:libusb-compat \
     
    3939                            --enable-libusb \
    4040                            --without-gphoto2
    4141
    42 use_parallel_build          no
     42set BACKEND_LIST            ""
     43
     44use_parallel_build          yes
    4345
    4446pre-destroot {
    4547    xinstall -d -o root -g admin -m 775 ${destroot}${prefix}/var/lock
    4648}
    4749
     50pre-configure {
     51    configure.env-append BACKENDS="${BACKEND_LIST}"
     52}
     53
    4854destroot.keepdirs ${destroot}${prefix}/var/lock
    4955
    5056variant disable_localbackends conflicts enable_pnmbackend with_gphoto2 description "turn off compilation of all backends but net" {
     
    6571    configure.args-append   --with-gphoto2
    6672}
    6773
     74variant abaton description "builds abaton backend" {
     75    set BACKEND_LIST [concat ${BACKEND_LIST} " abaton"]
     76}
     77
     78variant agfafocus description "builds agfafocus backend" {
     79    set BACKEND_LIST [concat ${BACKEND_LIST} " agfafocus"]
     80}
     81
     82variant apple description "builds apple backend" {
     83    set BACKEND_LIST [concat ${BACKEND_LIST} " apple"]
     84}
     85
     86variant artec description "builds artec backend" {
     87    set BACKEND_LIST [concat ${BACKEND_LIST} " artec"]
     88}
     89
     90variant artec_eplus48u description "builds artec_eplus48u backend" {
     91    set BACKEND_LIST [concat ${BACKEND_LIST} " artec_eplus48u"]
     92}
     93
     94variant as6e description "builds as6e backend" {
     95    set BACKEND_LIST [concat ${BACKEND_LIST} " as6e"]
     96}
     97
     98variant avision description "builds avision backend" {
     99    set BACKEND_LIST [concat ${BACKEND_LIST} " avision"]
     100}
     101
     102variant bh description "builds bh backend" {
     103    set BACKEND_LIST [concat ${BACKEND_LIST} " bh"]
     104}
     105
     106variant canon description "builds canon backend" {
     107    set BACKEND_LIST [concat ${BACKEND_LIST} " canon"]
     108}
     109
     110variant canon630u description "builds canon630u backend" {
     111    set BACKEND_LIST [concat ${BACKEND_LIST} " canon630u"]
     112}
     113
     114variant canon_dr description "builds canon_dr backend" {
     115    set BACKEND_LIST [concat ${BACKEND_LIST} " canon_dr"]
     116}
     117
     118variant cardscan description "builds cardscan backend" {
     119    set BACKEND_LIST [concat ${BACKEND_LIST} " cardscan"]
     120}
     121
     122variant coolscan description "builds coolscan backend" {
     123    set BACKEND_LIST [concat ${BACKEND_LIST} " coolscan"]
     124}
     125
     126variant coolscan2 description "builds coolscan2 backend" {
     127    set BACKEND_LIST [concat ${BACKEND_LIST} " coolscan2"]
     128}
     129
     130variant coolscan3 description "builds coolscan3 backend" {
     131    set BACKEND_LIST [concat ${BACKEND_LIST} " coolscan3"]
     132}
     133
     134variant dc25 description "builds dc25 backend" {
     135    set BACKEND_LIST [concat ${BACKEND_LIST} " dc25"]
     136}
     137
     138variant dc210 description "builds dc210 backend" {
     139    set BACKEND_LIST [concat ${BACKEND_LIST} " dc210"]
     140}
     141
     142variant dc240 description "builds dc240 backend" {
     143    set BACKEND_LIST [concat ${BACKEND_LIST} " dc240"]
     144}
     145
     146variant dell1600n_net description "builds dell1600n_net backend" {
     147    set BACKEND_LIST [concat ${BACKEND_LIST} " dell1600n_net"]
     148}
     149
     150variant dmc description "builds dmc backend" {
     151    set BACKEND_LIST [concat ${BACKEND_LIST} " dmc"]
     152}
     153
     154variant epjitsu description "builds epjitsu backend" {
     155    set BACKEND_LIST [concat ${BACKEND_LIST} " epjitsu"]
     156}
     157
     158variant epson description "builds epson backend" {
     159    set BACKEND_LIST [concat ${BACKEND_LIST} " epson"]
     160}
     161
     162variant epson2 description "builds epson2 backend" {
     163    set BACKEND_LIST [concat ${BACKEND_LIST} " epson2"]
     164}
     165
     166variant fujitsu description "builds fujitsu backend" {
     167    set BACKEND_LIST [concat ${BACKEND_LIST} " fujitsu"]
     168}
     169
     170variant genesys description "builds genesys backend" {
     171    set BACKEND_LIST [concat ${BACKEND_LIST} " genesys"]
     172}
     173
     174variant gt68xx description "builds gt68xx backend" {
     175    set BACKEND_LIST [concat ${BACKEND_LIST} " gt68xx"]
     176}
     177
     178variant hp description "builds hp backend" {
     179    set BACKEND_LIST [concat ${BACKEND_LIST} " hp"]
     180}
     181
     182variant hp3500 description "builds hp3500 backend" {
     183    set BACKEND_LIST [concat ${BACKEND_LIST} " hp3500"]
     184}
     185
     186variant hp3900 description "builds hp3900 backend" {
     187    set BACKEND_LIST [concat ${BACKEND_LIST} " hp3900"]
     188}
     189
     190variant hp4200 description "builds hp4200 backend" {
     191    set BACKEND_LIST [concat ${BACKEND_LIST} " hp4200"]
     192}
     193
     194variant hp5400 description "builds hp5400 backend" {
     195    set BACKEND_LIST [concat ${BACKEND_LIST} " hp5400"]
     196}
     197
     198variant hp5590 description "builds hp5590 backend" {
     199    set BACKEND_LIST [concat ${BACKEND_LIST} " hp5590"]
     200}
     201
     202variant hpljm1005 description "builds hpljm1005 backend" {
     203    set BACKEND_LIST [concat ${BACKEND_LIST} " hpljm1005"]
     204}
     205
     206variant hs2p description "builds hs2p backend" {
     207    set BACKEND_LIST [concat ${BACKEND_LIST} " hs2p"]
     208}
     209
     210variant ibm description "builds ibm backend" {
     211    set BACKEND_LIST [concat ${BACKEND_LIST} " ibm"]
     212}
     213
     214variant kodak description "builds kodak backend" {
     215    set BACKEND_LIST [concat ${BACKEND_LIST} " kodak"]
     216}
     217
     218variant kvs1025 description "builds kvs1025 backend" {
     219    set BACKEND_LIST [concat ${BACKEND_LIST} " kvs1025"]
     220}
     221
     222variant leo description "builds leo backend" {
     223    set BACKEND_LIST [concat ${BACKEND_LIST} " leo"]
     224}
     225
     226variant lexmark description "builds lexmark backend" {
     227    set BACKEND_LIST [concat ${BACKEND_LIST} " lexmark"]
     228}
     229
     230variant ma1509 description "builds ma1509 backend" {
     231    set BACKEND_LIST [concat ${BACKEND_LIST} " ma1509"]
     232}
     233
     234variant matsushita description "builds matsushita backend" {
     235    set BACKEND_LIST [concat ${BACKEND_LIST} " matsushita"]
     236}
     237
     238variant microtek description "builds microtek backend" {
     239    set BACKEND_LIST [concat ${BACKEND_LIST} " microtek"]
     240}
     241
     242variant microtek2 description "builds microtek2 backend" {
     243    set BACKEND_LIST [concat ${BACKEND_LIST} " microtek2"]
     244}
     245
     246variant mustek description "builds mustek backend" {
     247    set BACKEND_LIST [concat ${BACKEND_LIST} " mustek"]
     248}
     249
     250variant mustek_usb description "builds mustek_usb backend" {
     251    set BACKEND_LIST [concat ${BACKEND_LIST} " mustek_usb"]
     252}
     253
     254variant mustek_usb2 description "builds mustek_usb2 backend" {
     255    set BACKEND_LIST [concat ${BACKEND_LIST} " mustek_usb2"]
     256}
     257
     258variant nec description "builds nec backend" {
     259    set BACKEND_LIST [concat ${BACKEND_LIST} " nec"]
     260}
     261
     262variant net description "builds net backend" {
     263    set BACKEND_LIST [concat ${BACKEND_LIST} " net"]
     264}
     265
     266variant niash description "builds niash backend" {
     267    set BACKEND_LIST [concat ${BACKEND_LIST} " niash"]
     268}
     269
     270variant pie description "builds pie backend" {
     271    set BACKEND_LIST [concat ${BACKEND_LIST} " pie"]
     272}
     273
     274variant pixma description "builds pixma backend" {
     275    set BACKEND_LIST [concat ${BACKEND_LIST} " pixma"]
     276}
     277
     278variant plustek description "builds plustek backend" {
     279    set BACKEND_LIST [concat ${BACKEND_LIST} " plustek"]
     280}
     281
     282variant plustek_pp description "builds plustek_pp backend" {
     283    set BACKEND_LIST [concat ${BACKEND_LIST} " plustek_pp"]
     284}
     285
     286variant ricoh description "builds ricoh backend" {
     287    set BACKEND_LIST [concat ${BACKEND_LIST} " ricoh"]
     288}
     289
     290variant rts8891 description "builds rts8891 backend" {
     291    set BACKEND_LIST [concat ${BACKEND_LIST} " rts8891"]
     292}
     293
     294variant s9036 description "builds s9036 backend" {
     295    set BACKEND_LIST [concat ${BACKEND_LIST} " s9036"]
     296}
     297
     298variant sceptre description "builds sceptre backend" {
     299    set BACKEND_LIST [concat ${BACKEND_LIST} " sceptre"]
     300}
     301
     302variant sharp description "builds sharp backend" {
     303    set BACKEND_LIST [concat ${BACKEND_LIST} " sharp"]
     304}
     305
     306variant sm3600 description "builds sm3600 backend" {
     307    set BACKEND_LIST [concat ${BACKEND_LIST} " sm3600"]
     308}
     309
     310variant sm3840 description "builds sm3840 backend" {
     311    set BACKEND_LIST [concat ${BACKEND_LIST} " sm3840"]
     312}
     313
     314variant snapscan description "builds snapscan backend" {
     315    set BACKEND_LIST [concat ${BACKEND_LIST} " snapscan"]
     316}
     317
     318variant sp15c description "builds sp15c backend" {
     319    set BACKEND_LIST [concat ${BACKEND_LIST} " sp15c"]
     320}
     321
     322variant st400 description "builds st400 backend" {
     323    set BACKEND_LIST [concat ${BACKEND_LIST} " st400"]
     324}
     325
     326variant stv680 description "builds stv680 backend" {
     327    set BACKEND_LIST [concat ${BACKEND_LIST} " stv680"]
     328}
     329
     330variant tamarack description "builds tamarack backend" {
     331    set BACKEND_LIST [concat ${BACKEND_LIST} " tamarack"]
     332}
     333
     334variant teco1 description "builds teco1 backend" {
     335    set BACKEND_LIST [concat ${BACKEND_LIST} " teco1"]
     336}
     337
     338variant teco2 description "builds teco2 backend" {
     339    set BACKEND_LIST [concat ${BACKEND_LIST} " teco2"]
     340}
     341
     342variant teco3 description "builds teco3 backend" {
     343    set BACKEND_LIST [concat ${BACKEND_LIST} " teco3"]
     344}
     345
     346variant test description "builds test backend" {
     347    set BACKEND_LIST [concat ${BACKEND_LIST} " test"]
     348}
     349
     350variant u12 description "builds u12 backend" {
     351    set BACKEND_LIST [concat ${BACKEND_LIST} " u12"]
     352}
     353
     354variant umax description "builds umax backend" {
     355    set BACKEND_LIST [concat ${BACKEND_LIST} " umax"]
     356}
     357
     358variant umax_pp description "builds umax_pp backend" {
     359    set BACKEND_LIST [concat ${BACKEND_LIST} " umax_pp"]
     360}
     361
     362variant umax1220u description "builds umax1220u backend" {
     363    set BACKEND_LIST [concat ${BACKEND_LIST} " umax1220u"]
     364}
     365
     366variant xerox_mfp description "builds xerox_mfp backend" {
     367    set BACKEND_LIST [concat ${BACKEND_LIST} " xerox_mfp"]
     368}
     369
     370variant p5 description "builds p5 backend" {
     371    set BACKEND_LIST [concat ${BACKEND_LIST} " p5"]
     372}
     373
    68374livecheck.type              regex
    69375livecheck.url               ftp://ftp.sane-project.org/pub/sane/
    70376livecheck.regex             "${name}-(\\d+(?:\\.\\d+)*)"