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
RevLine 
[19376]1# $Id: Portfile 85942 2011-10-17 22:21:14Z ryandesign@macports.org $
[7939]2
3PortSystem 1.0
[29066]4
[31276]5name            lha
[53548]6epoch           20070826
[31276]7version         1.14i-ac20050924p1
[37188]8revision        3
[31276]9categories      archivers sysutils
[37188]10maintainers     nomaintainer
[31276]11description     Utility for creating and opening lzh archives
12long_description \
[37188]13                ${description}
[31276]14platforms       darwin
[85942]15license         Restrictive/Distributable
[31276]16homepage        http://lha.sourceforge.jp/
[37188]17master_sites   sourceforge_jp:${name}/22231
18master_sites-append macports::lha_man
19distfiles-append    lha.1.r889:lha_man
[31276]20patchfiles      patch-src_header.c.diff
[37188]21checksums       ${distname}${extract.suffix} md5 9f52430410928ba4390a73a41a36d56f \
22                                             sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 \
23                                             rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b \
24                lha.1.r889 md5 ee2d1efb86c145ba16c3dcbb1e6a3150 \
25                           sha1 9aba56d37abf9ff05df41b84164b02eb83cd5aae \
26                           rmd160 6d6e98dab3533e6c66981c41961adeec4305ad48
[29066]27
[37188]28extract.only    ${distname}${extract.suffix}
29
[29066]30configure.args  --mandir=${prefix}/share/man
[7939]31
[37188]32use_parallel_build  yes
33
[31276]34test.run        yes
35test.target     check
[20207]36
[29066]37destroot.target install-strip
38
39post-destroot {
40    set docdir ${prefix}/share/doc/${name}-${version}
[37188]41    xinstall -m 755 -d ${destroot}${docdir}/olddoc
[29066]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
[37188]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
[7939]50}
Note: See TracBrowser for help on using the repository browser.