source: trunk/dports/archivers/lha/Portfile @ 53548

Last change on this file since 53548 was 53548, checked in by ryandesign@…, 8 years ago

List the epoch before the version in the Portfile because it has a higher precedence

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 53548 2009-07-08 01:53:57Z 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
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 repository browser.