Ticket #6645: openmcl_Portfile.diff
File openmcl_Portfile.diff, 1017 bytes (added by bfulgham@…, 19 years ago) |
---|
-
Portfile
old new 21 21 22 22 distfiles ${name}-darwinppc-all-${version}${extract.suffix} 23 23 24 set prefixpath \\\"[regsub -all / [strsed ${prefix}/share/asdf-install {g/^\///}] "\\\" \\\""]\\\" 25 24 26 checksums md5 7e8b584100d0a2b8cb438b29bd891505 \ 25 27 sha1 10e0d3922462fc11d18c334ca542b668b793bce9 26 28 … … 47 49 ${workpath}/ccl/scripts/openmcl 48 50 system "chmod +x ${workpath}/ccl/scripts/openmcl" 49 51 file copy ${workpath}/ccl/scripts/openmcl ${destroot}/${prefix}/bin 52 reinplace "s|\"usr\" \"local\" \"asdf-install\")))))|${prefixpath})))))|" \ 53 ${destroot}/${prefix}/share/${name}/${version}/tools/asdf-install/installer.lisp 54 } 55 56 post-activate { 57 # Prepare asdf install folders and so forth. 58 file mkdir ${prefix}/share/asdf-install 59 system "chgrp admin ${prefix}/share/asdf-install" 60 system "chmod g+w ${prefix}/share/asdf-install" 50 61 }