Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/archivers/lha/Portfile

Revision 37188, 1.7 KB (checked in by takanori@…, 8 months ago)

lha:
- add English man page (#15302)
- remove inactive maintainer

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