Changeset 55049 for trunk/dports/cross


Ignore:
Timestamp:
Aug 6, 2009, 11:13:40 AM (10 years ago)
Author:
snc@…
Message:

added serjtag variant, ticket #20526. tweaked ui_msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/avrdude/Portfile

    r54147 r55049  
    66name              avrdude
    77version           5.8
    8 revision          1
     8revision          2
    99categories        cross devel
    1010maintainers       bdmicro.com:bsd
     
    1616                  JTAGICE MkII, AVRISP, and others.
    1717homepage          http://www.nongnu.org/avrdude/
    18 platforms           darwin
     18platforms         darwin
    1919master_sites      http://savannah.nongnu.org/download/avrdude/
    2020checksums         md5 d459dcf47fa7fc2a29a70d68ebff4886 \
     
    2626configure.args    --mandir=${prefix}/share/man
    2727patchfiles        patch-stk500v2.c.diff
     28
     29variant serjtag description {Add support for burning a bootloader into an arduino without external programmer (FTDI bitbang mode)} {
     30        depends_lib-append port:libftd2xx
     31        patchfiles-append patch-Makefile.in.diff \
     32                          patch-avr910.c.diff \
     33                          patch-avrdude.conf.in.diff \
     34                          patch-config_gram.y.diff \
     35                          patch-lexer.l.diff \
     36                          patch-ft245r.c.diff \
     37                          patch-ft245r.h.diff \
     38                          patch-serjtag.c.diff \
     39                          patch-serjtag.h.diff
     40        configure.cflags-append "-g -O2 -DSUPPORT_FT245R"
     41        configure.env-append LIBS="-lftd2xx"
     42}
     43
     44post-activate {
     45    if {[variant_isset serjtag]} {
     46        ui_msg "\n
     47    Remember to unload FTDI VCP driver before using avrdude with ftdi
     48    bitbang mode:
     49   
     50        sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext\n"
     51    }
     52}
Note: See TracChangeset for help on using the changeset viewer.