Ticket #36002: Portfile

File Portfile, 5.4 KB (added by dirkx (Dirk-Willem van Gulik), 12 years ago)
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 90126 2012-02-22 19:23:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                openocd
7version             0.5.0
8revision            1
9categories          cross devel
10license             GPL
11maintainers         snc openmaintainer
12description         Open On-Chip Debugger
13long_description    The Open On-Chip Debugger (OpenOCD) aims to provide \
14                    debugging, in-system programming and boundary-scan \
15                    testing for embedded target devices. Built with support \
16                    for FT2232-based programmers by default. See variants for \
17                    programmer options.
18homepage            http://openocd.sourceforge.net/
19platforms           darwin
20
21master_sites        sourceforge:project/openocd/openocd/${version}
22
23checksums           rmd160  552f0c498730ee9347ec6d0cda7bf7663357ef8a \
24                    sha256  efb99e0394249cbd518b51b052eea150d5f14557e9a2e0ddfae198792dca51c6
25
26patchfiles          arm7.diff
27
28configure.args-append  --disable-werror --enable-maintainer-mode
29
30livecheck.url       http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd\;a=tags
31livecheck.type      regex
32livecheck.regex     v(\\d+(\\.\\d+)+)<
33
34default_variants +ft2232
35
36variant dummy description {Enable building the dummy port driver} {
37    configure.args-append --enable-dummy
38}
39
40variant parport description {Enable building the pc parallel port driver. WARNING: not supported on OS X.} {
41    configure.args-append --enable-parport
42}
43
44variant ft2232 conflicts ft2232_ftd2xx  description {Enable building support for FT2232 based devices using the libftdi driver, opensource alternate of FTD2XX} {
45    configure.args-append --enable-ft2232_libftdi
46        depends_lib-append port:libftdi
47}
48
49variant ft2232_ftd2xx conflicts ft2232  description {Enable building support for FT2232 based devices using the FTD2XX driver from ftdichip.com} {
50    configure.args-append --enable-ft2232_ftd2xx
51        depends_lib-append port:libftd2xx
52}
53
54variant usb_blaster conflicts usb_blaster_ftd2xx description {Enable building support for the Altera USB-Blaster using the libftdi driver, opensource alternate of FTD2XX} {
55    configure.args-append --enable-usb_blaster_libftdi
56        depends_lib-append port:libftdi
57}
58
59variant usb_blaster_ftd2xx conflicts usb_blaster description {Enable building support for the Altera USB-Blaster using the FTD2XX driver from ftdichip.com} {
60    configure.args-append --enable-usb_blaster_ftd2xx
61        depends_lib-append port:libftd2xx
62}
63
64variant amtjtagaccel description {Enable building the Amontec JTAG-Accelerator driver} {
65    configure.args-append --enable-amtjtagaccel
66}
67
68variant ecosboard description {Enable building support for eCos based JTAG debugger} {
69    configure.args-append --enable-ecosboard
70}
71
72variant zy1000_master requires zy1000 description {Use ZY1000 JTAG master registers} {
73    configure.args-append --enable-zy1000-master
74}
75
76variant zy1000 conflicts minidriver_dummy description {Enable ZY1000 interface. WARNING: Using the minidriver disables all other drivers.} {
77    configure.args-append --enable-zy1000
78}
79
80variant ioutil description {Enable ioutil functions - useful for standalone OpenOCD implementations} {
81    configure.args-append --enable-ioutil
82}
83
84variant ep93xx description {Enable building support for EP93xx based SBCs} {
85    configure.args-append --enable-ep93xx
86}
87
88variant at91rm9200 description {Enable building support for AT91RM9200 based SBCs} {
89    configure.args-append --enable-at91rm9200
90}
91
92variant gw16012 description {Enable building support for the Gateworks GW16012 JTAG Programmer} {
93    configure.args-append --enable-gw16012
94}
95
96variant presto conflicts presto_ftd2xx description {Enable building support for ASIX Presto Programmer using the libftdi driver} {
97    configure.args-append --enable-presto_libftdi
98        depends_lib-append port:libftdi
99}
100
101variant presto_ftd2xx conflicts presto description {Enable building support for ASIX Presto Programmer using the FTD2XX driver} {
102    configure.args-append --enable-presto_ftd2xx
103        depends_lib-append port:libftd2xx
104}
105
106variant usbprog description {Enable building support for the usbprog JTAG Programmer} {
107    configure.args-append --enable-usbprog
108}
109
110variant oocd_trace description {Enable building support for some prototype OpenOCD+trace ETM capture hardware} {
111    configure.args-append --enable-oocd_trace
112}
113
114variant jlink description {Enable building support for the Segger J-Link JTAG Programmer} {
115    configure.args-append --enable-jlink
116}
117
118variant vsllink description {Enable building support for the Versaloon-Link JTAG Programmer} {
119    configure.args-append --enable-vsllink
120}
121
122variant rlink description {Enable building support for the Raisonance RLink JTAG Programmer} {
123    configure.args-append --enable-rlink
124}
125
126variant ulink description {Enable building support for the Keil ULINK JTAG Programmer} {
127    configure.args-append --enable-ulink
128}
129
130variant arm_jtag_ew description {Enable building support for the Olimex ARM-JTAG-EW Programmer} {
131    configure.args-append --enable-arm-jtag-ew
132}
133
134variant buspirate description {Enable building support for the Buspirate} {
135    configure.args-append --enable-buspirate
136}
137
138variant minidriver_dummy conflicts zy1000 description {Enable the dummy minidriver} {
139    configure.args-append --enable-minidriver-dummy
140}
141