Ticket #37796: scala2.10_Portfile.patch
File scala2.10_Portfile.patch, 1.6 KB (added by mallman (Michael Allman), 12 years ago) |
---|
-
Portfile
28 28 sha1 87f605a186aa0e4435b302fb9af575513d29249a \ 29 29 sha256 a57bc12100671253d1ebc4a993e4da1896ff39022ce70c6699986d10644ac9a1 30 30 31 depends_lib port:scala_select32 33 31 use_configure no 34 32 build {} 35 33 36 select.group scala 37 select.file ${filespath}/${name} 34 if {$subport == $name} { 35 depends_lib port:scala_select 36 select.group scala 37 select.file ${filespath}/${name} 38 } 38 39 40 set sharedir ${destroot}${prefix}/share 41 set docdir ${sharedir}/doc 42 set docscaladir ${docdir}/scala-${branch} 43 39 44 destroot { 40 set sharedir ${destroot}${prefix}/share41 45 set man1dir ${sharedir}/man/man1 42 46 set scaladir ${sharedir}/scala-${branch} 43 47 set bindir ${scaladir}/bin 44 set docdir ${sharedir}/doc45 set docscaladir ${docdir}/scala-${branch}46 48 47 49 xinstall -d -m 755 ${sharedir} 48 50 file copy ${worksrcpath} ${scaladir} … … 78 80 ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g} 79 81 } 80 82 } 83 84 subport ${name}-docs { 85 description scala API docs 86 87 distname scala-docs-${version} 88 use_xz yes 89 extract.suffix .txz 90 checksums md5 4c500dfb17786fa7b47f4083276b7155 \ 91 sha256 1bfc7b40b66bd2dd0996f35116e55205c928256858138f172ba2cde03ebbc4d7 92 93 destroot { 94 xinstall -d -m 755 ${docscaladir} 95 file copy ${worksrcpath} ${docscaladir}/api 96 } 97 }