# $Id: Portfile 77131 2011-03-20 16:53:17Z afb@macports.org $ PortSystem 1.0 name zeroinstall-injector version 0.52 platforms darwin freebsd linux categories sysutils license LGPL maintainers afb description The Zero Install Injector (0launch) long_description \ The Zero Install Injector makes it easy for users to install software without \ needing root privileges. It takes the URL of a program and runs it (downloading \ it first if necessary). Any dependencies of the program are fetched in the same \ way. The user controls which version of the program and its dependencies to \ use. homepage http://0install.net master_sites sourceforge master_sites.mirror_subdir zero-install use_bzip2 yes checksums md5 781002a02e8516e61d369c40c53f6b46 \ sha1 aad722561a55358a360a0dddf99118974dca741e \ rmd160 fdf667e9b0f051769d5eff2e901e4f49a3d445d1 depends_lib port:python25 bin:gpg:gnupg depends_run port:py25-gtk port:py25-xml bin:sudo:sudo post-patch { reinplace "s|'man/man1'|'share/man/man1'|" ${worksrcpath}/setup.py } use_configure no build.cmd ${prefix}/bin/python2.5 setup.py build.target build destroot.cmd ${prefix}/bin/python2.5 setup.py destroot.destdir --prefix=${prefix} --skip-build --root=${destroot} post-destroot { reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" \ ${destroot}${prefix}/lib/python2.5/site-packages/zeroinstall/0launch-gui/0launch-gui } livecheck.name zero-install livecheck.distname injector