# $Id: Portfile 78659 2011-05-16 13:30:23Z afb@macports.org $ PortSystem 1.0 name zeroinstall-injector version 0.54 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 6cc84fe9d66dfb63a604ee618b44c51a \ sha1 b5ac5ed03373f4cc63ce6503a5e1a7e067d335a1 \ rmd160 bf435dfa5a01631f57da78a52f9fb03f3b3c418f 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