Ticket #42608: Portfile

File Portfile, 1.2 KB (added by DanielO (Daniel O'Connor), 11 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3PortSystem          1.0
4PortGroup           bitbucket 1.0
5
6bitbucket.setup     DJOconnor fxload 20140224 RELEASE_
7version             20140224
8categories          cross devel
9platforms           darwin
10maintainers         dons.net.au:darius
11description         Cypress EZ-USB downloader
12long_description    Firmware downloader for Cypress EZ-USB devices
13license             GPL2
14worksrcdir          DJOConnor-fxload-5691a2bb9409
15checksums           rmd160 19a9c914d184fd8573fb39346e746b684b774ef9 \
16                    sha256 7ed94cd0821d065bedd49311e7addcef0805a6412e64dbaa63ded9f0dea6946c
17depends_lib         port:libusb-compat
18use_configure       no
19
20variant universal {}
21
22build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
23                    MP_CFLAGS="[get_canonical_archflags cc]" \
24                    MP_LDFLAGS="[get_canonical_archflags ld]"
25
26destroot {
27    xinstall -m 0555 -W ${worksrcpath} fxload ${destroot}${prefix}/bin
28    xinstall -m 0444 -W ${worksrcpath} fxload.8 ${destroot}${prefix}/share/man/man8
29}