1 | # $Id: Portfile 54437 2009-07-27 18:06:28Z toby@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name roboctl |
---|
6 | version 0.3.7 |
---|
7 | categories devel |
---|
8 | platforms darwin |
---|
9 | maintainers tds.net:jwbacon |
---|
10 | |
---|
11 | description Communication tools for Lego and VEX robots |
---|
12 | long_description Tools for communicating with and controlling Lego \ |
---|
13 | Mindstorms and VEX robotics controllers. |
---|
14 | |
---|
15 | homepage http://personalpages.tds.net/~jwbacon/Ports |
---|
16 | master_sites http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \ |
---|
17 | http://jbacon.dyndns.org/~bacon/Ports/distfiles/ |
---|
18 | |
---|
19 | use_configure no |
---|
20 | |
---|
21 | depends_lib port:libusb-compat |
---|
22 | |
---|
23 | destroot.destdir PREFIX=${destroot}${prefix} |
---|
24 | build.cmd "make depend && make" |
---|
25 | build.args "LOCALBASE=${prefix} PREFIX=${prefix} MANPREFIX=${prefix}/share" |
---|
26 | destroot.args "MANPREFIX=${prefix}/share" |
---|
27 | post-patch { |
---|
28 | reinplace "s|-lbluetooth||g" ${worksrcpath}/Commands/Legoctl/Makefile |
---|
29 | if {${os.major} >= 9} { |
---|
30 | reinplace "s|echo -e|echo|g" \ |
---|
31 | ${worksrcpath}/Commands/Legoctl/Makefile \ |
---|
32 | ${worksrcpath}/Commands/Vexctl/Makefile \ |
---|
33 | ${worksrcpath}/Libs/C/Makefile |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | use_parallel_build no |
---|
38 | checksums md5 975885de3266a56693da8b3a3995c79c \ |
---|
39 | sha1 6edf410f34d3c3507c48cf10b13c9aa946acef33 \ |
---|
40 | rmd160 e7cbc213e6aa20ecd09439dbb9d035948805b09f |
---|