Ticket #29679: Portfile

File Portfile, 1.2 KB (added by jwbacon@…, 13 years ago)
Line 
1# $Id: Portfile 54437 2009-07-27 18:06:28Z toby@macports.org $
2
3PortSystem      1.0
4
5name            roboctl
6version         0.3.7
7categories      devel
8platforms       darwin
9maintainers     tds.net:jwbacon
10
11description     Communication tools for Lego and VEX robots
12long_description        Tools for communicating with and controlling Lego \
13                        Mindstorms and VEX robotics controllers.
14
15homepage        http://personalpages.tds.net/~jwbacon/Ports
16master_sites    http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
17                http://jbacon.dyndns.org/~bacon/Ports/distfiles/
18
19use_configure   no
20
21depends_lib     port:libusb-compat
22
23destroot.destdir        PREFIX=${destroot}${prefix}
24build.cmd       "make depend && make"
25build.args      "LOCALBASE=${prefix} PREFIX=${prefix} MANPREFIX=${prefix}/share"
26destroot.args   "MANPREFIX=${prefix}/share"
27post-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
37use_parallel_build no
38checksums           md5     975885de3266a56693da8b3a3995c79c \
39                    sha1    6edf410f34d3c3507c48cf10b13c9aa946acef33 \
40                    rmd160  e7cbc213e6aa20ecd09439dbb9d035948805b09f