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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup vdudouyt minipro 0.0.1 |
---|
8 | categories devel |
---|
9 | maintainers openmaintainer gmail.com:ranauei |
---|
10 | platforms darwin |
---|
11 | license GPL-3 |
---|
12 | description Utility for the MiniPRO TL866CS and TL866A universal programmers |
---|
13 | long_description Opensource tool that aims to create a complete cross-platform \ |
---|
14 | replacement for the proprietary utility from autoelectric.cn. \ |
---|
15 | Currently it supports more than 13000 of target devices including \ |
---|
16 | AVRs, PICs as well as a huge number of other microcontrollers and \ |
---|
17 | various BIOSes. |
---|
18 | |
---|
19 | checksums rmd160 8cc7d90a90ea4a57e7f5562699049d6bfb9d9359 \ |
---|
20 | sha256 6231364e7e278b2a75889b1b9764689e9361487c152621746061a6c8e5e8a658 |
---|
21 | |
---|
22 | depends_build port:pkgconfig |
---|
23 | |
---|
24 | depends_lib port:libusb |
---|
25 | |
---|
26 | depends_run port:srecord |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | variant universal {} |
---|
31 | |
---|
32 | pre-build { |
---|
33 | if {[variant_isset universal]} { |
---|
34 | build.args-append CC="${configure.cc} ${configure.universal_cflags}" |
---|
35 | } else { |
---|
36 | build.args-append CC="${configure.cc}" |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | destroot { |
---|
41 | xinstall -W ${worksrcpath} ${name} ${name}-query-db ${name}hex ${destroot}${prefix}/bin |
---|
42 | xinstall -m 644 ${worksrcpath}/man/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
43 | } |
---|