1 | PortSystem 1.0 |
---|
2 | name unrar |
---|
3 | version 3.11 |
---|
4 | platforms darwin freebsd |
---|
5 | categories archivers |
---|
6 | maintainers max@kruschwitz.biz |
---|
7 | description Extract, view & test RAR archives |
---|
8 | long_description The unRAR utility is a minor part of the \ |
---|
9 | RAR archiver and contains RAR uncompression algorithm. \ |
---|
10 | unRAR requires very small volume of memory to operate. |
---|
11 | |
---|
12 | homepage http://www.rarsoft.com/ |
---|
13 | master_sites http://files2.rarlab.com/rar/ |
---|
14 | |
---|
15 | checksums md5 1a55414d0288865a0f836a751884457a |
---|
16 | distname ${name}src-3.1.4 |
---|
17 | worksrcdir ${name} |
---|
18 | |
---|
19 | post-patch { |
---|
20 | system "cp -f ${worksrcpath}/makefile.unix ${worksrcpath}/Makefile" |
---|
21 | } |
---|
22 | |
---|
23 | configure {} |
---|
24 | build.type gnu |
---|
25 | |
---|
26 | install { |
---|
27 | system "install -d ${destroot}/${prefix}/bin" |
---|
28 | system "install -d ${destroot}/${prefix}/share/doc/${name}" |
---|
29 | system "install ${worksrcpath}/${name} \ |
---|
30 | ${destroot}/${prefix}/bin/${name}" |
---|
31 | system "install ${worksrcpath}/license.txt \ |
---|
32 | ${destroot}/${prefix}/share/doc/${name}" |
---|
33 | system "install ${worksrcpath}/readme.txt \ |
---|
34 | ${destroot}/${prefix}/share/doc/${name}" |
---|
35 | } |
---|
36 | |
---|
37 | install.destroot prefix=${destroot}/${prefix} |
---|