# $Id: Portfile 53044 2009-06-28 19:58:31Z afb@macports.org $

PortSystem 1.0

name		zeroinstall-injector
version		0.41.1
platforms	darwin freebsd linux
categories	sysutils
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 98a77cf3432199dfe0b6bbb951883f1d \
		sha1 a55b7a4fc87df0421e14c25e58b1632508d654b0 \
		rmd160 0b8bd09c51cf3c3650fb1fabb211f7320e17877f

depends_lib	port:python25 bin:gpg:gnupg
depends_run	port:py25-gtk port:py25-xml bin:sudo:sudo

patchfiles	patch-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}

livecheck.name	zero-install
livecheck.distname	injector
