source: trunk/dports/sysutils/iRecovery/Portfile

Last change on this file was 69617, checked in by blair@…, 7 years ago

Improve iRecovery's portfile.

1) Depend upon readline because readline is used.
2) Use a single xinstall line for LICENSE and README.
3) Install LICENSE and README with mode 0644.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 69617 2010-07-11 00:26:24Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            iRecovery
6version         0.01
7revision        1
8categories      sysutils
9maintainers     blair
10description     Console client for iBoot/iBSS iPhone, iPod touch and iPad
11
12long_description \
13                iRecovery is a libusb-based command line utility for Mac OS X \
14                and Linux.  It is able to talk to the iBoot/iBSS in Apple's \
15                iPhone/iPod touch via USB.  It supports iBoot/iBSS 2.x, 3.x \
16                and 4.x.
17
18homepage        http://github.com/westbaer/irecovery
19
20fetch.type      git
21git.url         git://github.com/westbaer/irecovery.git
22git.branch      b4f662f2133f47e2c93a2bd1953ae2625232e4ae
23
24platforms       darwin
25
26depends_lib     port:libusb-compat \
27                port:readline
28
29use_configure   no
30
31build.target    CFLAGS_OSX="-I${prefix}/include -L${prefix}/lib -lusb -framework CoreFoundation -framework IOKit -lreadline" macosx
32
33destroot {
34        xinstall ${worksrcpath}/irecovery ${destroot}${prefix}/bin
35       
36        set sharedir ${destroot}${prefix}/share/doc/${name}
37        xinstall -d ${sharedir}
38        xinstall -m 0644 -W ${worksrcpath} LICENSE README ${sharedir}
39}
Note: See TracBrowser for help on using the repository browser.