Ticket #14310: libsvm-destroot.diff
File libsvm-destroot.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
26 26 build.args PREFIX=${prefix} VERSION=${libver} 27 27 28 28 destroot { 29 xinstall -m 755 ${worksrcpath}/svm-train ${destroot}${prefix}/bin 30 xinstall -m 755 ${worksrcpath}/svm-predict ${destroot}${prefix}/bin 31 xinstall -m 755 ${worksrcpath}/svm-scale ${destroot}${prefix}/bin 32 xinstall -m 644 ${worksrcpath}/libsvm.a ${destroot}${prefix}/lib 33 xinstall -m 644 ${worksrcpath}/svm.h ${destroot}${prefix}/include 34 xinstall -m 644 ${worksrcpath}/libsvm.${libver}.dylib ${destroot}${prefix}/lib 29 xinstall -m 755 -W ${worksrcpath} svm-train svm-predict svm-scale ${destroot}${prefix}/bin 30 xinstall -m 644 -W ${worksrcpath} libsvm.a libsvm.${libver}.dylib ${destroot}${prefix}/lib 31 xinstall -m 644 -W ${worksrcpath} svm.h ${destroot}${prefix}/include 35 32 36 33 ln -sf ${destroot}${prefix}/lib/${name}.${libver}.dylib \ 37 34 ${destroot}${prefix}/lib/${name}.dylib 38 35 39 36 set docs ${destroot}${prefix}/share/doc/${name} 40 37 xinstall -m 755 -d ${docs} 41 xinstall -m 644 ${worksrcpath}/COPYRIGHT ${docs} 42 xinstall -m 644 ${worksrcpath}/README ${docs} 43 xinstall -m 644 ${worksrcpath}/FAQ.html ${docs} 38 xinstall -m 644 -W ${worksrcpath} COPYRIGHT README FAQ.html ${docs} 44 39 } 45 40