Ticket #36091: Portfile

File Portfile, 1.1 KB (added by jwbacon@…, 12 years ago)
Line 
1# $Id: $
2PortSystem      1.0
3name            openvex
4version         0.5.0
5categories      devel
6maintainers     jwbacon@tds.net
7description     Open source Vex robotics firmware
8long_description        Open source firmware for Vex robotics controllers \
9                        based on the PIC 18f8520
10platforms       darwin
11homepage        http://personalpages.tds.net/~jwbacon/vex.html
12master_sites    http://personalpages.tds.net/~jwbacon/Ports/distfiles
13use_configure   no
14post-patch {
15        reinplace "s|man/man1|share/man/man1|g" "${worksrcpath}/Makefile"   
16        reinplace "s|usr/local|opt/local|g" \
17                "${worksrcpath}/openvex-new-project"
18        reinplace "s|usr/local|opt/local|g" \
19                "${worksrcpath}/Include/Makefile.sdcc_defs"   
20        reinplace "s|usr/local|opt/local|g" \
21                "${worksrcpath}/Doc/openvex.man"   
22}
23depends_build   port:gputils port:sdcc
24depends_run     port:gputils port:sdcc
25build.cmd       "make depend && make"
26destroot.destdir        PREFIX=${destroot}${prefix} \
27                        MANPREFIX=${destroot}${prefix}
28checksums           rmd160  eae01fc69bc1b419a849ac79b2b4976a8b604c14 \
29                    sha256  1d7d2ef89af1c8e289bf790a3f4420a506f99c5496323348278a4e3eddcdb85e