Changeset 97929
- Timestamp:
- Sep 20, 2012, 9:59:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-virtualenv/Portfile
r97885 r97929 9 9 set real_name virtualenv 10 10 version 1.8.2 11 revision 1 11 12 maintainers akitada openmaintainer 12 13 … … 29 30 subport py24-virtualenv { 30 31 version 1.7.2 32 revision 0 31 33 distname ${real_name}-${version} 32 34 checksums rmd160 bdd0c3ef92ed2b954ee60a4d4df31dc1c17e4b1e \ 33 35 sha256 8cbbe308ab0f446a4ceacf24b2656bedd33ea22825b0750fd079766cc6e91bf4 34 python.move_binaries no35 post-destroot {36 delete ${destroot}${prefix}/bin/virtualenv37 }38 36 } 39 37 … … 44 42 select.file ${filespath}/virtualenv${python.version} 45 43 44 # The virtualenv build process creates both virtualenv and virtualenv-${python.branch} 45 # but we only want one. We cannot keep the unsuffixed one, because by the time the port's 46 # post-destroot block runs, the portgroup's post-destroot block (which creates suffixed 47 # versions by renaming or symlinking) has already run. Therefore we will keep the 48 # suffixed one and tell the portgroup not to create its own suffixed versions. 49 python.link_binaries_suffix 50 python.move_binaries no 51 46 52 post-destroot { 53 delete ${destroot}${prefix}/bin/virtualenv 54 if {${prefix} != ${python.prefix}} { 55 delete ${destroot}${python.prefix}/bin/virtualenv 56 } 57 47 58 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} 48 59 foreach f [glob -directory ${worksrcpath}/docs *] { … … 50 61 } 51 62 } 63 64 livecheck.type none 52 65 } else { 53 66 livecheck.type regex
Note: See TracChangeset
for help on using the changeset viewer.