source: trunk/dports/archivers/unrar/Portfile @ 4370

Last change on this file since 4370 was 4370, checked in by jkh, 17 years ago

Use xinstall procedure

  • Property svn:eol-style set to native
File size: 921 bytes
Line 
1PortSystem 1.0
2name                    unrar
3version                 3.11
4platforms               darwin freebsd
5categories              archivers
6maintainers             max@kruschwitz.biz
7description             Extract, view & test RAR archives
8long_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
12homepage                http://www.rarsoft.com/
13master_sites            http://files2.rarlab.com/rar/
14checksums               md5 1a55414d0288865a0f836a751884457a
15distname                ${name}src-3.1.4
16worksrcdir              ${name}
17
18post-patch {
19        xinstall ${worksrcpath}/makefile.unix ${worksrcpath}/Makefile
20}
21
22configure               {}
23build.type              gnu
24
25destroot {
26        xinstall ${worksrcpath}/${name} ${destroot}/${prefix}/bin
27        xinstall -d ${destroot}/${prefix}/share/doc/${name}
28        xinstall ${worksrcpath}/license.txt ${worksrcpath}/readme.txt ${destroot}/${prefix}/share/doc/${name}
29}
30
31destroot.destdir        prefix=${destroot}/${prefix}
Note: See TracBrowser for help on using the repository browser.