Changeset 81462
- Timestamp:
- 07/31/11 02:11:32 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/sysutils/zeroinstall-injector/Portfile
r78659 r81462 4 4 5 5 name zeroinstall-injector 6 version 0.546 version 1.2 7 7 platforms darwin freebsd linux 8 8 categories sysutils … … 21 21 master_sites.mirror_subdir zero-install 22 22 use_bzip2 yes 23 checksums md5 6cc84fe9d66dfb63a604ee618b44c51a\24 sha1 b5ac5ed03373f4cc63ce6503a5e1a7e067d335a1 \25 rmd160 bf435dfa5a01631f57da78a52f9fb03f3b3c418f23 checksums md5 4f1cb7cb2a86f0b7d01add5991af2640 \ 24 sha1 4cdef3471f50a9e249373a3f155d7453a282b241 \ 25 rmd160 e709aaeb5f0d80e281961d628cf912ecc6d57f18 26 26 27 depends_lib port:python2 5bin:gpg:gnupg28 depends_run port:py2 5-gtk port:py25-xml bin:sudo:sudo27 depends_lib port:python26 bin:gpg:gnupg 28 depends_run port:py26-gtk port:py26-xml bin:sudo:sudo 29 29 30 30 post-patch { … … 33 33 34 34 use_configure no 35 supported_archs noarch 35 36 36 build.cmd ${prefix}/bin/python2. 5setup.py37 build.cmd ${prefix}/bin/python2.6 setup.py 37 38 build.target build 38 39 39 destroot.cmd ${prefix}/bin/python2. 5setup.py40 destroot.cmd ${prefix}/bin/python2.6 setup.py 40 41 destroot.destdir --prefix=${prefix} --skip-build --root=${destroot} 41 42 42 43 post-destroot { 43 reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" \ 44 ${destroot}${prefix}/lib/python2.5/site-packages/zeroinstall/0launch-gui/0launch-gui 44 reinplace "s|/usr/bin/env python|${prefix}/bin/python2.6|" \ 45 ${destroot}${prefix}/lib/python2.6/site-packages/zeroinstall/0launch-gui/0launch-gui 46 47 # move site-packages to wherever python is looking for it 48 file mkdir ${destroot}[exec ${prefix}/bin/python2.6 -c "from distutils.sysconfig import get_python_lib; import os; print os.path.dirname(get_python_lib())"] 49 file rename ${destroot}${prefix}/lib/python2.6/site-packages \ 50 ${destroot}[exec ${prefix}/bin/python2.6 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"] 45 51 } 46 52
Note: See TracChangeset
for help on using the changeset viewer.

