Ticket #10932: lha-1.14i-ac20050924p1.patch
File lha-1.14i-ac20050924p1.patch, 2.4 KB (added by takanori@…, 18 years ago) |
---|
-
files/patch-Makefile
1 --- Makefile-orig Fri Dec 15 15:13:16 20002 +++ Makefile Wed Aug 4 18:13:51 20043 @@ -20,7 +20,7 @@4 5 #MACHINE = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC6 #MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DHAVE_TM_ZONE -DSYSV_SYSTEM_DIR7 -MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME8 +MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME -DHAVE_NO_LCHOWN9 10 #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer11 OPTIMIZE = -O2 -DSUPPORT_LH7 -DMKSTEMP -
Portfile
2 2 3 3 PortSystem 1.0 4 4 name lha 5 version 114i 5 version 1.14i-ac20050924p1 6 epoch 20061016 6 7 categories archivers sysutils 7 8 description Utility for creating and opening lzh archives 8 9 maintainers jc@crazic.ru 9 10 long_description ${description} 10 homepage http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm 11 master_sites http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ 12 checksums md5 5225884d557b91f04124693e2c5c9e94 11 homepage http://lha.sourceforge.jp/ 12 set sfjpid 22231 13 master_sites http://keihanna.dl.sourceforge.jp/lha/${sfjpid}/ \ 14 http://qgpop.dl.sourceforge.jp/lha/${sfjpid}/ \ 15 http://osdn.dl.sourceforge.jp/lha/${sfjpid}/ 16 checksums md5 9f52430410928ba4390a73a41a36d56f \ 17 sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 \ 18 rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b 13 19 14 use_configure no15 16 patchfiles patch-Makefile17 18 20 post-build { 19 21 system "strip ${build.dir}/src/$name" 20 22 } 21 23 24 test.run yes 25 test.target check 26 22 27 destroot { 23 28 xinstall -m 755 -d ${destroot}/${prefix}/bin 24 25 29 file copy ${build.dir}/src/$name ${destroot}/${prefix}/bin 26 30 } 31 32 post-destroot { 33 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/olddoc 34 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/man 35 xinstall -m 644 -W ${worksrcpath} 00readme.autoconf ChangeLog Hacking_of_LHa header.doc.euc ${destroot}${prefix}/share/doc/${name} 36 foreach f {*.txt *.euc *.eng} { 37 eval xinstall -m 644 [glob ${worksrcpath}/olddoc/${f}] ${destroot}${prefix}/share/doc/${name}/olddoc 38 } 39 xinstall -m 644 ${worksrcpath}/man/lha.man ${destroot}${prefix}/share/doc/${name}/man 40 }