Changeset 79090


Ignore:
Timestamp:
Jun 2, 2011, 4:06:06 AM (8 years ago)
Author:
ryandesign@…
Message:

roboctl: update to 0.3.7, ensure we're UsingTheRightCompiler and build arch, indicate license; see #29679

Location:
trunk/dports/devel/roboctl
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/roboctl/Portfile

    r54437 r79090  
    44
    55name            roboctl
    6 version         0.3.6
     6version         0.3.7
    77categories      devel
    88platforms       darwin
    99maintainers     tds.net:jwbacon
     10license         BSD
    1011
    1112description     Communication tools for Lego and VEX robots
     
    1718                http://jbacon.dyndns.org/~bacon/Ports/distfiles/
    1819
    19 checksums       md5 1a9e5d45367359fbcbd16370f29ae899 \
    20                 sha1 17e2bbbcd4189c9baf4b212b8f6c2d98423a2b91 \
    21                 rmd160 136c6c532a860321bd2b0341b32a504660cd2ff6
     20checksums       sha1    6edf410f34d3c3507c48cf10b13c9aa946acef33 \
     21                rmd160  e7cbc213e6aa20ecd09439dbb9d035948805b09f
     22
     23depends_lib     port:libusb-compat
     24
     25patchfiles      patch-Commands-Legoctl-Makefile.diff
    2226
    2327use_configure   no
    2428
    25 depends_lib     port:libusb-compat
     29build.args      LOCALBASE=${prefix} \
     30                PREFIX=${prefix} \
     31                MANPREFIX=${prefix}/share \
     32                CC="${configure.cc} ${configure.cc_archflags}"
     33
     34pre-build {
     35        system "cd ${worksrcpath} && make depend [join ${build.args}]"
     36}
    2637
    2738destroot.destdir        PREFIX=${destroot}${prefix}
    28 build.cmd       "make depend && make"
    29 build.args      "LOCALBASE=${prefix} PREFIX=${prefix} MANPREFIX=${prefix}/share"
    30 destroot.args   "MANPREFIX=${prefix}/share"
    31 post-patch {
     39destroot.args   MANPREFIX=${prefix}/share
     40
     41platform darwin {
    3242        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
     43                patchfiles-append patch-Scripts-lego_bluetooth_config.diff
    3744        }
    3845}
Note: See TracChangeset for help on using the changeset viewer.