Ticket #12678: lha-doc.diff
File lha-doc.diff, 1.9 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 name lha 5 5 version 1.14i-ac20050924p1 6 revision 1 6 7 epoch 20061016 7 8 categories archivers sysutils 8 9 description Utility for creating and opening lzh archives 9 10 maintainers jc@crazic.ru 11 10 12 long_description ${description} 13 11 14 homepage http://lha.sourceforge.jp/ 12 15 set sfjpid 22231 16 13 17 master_sites http://keihanna.dl.sourceforge.jp/lha/${sfjpid}/ \ 14 18 http://qgpop.dl.sourceforge.jp/lha/${sfjpid}/ \ 15 19 http://osdn.dl.sourceforge.jp/lha/${sfjpid}/ 20 16 21 checksums md5 9f52430410928ba4390a73a41a36d56f \ 17 22 sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 \ 18 23 rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b 19 24 20 post-build { 21 system "strip ${build.dir}/src/$name" 22 } 25 configure.args --mandir=${prefix}/share/man 23 26 24 27 test.run yes 25 28 test.target check 26 29 27 destroot { 28 xinstall -m 755 -d ${destroot}/${prefix}/bin 29 file copy ${build.dir}/src/$name ${destroot}/${prefix}/bin 30 } 30 destroot.target install-strip 31 31 32 post-destroot { 33 xinstall -m 755 -d \ 34 ${destroot}${prefix}/share/doc/${name}/olddoc 35 xinstall -m 755 -d \ 36 ${destroot}${prefix}/share/doc/${name}/man 37 xinstall -m 644 -W ${worksrcpath} 00readme.autoconf ChangeLog \ 38 Hacking_of_LHa header.doc.euc \ 39 ${destroot}${prefix}/share/doc/${name} 40 foreach f {*.txt *.euc *.eng} { 41 eval xinstall -m 644 \ 42 [glob ${worksrcpath}/olddoc/${f}] \ 43 ${destroot}${prefix}/share/doc/${name}/olddoc 44 } 45 xinstall -m 644 ${worksrcpath}/man/lha.man \ 46 ${destroot}${prefix}/share/doc/${name}/man 32 post-destroot { 33 set docdir ${prefix}/share/doc/${name}-${version} 34 35 xinstall -d ${destroot}${docdir}/olddoc 36 xinstall -m 0644 -W ${worksrcpath} ChangeLog Hacking_of_LHa header.doc.euc \ 37 ${destroot}${docdir} 38 eval xinstall -m 0644 [glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] \ 39 ${destroot}${docdir}/olddoc 47 40 } 41