Ticket #20447: Portfile

File Portfile, 1.1 KB (added by jwbacon@…, 15 years ago)
Line 
1# $Id: Portfile 54146 2009-07-21 23:41:14Z toby@macports.org $
2
3PortSystem      1.0
4
5name            roboctl
6version         0.3.6
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
19checksums       md5 1a9e5d45367359fbcbd16370f29ae899 \
20                sha1 17e2bbbcd4189c9baf4b212b8f6c2d98423a2b91 \
21                rmd160 136c6c532a860321bd2b0341b32a504660cd2ff6
22
23use_configure   no
24
25depends_lib     port:libusb
26
27destroot.destdir        PREFIX=${destroot}${prefix}
28build.cmd       "make depend && make"
29build.args      "LOCALBASE=${prefix} PREFIX=${prefix} MANPREFIX=${prefix}/share"
30destroot.args   "MANPREFIX=${prefix}/share"
31post-patch {
32        if {${os.major} >= 9} {
33                reinplace "s|echo -e|echo|g" \
34                        ${worksrcpath}/Commands/Legoctl/Makefile \
35                        ${worksrcpath}/Commands/Vexctl/Makefile \
36                        ${worksrcpath}/Libs/C/Makefile
37        }
38}
39
40use_parallel_build no