Ticket #28585: Portfile-spin.diff
File Portfile-spin.diff, 1.5 KB (added by alex_a_bordeaux@…, 14 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name spin 7 version 5.2.57 version 6.0.1 8 8 set version_no_dot [join [split ${version} .] ""] 9 9 revision 1 10 10 distname ${name}${version_no_dot} … … 20 20 21 21 homepage http://spinroot.com 22 22 master_sites http://spinroot.com/spin/Src/ 23 checksums md5 03345f9713e7b4f82d2d8ec319802b9c \ 24 sha1 274649628c0c8ae3414b863c27a1b8d98a8e9921 \ 25 rmd160 8d01f8dd0da8c8013fbb8c6d6e9a8c40b8c5f33f 26 depends_lib port:tk port:tcl 27 patchfiles patch-xspin.diff 23 checksums md5 7ece51bc605fe4a3638e427c28f44b57 \ 24 sha1 ba17b036cf95c4b4bcacbe3ba1c91312c802ff38 \ 25 rmd160 1d9bd246362f886261655b0093227b421d150af6 28 26 worksrcdir Spin/Src${version} 29 27 use_configure no 30 28 use_parallel_build no 31 29 32 set xspin_dir Xspin5.233 set xspin_name xspin525.tcl34 35 pre-patch {36 file rename ${worksrcpath}/../${xspin_dir}/${xspin_name} ${worksrcpath}/../${xspin_dir}/xspin37 }38 39 post-patch {40 reinplace "s,@prefix@,${prefix},g" ${worksrcpath}/../${xspin_dir}/xspin41 }42 30 43 31 build.target "" 44 32 build.args CC="${configure.cc} -DNXT" \ … … 49 37 ${destroot}${prefix}/share/man/man1 50 38 xinstall -m 0755 ${worksrcpath}/${name} \ 51 39 ${destroot}${prefix}/bin 52 xinstall -m 0755 ${worksrcpath}/../${xspin_dir}/xspin \53 ${destroot}${prefix}/bin54 40 }