Ticket #28172: Portfile

File Portfile, 1.2 KB (added by stevecheckoway (Stephen Checkoway), 13 years ago)
Line 
1PortSystem                      1.0
2name                            msp430-libc
3version                         ti_20101114
4
5# Set parameters for this port
6set crossgcc-target             msp430
7
8description                     libc for msp430
9long_description                libc for msp430.
10homepage                        http://mspgcc4.sourceforge.net/
11platforms                       darwin
12categories                      cross devel
13maintainers                     cs.ucsd.edu:s
14
15#master_sites                   sourceforge:mspgcc4/files/msp430-libc
16master_sites                    http://sourceforge.net/projects/mspgcc4/files/msp430-libc
17use_bzip2                       yes
18checksums                       md5     08115f733f3344834a936c2b8a1cbcfb \
19                                sha1    ff53e1d58b9073d7b5f46c52d27a5d664c45729b \
20                                rmd160  74a73251a111ad50853d31e9ff5adad640e3c587
21worksrcdir                      ${distname}/src
22
23# All cross ports violate the mtree layout.
24destroot.violate_mtree          yes
25
26depends_lib                     bin:${crossgcc-target}-ar:${crossgcc-target}-binutils \
27                                bin:${crossgcc-target}-as:${crossgcc-target}-binutils \
28                                bin:${crossgcc-target}-ld:${crossgcc-target}-binutils \
29                                bin:${crossgcc-target}-nm:${crossgcc-target}-binutils \
30                                bin:${crossgcc-target}-ranlib:${crossgcc-target}-binutils \
31                                bin:${crossgcc-target}-gcc:${crossgcc-target}-gcc
32
33
34patchfiles                      patch-src-Makefile.diff
35use_configure                   no
36destroot.args                   prefix=${prefix} DESTDIR=${destroot} install