1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name roboctl |
---|
4 | version 0.3.5 |
---|
5 | categories devel |
---|
6 | maintainers jwbacon@tds.net |
---|
7 | description Communication tools for Lego and VEX robots |
---|
8 | long_description Tools for communicating with and controlling Lego \ |
---|
9 | Mindstorms and VEX robotics controllers. |
---|
10 | homepage http://personalpages.tds.net/~jwbacon/Ports |
---|
11 | master_sites http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \ |
---|
12 | http://jbacon.dyndns.org/~bacon/Ports/distfiles/ |
---|
13 | use_configure no |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | depends_lib port:libusb |
---|
17 | |
---|
18 | destroot.destdir PREFIX=${destroot}${prefix} |
---|
19 | build.cmd "make depend && make" |
---|
20 | build.args "LOCALBASE=/opt/local PREFIX=/opt/local MANPREFIX=/opt/local/share" |
---|
21 | destroot.args "MANPREFIX=/opt/local/share" |
---|
22 | post-patch { |
---|
23 | reinplace "s|-lbluetooth||g" "${worksrcpath}/Commands/Legoctl/Makefile" |
---|
24 | if {${os.major} == 9} { |
---|
25 | reinplace "s|echo -e|echo|g" "${worksrcpath}/Commands/Legoctl/Makefile" |
---|
26 | reinplace "s|echo -e|echo|g" "${worksrcpath}/Commands/Vexctl/Makefile" |
---|
27 | reinplace "s|echo -e|echo|g" "${worksrcpath}/Libs/C/Makefile" |
---|
28 | } |
---|
29 | } |
---|
30 | checksums roboctl-0.3.5.tar.gz md5 60dcbaea81d06a632493ff0ddb2e0cdc |
---|
31 | checksums roboctl-0.3.5.tar.gz sha1 7c6c84a6bc7328ca95c07f12702387d404d44db1 |
---|
32 | checksums roboctl-0.3.5.tar.gz rmd160 a188c924bf4ba01049cb2e0eadc91aeb31f47741 |
---|