source: trunk/dports/archivers/lha/Portfile

Last change on this file was 85942, checked in by takanori@…, 6 years ago

lha: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 85942 2011-10-17 22:21:14Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            lha
6epoch           20070826
7version         1.14i-ac20050924p1
8revision        3
9categories      archivers sysutils
10maintainers     nomaintainer
11description     Utility for creating and opening lzh archives
12long_description \
13                ${description}
14platforms       darwin
15license         Restrictive/Distributable
16homepage        http://lha.sourceforge.jp/
17master_sites   sourceforge_jp:${name}/22231
18master_sites-append macports::lha_man
19distfiles-append    lha.1.r889:lha_man
20patchfiles      patch-src_header.c.diff
21checksums       ${distname}${extract.suffix} md5 9f52430410928ba4390a73a41a36d56f \
22                                             sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 \
23                                             rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b \
24                lha.1.r889 md5 ee2d1efb86c145ba16c3dcbb1e6a3150 \
25                           sha1 9aba56d37abf9ff05df41b84164b02eb83cd5aae \
26                           rmd160 6d6e98dab3533e6c66981c41961adeec4305ad48
27
28extract.only    ${distname}${extract.suffix}
29
30configure.args  --mandir=${prefix}/share/man
31
32use_parallel_build  yes
33
34test.run        yes
35test.target     check
36
37destroot.target install-strip
38
39post-destroot {
40    set docdir ${prefix}/share/doc/${name}-${version}
41    xinstall -m 755 -d ${destroot}${docdir}/olddoc
42    xinstall -m 0644 -W ${worksrcpath} ChangeLog Hacking_of_LHa header.doc.euc \
43        ${destroot}${docdir}
44    eval xinstall -m 0644 [glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] \
45        ${destroot}${docdir}/olddoc
46
47    xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
48    copy ${distpath}/lha.1.r889 ${destroot}${prefix}/share/man/man1/lha.1
49    delete ${destroot}${prefix}/share/man/mann
50}
Note: See TracBrowser for help on using the repository browser.